Commit Graph

1109 Commits

Author SHA1 Message Date
claudiosmweb d3f09d45b0 fixed some coding standards in includes/class-wc-form-handler.php 2014-02-07 16:35:30 -02:00
claudiosmweb e0b729d273 fixed the indentation in includes/class-wc-form-handler.php 2014-02-07 16:27:07 -02:00
claudiosmweb 0f5faa4a77 fixed undefined username variable in myaccount register using registration generate username as true 2014-02-07 16:26:51 -02:00
claudiosmweb 18ca7c4d2f fixed the indentation in includes/wc-conditional-functions.php 2014-02-07 15:57:17 -02:00
claudiosmweb a9f1d47a11 fixed docblock for meta_is_product_attribute() function, closes #4668 2014-02-07 15:56:58 -02:00
claudiosmweb 7dd98549d9 updated the WC_Order version to 2.1.0 2014-02-07 15:55:30 -02:00
claudiosmweb 93b5678617 fixed some coding standards in includes/class-wc-order.php 2014-02-07 15:55:07 -02:00
claudiosmweb 1c13e994de fixed the indentation in includes/class-wc-order.php 2014-02-07 15:41:28 -02:00
claudiosmweb 0d9752c04b fixed docblock for WC_Order::get_formatted_line_subtotal, closes #4667 2014-02-07 15:41:09 -02:00
claudiosmweb bcf88933c6 fixed docblock for WC_API_Customers::query_customers, closes #4666 2014-02-07 15:39:40 -02:00
claudiosmweb bfe3020897 removed unused global vars in WC_Report_Coupon_Usage::output_report, closes #4665 2014-02-07 15:37:31 -02:00
claudiosmweb 617b6b07ae fixed some coding standards in includes/abstracts/abstract-wc-product.php 2014-02-07 15:35:45 -02:00
claudiosmweb 6758bab16a fixed the indentation in includes/abstracts/abstract-wc-product.php file 2014-02-07 15:31:25 -02:00
claudiosmweb 35b5614972 fixed docblock for WC_Product::get_children(), closes #4664 2014-02-07 15:31:00 -02:00
Ewout Fernhout fe8335bbaf fixes date display on customer list page 2014-02-07 15:50:11 +01:00
Mike Jolley 1ea1bb1a09 Translation credits 2014-02-07 13:06:20 +00:00
Mike Jolley dc80dfdd3b Inline note for #4655 2014-02-07 11:43:34 +00:00
Mike Jolley 4790e16812 Leaner code for getting terms 2014-02-07 11:39:37 +00:00
Mike Jolley 65cfc420a1 Code standards, and check orderby, not fields 2014-02-07 11:38:57 +00:00
Mike Jolley 4383a7b0a1 Merge pull request #4658 from Spreeuw/master
include product_id for extended customization of wc_add_to_cart_message
2014-02-07 10:11:29 +00:00
Mike Jolley 545441b2e3 Multiple attribute for email box Closes #4659 2014-02-07 10:10:50 +00:00
Ewout Fernhout df773f520e include product_id for extended customization of wc_add_to_cart_message 2014-02-06 20:24:34 +01:00
Mike Jolley 2dd73acb9d Context for checkout string Closes #4646 2014-02-06 15:46:18 +00:00
Mike Jolley a2b5086b24 Merge pull request #4648 from kloon/master
Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter
2014-02-06 15:43:07 +00:00
Coen Jacobs 5d70dae52f Introducing post taxonomy init hook 2014-02-06 14:32:25 +01:00
Gerhard 435257bc95 Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter 2014-02-06 15:00:00 +02:00
Mike Jolley 65ca1753ae woocommerce_products_will_display improvements #4644
- Reduced number of conditionals required.
- Broken the massive category query into a loop which can break before
checking all cats
- Used a transient to further optimise the category check
2014-02-06 09:21:47 +00:00
Mike Jolley 8d52b8d243 No class exist check needed for files included once #4616 2014-02-05 15:02:30 +00:00
Mike Jolley 2448a19545 Don't return class, just construct it. Use static methods #4616 2014-02-05 15:02:02 +00:00
Mike Jolley 9c56637def Include_once during install and call the static to load taxonomies early. #4616 2014-02-05 15:01:30 +00:00
Mike Jolley 875694e2eb Fix array sum and out of base subtotals 2014-02-05 11:45:26 +00:00
Coen Jacobs 60f04ee3b4 Merge pull request #4638 from woothemes/simple_fee_tax_calculation
Tax total for fees added to total fees
2014-02-05 12:32:25 +01:00
Coen Jacobs b5ad68ff2a Remove unused total fee tax variable 2014-02-05 12:31:23 +01:00
Coen Jacobs 3d7c2fc297 Tax fees should respect tax rates too 2014-02-05 12:30:47 +01:00
Coen Jacobs c9d39bcc8b Tax total for fees are already flattened 2014-02-05 12:03:56 +01:00
Mike Jolley 0c2b1f430c Don't check for post_type for product query, and don't force the post_type variable as it should already be set. #4626 2014-02-04 13:44:18 +00:00
Mike Jolley e453e6f17d After tax coupons * qty Closes #4625 2014-02-04 13:35:04 +00:00
Mike Jolley ad84eea2f7 Ensure coupons get totalled when prices exclude tax. Closes #4604 2014-02-03 15:29:44 +00:00
Mike Jolley e3cc5931ba Merge pull request #4614 from claudiosmweb/clp_currency
CLP currency
2014-02-03 03:50:57 -08:00
claudiosmweb 077f6d5d9c fixed the CLP name 2014-02-01 13:00:57 -02:00
claudiosmweb 91ec6e62a0 fixed some coding standards in includes/wc-core-functions.php 2014-02-01 12:58:56 -02:00
claudiosmweb 32b772272c added clp currency 2014-02-01 12:55:58 -02:00
Mikel Martin ffa74e4f65 [ADD] Colombian Peso 2014-01-31 19:16:56 +01:00
Mike Jolley 9222e6a854 woocommerce_coupon_options Hook breaks custom options - used in 2 places. May have been mistake 2014-01-31 14:48:23 +00:00
Mike Jolley eef21fa53a Merge pull request #4603 from thenbrent/master
Fix rounding bug with pre-tax product % coupon
2014-01-31 04:47:56 -08:00
Mike Jolley 0d0bdc340c Merge pull request #4601 from maxrice/master
Fix potential fatal error when fetching orders via API
2014-01-31 04:46:36 -08:00
thenbrent f2a0e4bcdd Remove dup discount calculation 2014-01-30 21:54:33 -08:00
toddlahman 13c24b410e Removed (document).ready from jQuery scripts
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
thenbrent 390afe9f90 Fix rounding bug with pre-tax product % coupon 2014-01-30 12:50:58 -08:00
Max Rice 0b2cc1df28 Fix potential fatal error when fetching orders via API 2014-01-30 15:41:21 -05:00
Mike Jolley 274e78512e Store POST to variable for paypal 2014-01-30 14:47:11 +00:00
Mike Jolley 531ba9ad34 Clean meta values in paypal gateway 2014-01-30 14:47:11 +00:00
Mike Jolley 189271e610 Validate the currency code sent back by paypal 2014-01-30 14:47:11 +00:00
James Koster 006541ae03 tweaked mijireh getting started message 2014-01-29 17:42:59 +00:00
Mike Jolley 4abcc331dd Ensure stock status is set for variations after setting to 0 Closes #4587 2014-01-29 14:39:55 +00:00
Alex Bain 49f935dd8b Enhancing nocache helper
* Adding support for DONOTCACHEOBJECT
* Adding support for DONOTCACHEDB
2014-01-28 10:26:01 -08:00
Mike Jolley ad17813e70 Merge pull request #4590 from toddlahman/master
Removed urldecode from $_GET and $_REQUEST and Removed (document).ready from wc_print_js()
2014-01-28 09:58:59 -08:00
toddlahman 5432d3ac56 Revert "Moved woocommerce_round_tax_total() to Formatting"
This reverts commit 1f7ba8867e.
2014-01-28 09:47:46 -08:00
Mike Jolley 6f3e8c182e Ensure gateways get loaded prior to emailing out Closes #4577 2014-01-28 12:36:20 +00:00
Mike Jolley 663bf25d79 Merge pull request #4569 from helgatheviking/master
add apply_filters to the product filters on the edit.php screen
2014-01-28 04:21:33 -08:00
Mike Jolley 8f2b9afe93 Check for the term object 2014-01-28 12:13:19 +00:00
Mike Jolley 239d673646 Change featured image notation to product Closes #4586 2014-01-28 11:58:20 +00:00
Mike Jolley 39344f2ed5 Allow gateways to change the checkout place order button text on selection. Closes #4573 2014-01-28 11:25:57 +00:00
Mike Jolley bd76784f97 Merge pull request #4583 from emzo/product-short-description-editor-settings
Filter to allow modification of wp_editor settings for product short description
2014-01-28 03:05:21 -08:00
Kathy Darling 77f5e9cf1d Merge branch 'master' of github.com:woothemes/woocommerce 2014-01-27 19:02:31 +01:00
Emyr Thomas fdc1d81814 Add 'woocommerce_product_short_description_editor_settings' filter to allow modification of the settings for the wp_editor in the product short description meta-box. 2014-01-27 14:23:58 +00:00
Roman Peshkov 16391b7185 Added check that product has been requested in WC_Query.product_query.
When requesting taxonomy term archive for your custom post type and that
taxonomy is shared with product post type, post_type query variable gets
rewritten.
2014-01-27 16:54:21 +04:00
toddlahman 33f2c5b4cd Removed (document).ready from wc_print_js()
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-26 19:37:03 -08:00
Mike Jolley f2ac6df16c check for default Closes #4571 2014-01-26 13:59:10 +00:00
Mike Jolley 9d55ede6b1 Merge pull request #4568 from maxrice/rest-api-fixes
More REST API tweaks
2014-01-26 04:33:02 -08:00
toddlahman 2725527d4a Removed urldecode from $_GET and $_REQUEST
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.

