Commit Graph

2968 Commits

Author SHA1 Message Date
Patrick Rauland c6635d84e3 capitalizing the update translation button 2014-09-25 15:41:18 -06:00
Loushou a37ea4976b new filter for adding custom 'action buttons' on the order_items metabox in the admin edit order screen
loushou
2014-09-24 17:41:13 -07:00
justinstern 26806660d4 include original $quantity with
woocommerce_add_to_cart_solid_individually_quantity filter
2014-09-24 16:54:15 -04:00
justinstern b1c9db3282 Adds a woocommerce_add_to_cart_sold_individually_quantity filter
Additional control over the quantity added when a product is "sold
individually"
2014-09-24 16:38:52 -04:00
mgiulio ae728acc63 Use wc_get_order in simplify-commerce 2014-09-24 17:30:14 +02:00
Mike Jolley 1c9331737e Minor tweaks to cart shortcode 2014-09-24 15:26:53 +01:00
Mike Jolley 416d167842 Merge pull request #6380 from haroldkyle/master
[2.2] Remove notice for undefined action property of ajax request
2014-09-24 14:44:57 +01:00
Mike Jolley 06f82686eb [2.2] and test, use term_taxonomy_id for transient names 2014-09-24 14:22:02 +01:00
Harold Kyle 2bf2485910 remove notice for undefined action property of ajax request 2014-09-24 09:12:26 -04:00
Mike Jolley 744549ad13 [2.2] Use variation get_stock_quantity() for max_qty
Fixes #6339
2014-09-24 11:15:56 +01:00
Mike Jolley b8bcb5ee6e Removed deprecated methods from WC_Frontend_Scripts and rewrote script registration and localization to run once.
Closes #6338
2014-09-24 10:57:39 +01:00
Patrick Rauland 4df8fca1bd using WC_Email send method for all WC emails 2014-09-23 11:02:00 -06:00
Patrick Rauland 71c60d6b64 removing all isntances of abstract from the WC_Email class 2014-09-23 10:20:28 -06:00
Patrick Rauland 1498198215 renaming and moving abstract-wc-email file 2014-09-23 10:12:43 -06:00
claudiosmweb 2a255de172 changed the LESS compiler to SCSS compiler #5606 2014-09-22 15:30:07 -03:00
Mike Jolley 53ea10a897 Merge pull request #6352 from NickIvanter/patch-1
Allow WC_Order to be constructed w/o Order ID
2014-09-22 14:38:27 +01:00
Mike Jolley 229d9135ef Prevent errors when country field is disabled
Fixes #6336
2014-09-22 13:23:31 +01:00
Nick Ivanter 3fcae6e63f Allow WC_Order to be constructed w/o Order ID
This was allowed in WooCommerce 2.1 and some plugins rely on this behavior. Also, there seems to be no downside, as the parent class WC_Abstract_Order similarly doesn't require an Order ID at construction.
2014-09-22 14:58:18 +04:00
Mike Jolley a91c74d794 Merge pull request #6309 from quadshot/before-oi-meta
filter for adding info before order item itemmeta in order metabox
2014-09-22 10:36:48 +01:00
Mike Jolley 0aca8e01f8 Merge pull request #6305 from quadshot/line-buttons
filter to allow custom 'add line' buttons
2014-09-22 10:23:46 +01:00
Mike Jolley 506a66b3a4 Merge pull request #6342 from axisthemes/ASBPATH-2
Absolute path should have curly braces
2014-09-22 10:21:05 +01:00
Mike Jolley 4e99e629f5 Merge pull request #6341 from axisthemes/ASBPATH
Absolute path should have curly braces
2014-09-22 10:20:59 +01:00
Mike Jolley 84c3e18a60 Merge pull request #6345 from Ninos/createaccount
Checkout - createaccount value check
2014-09-22 10:20:51 +01:00
Mike Jolley e42d4b24da Merge pull request #6333 from quadshot/save-order-items
Inform plugins of 'save_order_items'
2014-09-22 10:18:00 +01:00
Ninos Ego 966f6f1bad createaccount value check 2014-09-21 20:45:42 +02:00
shivapoudel ae3bc4051f Absolute path, Indentation & docblocks fix for includes/admin/meta-boxes/*.php :) 2014-09-21 01:50:06 +05:45
shivapoudel a318f9dae2 Absolute path and Indentation fix for includes/admin/reports/*.php :) 2014-09-21 01:43:32 +05:45
shivapoudel ab52b93592 Absolute path and Indentation fix for includes/admin/settings/*.php :) 2014-09-21 01:40:47 +05:45
shivapoudel 8c211705ca Absolute path and Indentation fix for includes/admin/importers/*.php :) 2014-09-21 01:39:24 +05:45
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
shivapoudel 11a1be6b12 Absolute path and Indentation fix for includes/shipping/*.php :) 2014-09-21 01:29:32 +05:45
shivapoudel bc5156ff4a Absolute path and Indentation fix for includes/gateways/*.php :) 2014-09-21 01:27:58 +05:45
shivapoudel fedb4dae7c Absolute path and Indentation fix for includes/widgets/*.php :) 2014-09-21 01:22:45 +05:45
shivapoudel e1eb62aa8e Absolute path and Indentation fix for includes/walkers/*.php :) 2014-09-21 01:20:47 +05:45
shivapoudel f170f461b3 Absolute path and Indentation fix for includes/updates/*.php :) 2014-09-21 01:19:50 +05:45
shivapoudel e53539f447 Indentation and new lines fix for includes/shortcodes :) 2014-09-21 01:18:32 +05:45
shivapoudel d2272cd79b Absolute path and Indentation fix for includes/libraries/class-cssmin.php :) 2014-09-21 01:17:11 +05:45
shivapoudel 5e09f15c91 Absolute path and Indentation fix for includes/emails/*.php :) 2014-09-21 01:15:40 +05:45
shivapoudel c60ce1ec93 Absolute path fix for REST API v1 2014-09-21 01:12:54 +05:45
shivapoudel e6f6bcf368 Absolute path fix for REST API v2 2014-09-21 01:09:20 +05:45
shivapoudel e28e31fe63 Absolute path fix for wc-term-functions.php 2014-09-21 00:56:49 +05:45
shivapoudel f4fd45a3cc Absolute path fix for wc-template-hooks.php 2014-09-21 00:56:09 +05:45
shivapoudel 8884266bac Absolute path fix for wc-template-functions.php 2014-09-21 00:55:45 +05:45
shivapoudel 58595f0f2b Absolute path fix for wc-order-functions.php 2014-09-21 00:55:04 +05:45
shivapoudel 60e4250ba6 Absolute path fix for wc-notice-functions.php 2014-09-21 00:54:43 +05:45
shivapoudel 893e1e508c Absolute path fix for wc-formatting-functions.php 2014-09-21 00:54:16 +05:45
shivapoudel 60fb5595aa Absolute path fix for wc-deprecated-functions.php 2014-09-21 00:53:35 +05:45
shivapoudel ddb8c62618 Absolute path fix for wc-coupon-functions.php 2014-09-21 00:52:35 +05:45
shivapoudel 5eaa138d21 Absolute path fix for wc-core-functions.php 2014-09-21 00:52:11 +05:45
shivapoudel 1f9ba73b96 Absolute path fix for wc-conditional-functions.php 2014-09-21 00:51:46 +05:45
shivapoudel eab625e185 Absolute path fix for wc-cart-functions.php 2014-09-21 00:51:15 +05:45
shivapoudel 5ab2bdcca4 Absolute path fix for wc-attribute-functions.php 2014-09-21 00:49:38 +05:45
shivapoudel 3a38fba2b0 Absolute path fix for class-wc-webhook.php 2014-09-21 00:48:51 +05:45
shivapoudel 03c3e27c5d Indendation fix by .editorconfig 2014-09-21 00:47:51 +05:45
shivapoudel 961f147d18 Absolute path fix for class-wc-shipping.php 2014-09-21 00:46:02 +05:45
shivapoudel 2200a3ae2e Absolute path fix for class-wc-session-handler.php 2014-09-21 00:44:26 +05:45
shivapoudel 922e74e984 Absolute path fix for class-wc-query.php 2014-09-21 00:43:54 +05:45
shivapoudel 1f4db18e7f Absolute path fix for class-wc-product-variation.php 2014-09-21 00:43:30 +05:45
shivapoudel 26d4abb88c Absolute path fix for class-wc-product-variable.php 2014-09-21 00:42:58 +05:45
shivapoudel f81f670a06 Absolute path fix for class-wc-product-simple.php 2014-09-21 00:42:32 +05:45
shivapoudel 3fc03a184d Absolute path fix for class-wc-product-grouped.php 2014-09-21 00:42:09 +05:45
shivapoudel a3d4d87ca5 Remove newline 2014-09-21 00:41:34 +05:45
shivapoudel f60444c969 Absolute path fix for class-wc-product-external.php 2014-09-21 00:40:53 +05:45
shivapoudel 5f05a78669 Line and indendation fix 2014-09-21 00:39:33 +05:45
shivapoudel 73b1185375 Removed newline ;) 2014-09-21 00:36:42 +05:45
shivapoudel 3addd725e7 Added newline ;) 2014-09-21 00:36:01 +05:45
shivapoudel a4ec52f788 Absolute path fix for class-wc-install.php 2014-09-21 00:35:02 +05:45
shivapoudel b94c4cc0a2 Added newline ;) 2014-09-21 00:33:04 +05:45
shivapoudel 342d3186db Found and fix indendation for multiline comments for class-wc-coupon.php :) 2014-09-21 00:31:22 +05:45
shivapoudel b4abca1c82 Found and fix indendation for multiline comments :) 2014-09-21 00:29:22 +05:45
shivapoudel 96df6bd961 Absolute path fix for WC_API class 2014-09-21 00:27:10 +05:45
shivapoudel 303a5b28d0 Absolute path fix for abstract classes :) 2014-09-21 00:24:49 +05:45
splashingpixels bf9c1689fb revised quick-edit featured product option not able to unselect 2014-09-19 10:49:26 -07:00
Loushou 1252db79f8 changed filter name to be past tense for clarity
loushou
2014-09-19 09:08:54 -07:00
Loushou becdc0977d filter to inform other plugins that order items have been saved in the admin
loushou
2014-09-19 08:57:02 -07:00
Mike Jolley 80d4a73f52 Added acceptance marks to PayPal Standard where applicable to replace generic PayPal icon. 2014-09-19 16:55:14 +01:00
Loushou 0f8c8886e0 adding the after
loushou
2014-09-19 08:34:34 -07:00
Loushou 09159f83c7 removing extra param and correcting whitespace 2014-09-19 08:05:25 -07:00
Mike Jolley 4803937222 Fix adding items to orders
* Fix - When manually adding items to an order, show tax columns.
* Fix - When manually adding items to an order, include variation data.

Closes #6313
2014-09-19 12:52:26 +01:00
Mike Jolley 08cf7c7406 Check order exists before sending
Closes #6310
2014-09-19 12:23:29 +01:00
Mike Jolley 8f62f00f4d Fix - When bulk editing, don't allow sale price to be negative.
Fixes #6325
2014-09-19 12:18:07 +01:00
Mike Jolley 1fb8582acf Merge pull request #6320 from ryanstockau/master
Fix infinite redirect loop on cart page
2014-09-19 10:57:25 +01:00
Mike Jolley fe3ee67b4f Merge pull request #6301 from anagio/master
Small grammar edit to template notice
2014-09-19 10:44:01 +01:00
Nicola Mustone 46689ce083 Fixing order notes date 2014-09-19 09:55:16 +02:00
Nicola Mustone 8a7ed9a053 Fixing currency position in reports 2014-09-19 09:23:58 +02:00
Ryan Stock 4998f88dc5 Fix infinite redirect loop on cart page
Fix for issue #6319:
https://github.com/woothemes/woocommerce/issues/6319
2014-09-19 13:24:31 +10:00
claudiosmweb 8c0ddfcb02 fixed admin post type filters, closes #6312 2014-09-18 17:10:02 -03:00
Loushou f17bb56891 filter to allow custom 'add line' buttons
loushou
2014-09-18 09:05:42 -07:00
Loushou f0c4b80113 filter for adding info before order item itemmeta in order metabox
loushou
2014-09-18 08:55:13 -07:00
Loushou 76f3049751 adding a method to allow default billing information in order metabox
loushou
2014-09-18 08:33:49 -07:00
anagio c1ba19991f Small grammar edit to template notice 2014-09-18 09:34:21 -04:00
Mike Jolley dd6fa30c3d Fix redirect on paginated search results
Fixes #6281
2014-09-18 13:23:00 +01:00
Mike Jolley 28e13bdab3 Add notice when order is no longer editable.
Closes #6298
2014-09-18 11:32:25 +01:00
Mike Jolley 579ec4ee0c Totals in taxes by date report.
Fixes #6299
2014-09-18 10:28:45 +01:00
Mike Jolley a092fce0c2 Ensure product exists in API call
Fixes #6288
2014-09-17 17:23:04 +01:00
Mike Jolley 8e35bbf0ba Clear transients for new parent when saving a grouped product. Closes #6278 2014-09-17 14:18:43 +01:00
Mike Jolley 493285f101 When updating order status, ensure its a valid WC order status.
Fixes #6285
2014-09-17 12:24:10 +01:00
Mike Jolley 1b68406202 Merge pull request #6284 from ragulka/rating-count-value
Allow getting rating count for a specific rating value
2014-09-17 12:05:45 +01:00
Mike Jolley 1d3b7a52c1 Improved headers sent notice to include file and line. 2014-09-17 11:40:54 +01:00
Mike Jolley 09a59a5e7e Prevent errors when adding 'zero-rated' tax on checkout. 2014-09-17 11:40:54 +01:00
Barry Kooij 06103c6cd2 Fixed a varation product width inheritance bug. 2014-09-17 11:00:14 +02:00
Illimar Tambek fb19f5b9c5 Improve naming & comments 2014-09-17 11:27:43 +03:00
Illimar Tambek 386011ffae Allow getting rating count for a specific rating number 2014-09-17 11:03:10 +03:00
claudiosmweb 8719910441 Fixed WooCommerce submenu in multisites
reported in
https://wordpress.org/support/topic/error-message-in-multi-site-from-223

@mikejolley
2014-09-16 19:03:50 -03:00
Mike Jolley 955f497dd7 Prevent headers being sent by wp_send_json()
Fixes #6244
2014-09-16 13:24:05 +01:00
Barry Kooij 72c6f262f1 Width should be allowed to be set in a Product Variation. 2014-09-16 14:02:26 +02:00
Barry Kooij b1daae5d0d Setup variable to prevent a notice if no variable data is set. 2014-09-16 13:21:09 +02:00
Mike Jolley d6c1643a12 Merge pull request #6266 from maxrice/fix-6255
Use `note` for creating/updating order with customer note
2014-09-16 10:51:37 +01:00
Mike Jolley ce1236bd95 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2014-09-16 10:48:46 +01:00
Mike Jolley a3b522aff8 Prepare update queries. 2014-09-16 10:45:28 +01:00
Mike Jolley 6dd8b11762 Fixed minor XSS issue on reports screens by escaping and sanitizing 'range' GET variable. 2014-09-16 10:33:47 +01:00
claudiosmweb 6a0d5ebf0c Fixed number of processing orders display
Reported in
http://wordpress.org/support/topic/number-of-processing-orders-missing-from-left-panel

Cannot use wc_get_order_type() before wc_register_order_type()

@mikejolley
2014-09-15 23:32:34 -03:00
claudiosmweb 8464ad0b17 improved the WC_Admin_Post_Types::media_view_strings() 2014-09-15 22:10:20 -03:00
claudiosmweb 89a0c82b54 fixed "Set product image" media gallery title in non-product post type, closes #6267 2014-09-15 19:09:25 -03:00
Max Rice 445aaa78f9 Use `note` for creating/updating order with customer note
Fixes #6255
2014-09-15 14:44:11 -04:00
claudiosmweb f9454b7c3b fixed the decimal format in wc_save_order_items() for taxes, close #6253 2014-09-15 14:03:14 -03:00
Barry Kooij 9723ed8096 Added settings sub title styling 2014-09-15 17:47:01 +02:00
Mike Jolley 41362ab60c Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2014-09-15 16:38:32 +01:00
Mike Jolley 75eb07c974 Fix paypal mobile checkout. Closes #6165 2014-09-15 16:38:07 +01:00
Barry Kooij a93b107e55 removed unused default 2014-09-15 17:30:15 +02:00
claudiosmweb db8a07a8b8 removed "or" in favor to "||" 2014-09-15 10:57:46 -03:00
Mike Jolley d2fc731d4e Merge pull request #6258 from shivapoudel/patch-2
Some changes in WC_Cart
2014-09-15 09:46:20 +01:00
Mike Jolley 82bab9d71d Merge pull request #6245 from 75nineteen/master
Fix duplication in Ship to Multiple Locations ext
2014-09-15 09:44:31 +01:00
Shiva Poudel 0b58d335b8 Reverted access public
Thanks! @tamarazuk
2014-09-15 08:17:19 +05:45
Shiva Poudel 6e58c45196 @access public in docblock 2014-09-15 01:40:24 +05:45
Shiva Poudel 40fe9ffd2f check_cart_item_validity() should have have public 2014-09-15 01:37:51 +05:45
Shiva Poudel 40ec40a411 Found and fix docblock comment 2014-09-15 01:35:22 +05:45
Shiva Poudel 8e09892064 better at get_option() @ L91 2014-09-15 01:33:13 +05:45
Shiva Poudel a4f6b0f9f9 Converted Indentations to tabs 2014-09-15 01:29:56 +05:45
Shiva Poudel f829e53a96 New line for docblock 2014-09-15 01:24:50 +05:45
Shiva Poudel ccf15ff06b Better docblock ;) 2014-09-15 01:22:48 +05:45
Shiva Poudel cf421b1c12 OOPS! again time constant 2014-09-15 01:18:46 +05:45
Shiva Poudel a2ab230efb Use of time constant 2014-09-15 01:17:14 +05:45
Shiva Poudel 1e7a3ae6d3 indendation Improvement for WC_Cart 2014-09-15 01:14:32 +05:45
claudiosmweb b47e649e6a Improved the translation update messages
When is multisite shows only the button for download directly
If not is multisite will show the button for make the download with the
WordPress update system and the button to download directly
And added a new button to hide the update message

@mikejolley
2014-09-12 19:32:21 -03:00
claudiosmweb dc0122a4d6 Created method for install the translations directly
This will download the package directly from Github and install using
WP_Filesystem()

@mikejolley
2014-09-12 18:55:50 -03:00
75nineteen Media 8b48fc4267 Fix duplication in Ship to Multiple Locations ext
This should solve the issues related to multiple locations getting
duplicated costs.
2014-09-12 11:11:40 -04:00
Mike Jolley 857f85fd8e Merge pull request #6242 from chrisnharvey/patch-1
Fixing typo with get_error_message being referenced as a property
2014-09-12 14:20:36 +01:00
Mike Jolley 59ef851302 Readme for #6243 2014-09-12 14:18:11 +01:00
Chris Harvey 4d72eedae2 Checking password reset key using phpass 2014-09-12 14:03:39 +01:00
claudiosmweb 066eb3c5b0 fixed wc_get_order_status_name() appear as wc 2.1 order status 2014-09-12 10:01:49 -03:00
Chris Harvey 4a8ad5f09d Fixing typo with get_error_message being referenced as a property 2014-09-12 13:36:17 +01:00
Mike Jolley aee2b62c85 Added woocommerce_get_settings_ID filters.
Closes #6231
2014-09-12 12:20:06 +01:00
Mike Jolley 79ce7ab926 If a refund fails, delete refund post.
Fixes #6238
2014-09-12 10:09:26 +01:00
Mike Jolley accd20aaae Merge pull request #6235 from woothemes/6226-fix-order-fields-on-checkout
Dynamically get the address fields in WC_Checkout::create_order()
2014-09-12 09:41:33 +01:00
Mike Jolley ec5cce06e5 Merge pull request #6239 from vlandfair/patch-1
Minor Fix: Fixed Product Tag Arguments
2014-09-12 09:35:12 +01:00
Mike Jolley 5b3b855377 Merge pull request #6233 from shivapoudel/patch-2
Fix with $ for Colombian Peso
2014-09-12 09:34:28 +01:00
Mike Jolley ec28795a4e Merge pull request #6232 from shivapoudel/patch-1
Fix some issues with Currency code for NPR
2014-09-12 09:33:47 +01:00
Vadonis Landfair 1b8ef82d21 Minor Fix: Fixed Product Tag Arguments
Product Tags are labeled as non-hierarchical, but they are labeled with hierarchical labels instead of non-hierarchical labels. On the back-end everything shows up and works as intended. WordPress just ignores the mislabeled args and uses the correct ones by default. Always good to follow register_taxonomy() args :p.
2014-09-11 23:57:43 -05:00
claudiosmweb a84021306e fixed some coding standards in includes/admin/class-wc-admin-settings.php 2014-09-11 21:40:30 -03:00