Commit Graph

8155 Commits

Author SHA1 Message Date
Akeda Bagus 86de4e10e1 Typo fix. 2014-04-29 15:02:43 +01:00
Christian Thomas ede8bc1a2a Update class-wc-emails.php
Check for a value against each meta item before outputting.
2014-04-29 15:02:38 +01:00
Akeda Bagus e4a959e397 Removes unused block and var.
There's duplicate block that does the same thing, but assigning to different variable.
On the end only the last variable is used, which is `$username`.
2014-04-29 15:02:29 +01:00
claudiosmweb 92707eaf55 fixed coding standards in includes/admin/post-types/class-wc-admin-cpt-product.php 2014-04-29 15:02:03 +01:00
claudiosmweb 8ae788f73c added method to stop save duplicate sku in quick edit 2014-04-29 15:01:32 +01:00
splashingpixels 8f5a98583a removed wc_clean/sanitize_text_field not needed. handled by wp core functions fixes #5318 2014-04-29 15:01:21 +01:00
Bass Jobsen 06af53bd8c Update class-wc-frontend-scripts.php
See also https://github.com/bassjobsen/wp-defer-loading/issues/14 prettyPhoto-init is not only dependent of jquery, but also of prettyPhoto. The dependency of prettyPhoto is not set.
2014-04-29 15:00:46 +01:00
Max Rice 0e127a3e10 Update REST API documentation link 2014-04-29 14:59:12 +01:00
Mike Jolley 64ebb7c0eb Prevent duplicate admin menu items Closes #5380 2014-04-29 14:03:16 +01:00
Mike Jolley 116476c45b Merge pull request #5390 from jjeaton/locate-template-comment
Update comment to reflect that parameter template_name for wc_get/locate...
2014-04-29 12:22:36 +01:00
Mike Jolley 77f298661e Merge pull request #5388 from mkayan-wakefly/patch-1
RE issue: #5387 - Update class-wc-checkout.php
2014-04-29 12:22:27 +01:00
Josh Eaton 3d8daf7054 Update comment to reflect that parameter template_name for wc_get/locate_template() only accepts strings
Fixes #5389
2014-04-28 16:04:21 -04:00
mkayan-wakefly 84f531f848 Update class-wc-checkout.php
Recalculating the cart totals, in the event a user registers during checkout and in doing so qualifies for any discounts
2014-04-28 14:20:45 -04:00
Mike Jolley 746b79a49d Merge pull request #5384 from tamarazuk/patch-1
Add action filter in inventory product data
2014-04-28 16:01:35 +01:00
Mike Jolley 3e1d5feaf3 Merge pull request #5353 from tamarazuk/backorder-variations
Backorders at variation level
2014-04-28 15:27:36 +01:00
Mike Jolley 01d7e70168 Merge pull request #5386 from splashingpixels/gateway-cod
gateway COD added instructions to email closes #5385
2014-04-28 14:49:24 +01:00
splashingpixels 945d4bedc6 gateway COD added instructions to email closes #5385 2014-04-27 21:17:40 -07:00
tamarazuk 44d197cde0 Another action hook in Inventory product data tab
allow plugins to create a new options_group in this tab
2014-04-27 19:25:07 -04:00
tamarazuk 47baf952e6 Add action filter in inventory product data
Allows plugins to add meta fields after stock status/backorders even if woocommerce_manage_stock is turned off.
2014-04-27 16:18:58 -04:00
Mike Jolley ca9955fa9a Update stock amounts with DB queries Closes #5367
@claudiosmweb and @coenjacobs please review
2014-04-25 15:28:02 +01:00
Mike Jolley bf553381b9 Merge pull request #5374 from claudiosmweb/fix-cod-in-pay-for-order-page
Improved the COD
2014-04-25 12:34:14 +01:00
Mike Jolley 3d8f7963df Update abstract docblock 2014-04-25 12:33:14 +01:00
Mike Jolley 34db5d68b6 Don't sanitise rate ID - breaks utf8 chars
Fixes #5376
2014-04-25 12:31:58 +01:00
Mike Jolley d168686478 Added brackets 2014-04-25 12:31:58 +01:00
Mike Jolley cd4bf515b7 Merge pull request #5375 from claudiosmweb/4820-feature-translate-edit-address-slugs
Make possible to translate the edit-address endpoint slugs
2014-04-25 10:46:14 +01:00
Mike Jolley 02acbfa07e 1 filter rather than 2 Closes #5361 2014-04-25 10:43:30 +01:00
Mike Jolley 630eeb4945 Merge pull request #5373 from claudiosmweb/5237-feature-max-transaction-amount
Feature maximum transaction amount for payment gateways
2014-04-25 10:20:54 +01:00
Mike Jolley 0e1fcbda64 Abstract product constructor
Check for numeric $product, and expand the checking to see if its
passed a post object. Fixes #5341
2014-04-25 10:19:00 +01:00
Mike Jolley fa70e5a8e0 Merge pull request #5377 from mgmartel/decimal-validation-negative
Fix decimal validation JS in order admin
2014-04-25 09:41:58 +01:00
Mike Martel 6918602002 Updated minified woocommerce_admin JS 2014-04-25 09:29:21 +02:00
Mike Martel dc1271ce19 Cleanup indentation in woocommerce_admin.js
File mixed tabs and spaces. Converted all spaces to tabs.
2014-04-25 09:28:35 +02:00
Mike Martel 5b81c7f320 Allow negative amount in price field validation
The price field validation method in the admin js did not allow negative numbers, which are valid as eg. negative fees.
2014-04-25 09:28:35 +02:00
Mike Martel e0dc31620b Bind price and decimal input events to body in woocommerce_admin js
The event was bound to the element directly, causing problems when the elements was added after dom ready (through ajax). Now the decimal format check will always take place.
2014-04-25 09:28:35 +02:00
claudiosmweb 79a8986f06 added the possibility to translate the edit-address endpoint slugs, closes #4820 2014-04-24 18:18:41 -03:00
claudiosmweb fe467282cd improved the get_order_total() method 2014-04-24 15:49:41 -03:00
claudiosmweb d7e26d993c added method to check if order needs shipping in "pay for order" page 2014-04-24 15:33:14 -03:00
claudiosmweb 64a40c8657 removed not defined $wp variable in favor to get_query_var() function 2014-04-24 15:03:33 -03:00
claudiosmweb 4ac0b28537 updated the method to get the order id from "pay for order" page 2014-04-24 14:52:17 -03:00
claudiosmweb 47d14e9df3 updated the WC_Payment_Gateway class to set a maximum transaction amount, closes #5237 2014-04-24 14:39:20 -03:00
Mike Jolley 3d584bc09a Ignore variation stock if disabled globally Closes #5370 2014-04-24 16:44:01 +01:00
Mike Jolley 6efbf89cd3 [2.2] Hide COD for virtual orders (no shipping) Closes #5369 2014-04-24 16:37:31 +01:00
Mike Jolley 558a7bbe25 Recount true when recounting terms Fixes #5320 2014-04-24 16:09:03 +01:00
Mike Jolley 9c37d83f11 Let get_file get the first file if no ID is defined
#5296
2014-04-24 16:00:35 +01:00
Mike Jolley 5862bfb2fe Allow saving no downloads, if unset
#5296
2014-04-24 16:00:17 +01:00
Mike Jolley 9b873093eb Check has_file when sending order emails for downloadables
Fixes #5296
2014-04-24 16:00:01 +01:00
Mike Jolley a6a65a2a9d typecast $used_by to array in case its not set. Closes #5350 2014-04-24 15:26:38 +01:00
Mike Jolley da8015a49c Merge pull request #5338 from ragulka/thankyou-filters
Introduce `woocommerce_thankyou_order_received_text` filter
2014-04-24 15:21:50 +01:00
Mike Jolley 5d872918d6 Change the way order review data is appended to checkout to reduce likelihood of error
Fixes #5332
2014-04-24 15:08:38 +01:00
Mike Jolley bf0fafa17b If billing email is not set and user ID is set, use email
Fixes #5356
2014-04-24 14:45:57 +01:00
Mike Jolley a6a44a3959 URL decode when viewing order attributes to prevent taxonomies not being found
Closes #5315
2014-04-23 16:24:05 +01:00