See Notes:

http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
toddlahman 1f7ba8867e Moved woocommerce_round_tax_total() to Formatting
woocommerce_round_tax_total() is not actually a deprecated function. In
WC 2.0, the round() method was used from the WC_Tax class.

Moved woocommerce_round_tax_total() from wc-deprecated-functions.php to
wc-formatting-functions.php.
2014-01-26 00:35:07 -08:00
splashingpixels 8f5bf6dde7 Replaced deprecated jQuery live methods with on 2014-01-24 10:34:48 -08:00
Kathy Darling bf06494efc add apply_filters to the product filters on the edit.php screen 2014-01-24 14:50:04 +01:00
Max Rice f17a52fd3a Make customer data for orders endpoint consistent for guest orders
Simply returning ‘guest’ for the customer property changes the data
type of the response from a dictionary to string which is bad for
clients that should be able to always expect a dictionary. This commit
fixes that by using the same dictionary structure as registered
customer orders, but excluding fields which aren’t applicable. Clients
can determine guest vs. registered customer orders by inspecting the
value of customer ID, which is 0 for guest orders.
2014-01-23 16:38:08 -05:00
Max Rice ac1cd5d23d Fix API keys permissions bug
When API keys were generated for the first time, the permissions
weren’t set, which required an additional save before they were set.
This commit fixes this to set `read` permissions by default when
initially generating API keys.

Part of #4055
2014-01-23 16:24:16 -05:00
Mike Jolley 1a416875f8 Format prices when using quick edit 2014-01-22 15:36:29 +00:00
Mike Jolley 3958a40b06 No span for checkbox descriptions 2014-01-22 15:27:42 +00:00
Mike Jolley 986f612bf7 tidy up checkbox output 2014-01-22 15:22:58 +00:00
Mike Jolley 15ba1030d6 Merge pull request #4561 from helgatheviking/fix/duplicate-label-for-settings-checkbox
fix for #4547
2014-01-22 07:03:23 -08:00
Mike Jolley f46e6aefd7 Only show taxes in cart when taxes are enabled 2014-01-22 14:10:11 +00:00
Mike Jolley e04fafcba9 Correctly total and loop fee taxes Closes #4559 2014-01-22 14:10:11 +00:00
Kathy Darling f93abb7acb fix for #4547 2014-01-22 13:54:25 +01:00
Geert De Deckere 2dc22a1416 Fix filter name for WC styles in deprecation notice 2014-01-22 09:42:51 +01:00
Mike Jolley 4fb500fad9 Merge pull request #4554 from claudiosmweb/fix_shop_order_columns
Fix warning in order list screen
2014-01-21 15:41:36 -08:00
Mike Jolley fe83cfcbff Merge pull request #4550 from maxrice/rest-api-top-sellers-endpoint
API: Add top sellers endpoint
2014-01-21 15:39:37 -08:00
Mike Jolley fc4f813f71 Merge pull request #4552 from claudiosmweb/fix_4549
Hotfix for #4549
2014-01-21 15:39:30 -08:00
claudiosmweb b60629e9b4 fixed some coding standards in includes/admin/reports/class-wc-report-sales-by-category.php 2014-01-21 20:14:26 -02:00
claudiosmweb b717bca380 fixed the indentation in includes/admin/reports/class-wc-report-sales-by-category.php 2014-01-21 20:11:05 -02:00
claudiosmweb 43e86f3e28 added a placeholder to select in category widget on reports page 2014-01-21 20:10:40 -02:00
claudiosmweb 7e3268b7f0 fixed some coding standards in includes/admin/post-types/class-wc-admin-cpt-shop_order.php 2014-01-21 19:04:09 -02:00
claudiosmweb 9518cfdd31 fixed the indentation in includes/admin/post-types/class-wc-admin-cpt-shop_order.php 2014-01-21 18:52:07 -02:00
claudiosmweb ed938f85d3 fixed the order notes tooltip 2014-01-21 18:51:52 -02:00
claudiosmweb ae1c837e36 fixed some coding standards in includes/admin/reports/class-wc-report-coupon-usage.php 2014-01-21 18:23:42 -02:00
claudiosmweb 655bd20da1 fixed the indentation in includes/admin/reports/class-wc-report-coupon-usage.php 2014-01-21 18:20:35 -02:00
claudiosmweb 90373836bb fixed empty coupons select in reports page, fixes #4549 2014-01-21 18:20:13 -02:00
Max Rice 37c9434492 API: Add top sellers endpoint
Part of #4055
2014-01-21 14:53:47 -05:00
Max Rice 49bacc6be3 Tweak code formatting 2014-01-21 14:07:22 -05:00
Mike Jolley 0ceb0d194b Include admin functions for less complier on install. Closes #4527 2014-01-21 11:24:48 +00:00
Mike Jolley f33c6a0970 Merge pull request #4539 from kloon/master
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes
2014-01-21 03:14:27 -08:00