Claudio Sanches
efb6c0d430
Merge pull request #9941 from frozzare/docs/admin-wc-tax-rate-importer
...
Improve phpdoc comments in WC_Tax_Rate_Importer class
2016-01-04 18:40:40 -02:00
Mike Jolley
ae42781027
extra escaping in search
2016-01-04 19:14:18 +00:00
Mike Jolley
e4e4428343
Speed up numeric order searches
...
Closes #9942
2016-01-04 18:58:14 +00:00
Fredrik Forsmo
749a09c64a
Improve phpdoc comments in WC_Tax_Rate_Importer class
2016-01-04 17:07:23 +01:00
Kathy Darling
70778ad575
filter the variable product attribute dropdown html
2016-01-04 10:31:43 -05:00
Claudio Sanches
40d76ddc55
Merge pull request #9939 from frozzare/docs/abstract-wc-widget
...
Improve phpdoc comments for methods in abstract WC_Widget class
2016-01-04 12:59:32 -02:00
Fredrik Forsmo
513db93bd4
Improve phpdoc comments for methods in abstract WC_Widget class
2016-01-04 15:37:12 +01:00
Fredrik Forsmo
39f37b1e30
Improve phpdoc comments for methods in abstract WC_Shipping_Method class
2016-01-04 15:18:14 +01:00
Fredrik Forsmo
450ae6e7fd
Improve phpdoc comments and add missing param tags
2016-01-04 12:43:56 +01:00
Mike Jolley
520f1de24b
Merge pull request #9932 from frozzare/wc-order-phpdoc
...
Fix phpdoc tags for methods in abstract WC_Order class
2016-01-04 11:08:45 +00:00
Mike Jolley
68c2ffa475
Merge pull request #9933 from frozzare/docs/wc-payment-gateway
...
Add better phpdoc comments and missing param and return value
2016-01-04 11:07:10 +00:00
Mike Jolley
5aac7062e5
thumbnail size
...
Closes #9928
2016-01-04 10:46:11 +00:00
Mike Jolley
9890c18b5d
Notice if called early.
...
Closes #9923
2016-01-04 10:43:51 +00:00
Fredrik Forsmo
9c8ef67249
Add better phpdoc comments and missing param and return value
2016-01-03 10:22:53 +01:00
Fredrik Forsmo
b4a04a73ce
Fix phpdoc tags for methods in abstract WC_Order class
2016-01-03 10:00:02 +01:00
Mike Jolley
8b9bdbb228
Product version storage to invalidate cache when needed
...
#9922 for @daigo75
2015-12-31 16:31:20 +00:00
Mike Jolley
7c7e21be50
Only use the 'function' portion when generating price hashes
...
Keeps hashes the same after page load when a plugin uses a class method
callback or anonymous function Closes #9922 @claudiosmweb
2015-12-31 16:21:12 +00:00
Mike Jolley
429fee1703
JSON instead of serialise should reduce storage size
...
#9922
2015-12-31 13:15:01 +00:00
Andrew Benbow
d4f4e7625c
Correct a to an
...
SSL is pronounced "es es el" and so requires an not a, see Use 6 here http://www.englishpage.com/articles/a-vs-an.htm
2015-12-29 20:35:13 +00:00
Mike Jolley
03ba8539f6
Stop coupon logic when 0 is hit so coupons can apply to other lines
...
Fixes #9870
2015-12-29 13:16:43 +00:00
Claudio Sanches
3cbe88082f
Fixed simplify commerce admin notices position, closes #9911
2015-12-28 16:07:05 -02:00
Mike Jolley
c1b8a20d39
Order attributes by name
...
Closes #9879
2015-12-27 21:32:55 +00:00
Mike Jolley
1eb9f83f77
Hide attributes and shipping classes from quick edit
...
Closes #9882
2015-12-24 12:16:02 +00:00
Mike Jolley
0b678ab2af
Tweak save logic to set _price for variables/groups via sync functions only
...
Closes #9892
2015-12-23 13:08:45 +00:00
Mike Jolley
9db40dcda0
Merge remote-tracking branch 'origin/master'
2015-12-23 12:51:06 +00:00
Mike Jolley
4bf40cedb1
Tweak logic
2015-12-23 12:50:28 +00:00
Mike Jolley
9a700f8b48
Merge pull request #9891 from capuderg/master
...
Added a filter for disabling automatic redirect to the setup wizard
2015-12-23 12:32:51 +00:00
Peter
00341a30b3
Revert "[API] Additional hooks in API Orders"
...
This reverts commit fb798aca49
.
2015-12-22 23:55:03 +01:00
Peter
fb798aca49
[API] Additional hooks in API Orders
...
Add some additional hooks to handle custom order data
The new hooks:
woocommerce_api_create_order_item
woocommerce_api_set_order_addresses
woocommerce_api_set_line_item
The new woocommerce_api_create_order_item action contains the id-s of the new items ($new_item_id). The following functions have to be returned the item id-s to be able to pass them to the filter:
* set_item(..) function - return $item_id;
* set_line_item(..) function - return $item_id;
* set_shipping(..) function - return $shipping_id;
* set_fee(..) functuion - return $fee_id;
* set_coupon(..) functuion - return $coupon_id;
2015-12-22 23:49:01 +01:00
Caleb Burks
bedcedcc3d
Sanitize the shipping tax class
2015-12-22 08:59:42 -06:00
Gregor Capuder
f785561f5f
Added a filter for disabling automatic redirect to the setup wizard, after plugin activation.
2015-12-22 12:03:31 +01:00
Peter
458c755b5f
Update abstract-wc-order.php
...
If the order has no shipping line, there must not generate an unnecessary shipping tax line with 0 value. It was happened if there is set a different tax class for shipping than tax classes of the actual product line items of the order, and the order has not got any shipping line.
The aim is to have the same tax calculation behavior if we create orders using the GUI (front end or back end), and the API.
This condition prevents to create the unnecessary tax line if there is no shipping methods of the order:
// Now calculate shipping tax
$matched_tax_rates = array();
$shipping_methods = $this->get_shipping_methods();
if ( ! empty( $shipping_methods ) ) {
......
}
This conditional solution is similar than calc_line_taxes() in WC_AJAX class:
// Get shipping taxes
if ( isset( $items['shipping_method_id'] ) ) {
.....
}
2015-12-21 23:42:59 +01:00
Claudio Sanches
997d1caa50
Fixed several new variations admin actions, closes #9886
2015-12-21 03:36:36 -02:00
Claudio Sanches
a81f0f6eea
Use blockui while saving taxes
2015-12-19 12:12:31 -02:00
Claudio Sanches
7adafc77c9
[API] Improved product attribute terms params
2015-12-18 21:39:30 -02:00
Claudio Sanches
d85c643150
[API] Delete tax rates when deleting a tax class
2015-12-18 20:46:28 -02:00
Claudio Sanches
b8a6090d05
[API] Fixed tax rate id type
2015-12-18 19:15:56 -02:00
Claudio Sanches
032265b1ed
[API] Fixed build taxes return
2015-12-18 19:08:09 -02:00
Claudio Sanches
89581d1541
Setup Wizard and no Onboarding Wizard
2015-12-18 17:05:16 -02:00
Mike Jolley
8cde0cbcb1
Merge pull request #9876 from reigelgallarde/patch-1
...
adding $loop_name to woocommerce_shortcode_products_query filter
2015-12-18 11:57:01 +00:00
Mike Jolley
bf06b6d7c3
Filter non-images from gallery
...
Fixes #9875
2015-12-18 11:55:51 +00:00
Reigel Gallarde
f8dd887001
Update class-wc-shortcodes.php
...
adding $loop_name to woocommerce_shortcode_products_query filter.. so that we have a way to add a filter to a specific shortcode that uses product_loop.
2015-12-18 13:43:03 +09:00
Mike Jolley
c7e104115f
unused code
2015-12-17 12:58:02 +00:00
Claudio Sanches
c04443c2d3
Added upgrade script for #9868
...
cc @mikejolley
2015-12-17 08:30:06 -02:00
Claudio Sanches
b2712d6ae8
Merge pull request #9868 from shivapoudel/lao-kip-symbol
...
Updated the currency code for 'Lao Kip'
2015-12-17 08:13:32 -02:00
Claudio Sanches
b03280e230
[API] Manage product order_menu, closes #9866
2015-12-17 08:08:17 -02:00
Nicola Mustone
7ed6eb2cb9
typo
2015-12-17 08:23:58 +01:00
Shiva Poudel
4146558fd6
Updated the currency code for 'Lao Kip'
...
See: https://en.wikipedia.org/wiki/ISO_4217
2015-12-17 11:52:38 +05:45
Claudio Sanches
f7ef9c0cec
[API] Stop unset things in API
2015-12-16 16:46:31 -02:00
Claudio Sanches
55e4ef50b9
[API] Fixed errors and improved edit product categories endpoint
2015-12-16 16:44:41 -02:00
Claudio Sanches
ee990de153
[API] Fixed errors and improved create product category endpoint
2015-12-16 16:35:46 -02:00
Claudio Sanches
e097ff7b56
Oops
2015-12-16 14:25:11 -02:00
Claudio Sanches
b2eadf0322
Better way to handle currency symbols
...
cc @mikejolley
2015-12-16 13:23:44 -02:00
Mike Jolley
8aec02f625
Remove shipping select box option, tidy up logic and add filters from #9797
...
closes #9797
2015-12-16 13:00:16 +00:00
Mike Jolley
9aee0ac1cb
Functions and filters to determine which coupons need product and cart validation rules.
...
Closes #9854
2015-12-16 11:47:56 +00:00
Mike Jolley
992f1176bd
wc_get_template_part filter should always run regardless of whether a matching template was found.
...
Closes #9851
2015-12-16 11:28:34 +00:00
Fulvio Notarstefano
d7d70298c5
#9857 change get_class to
2015-12-16 14:25:17 +08:00
Claudio Sanches
c001d5b274
Make tooltips consistent, closes #9856
2015-12-16 03:38:53 -02:00
Claudio Sanches
b7b6254bf4
[CLI] Added docs about product reviews fields
2015-12-15 15:36:57 -02:00
Claudio Sanches
bba6bdd6ea
[CLI] Updated delete product description
2015-12-15 15:20:11 -02:00
Claudio Sanches
7d7be633a6
[CLI] Added docs about product category fields
2015-12-15 15:11:21 -02:00
Mike Jolley
195101bbe9
Merge remote-tracking branch 'origin/master'
2015-12-15 16:42:02 +00:00
Mike Jolley
05783272a2
Merge branch 'exensible-addons-screen'
2015-12-15 16:41:56 +00:00
Bryce Adams
ff5caa85b7
Update URL used to get add-on sections
...
Related to https://github.com/Automattic/woothemes.com/pull/47
2015-12-15 12:20:02 +11:00
Max Rice
655089b162
Fix checkout result notice
2015-12-14 20:15:22 -05:00
Claudio Sanches
67773e2338
[CLI] Fixed order update description
2015-12-14 19:48:34 -02:00
Claudio Sanches
ce360bc9b5
[CLI] Improved order delete command description
2015-12-14 19:34:13 -02:00
Claudio Sanches
9450151b16
[CLI] Fixed customer command descriptions and updated order delete description
2015-12-14 19:30:19 -02:00
Claudio Sanches
e22724bf95
[CLI] Updated create order descriptions and removed order_number
2015-12-14 19:26:04 -02:00
Claudio Sanches
28d27bf2c0
[CLI] Updated some command descriptions
2015-12-14 18:55:20 -02:00
Claudio Sanches
9b5020efff
[CLI] Added customer downloads fields docs
2015-12-14 18:32:04 -02:00
Claudio Sanches
2bc58f431a
[CLI] Updated update coupons options description
2015-12-14 18:13:53 -02:00
Mike Jolley
d515ddaaed
Merge pull request #9798 from JeroenSormani/admin-order-item-hooks
...
Add hooks after order line items in admin
2015-12-14 12:50:54 +00:00
Mike Jolley
3e2df95968
Merge remote-tracking branch 'origin/master'
2015-12-14 12:48:26 +00:00
Mike Jolley
f992f98b39
Merge branch 'pr/9790'
2015-12-14 12:48:11 +00:00
Mike Jolley
4b45812bac
Only one sanitise hook is needed
2015-12-14 12:48:03 +00:00
Mike Jolley
7ce6e2f1ab
Merge pull request #9820 from pmgarman/processing-order-counts-filter
...
Add filter to remove admin menu order counts
2015-12-14 12:43:14 +00:00
Mike Jolley
05ee7b2a91
Merge pull request #9782 from tjuris/master
...
use float values for price filter when taxes are not included in prices
2015-12-14 12:42:11 +00:00
Mike Jolley
f3d6ce3c94
Round total discount to precision
...
Fixes #9834
2015-12-14 12:06:39 +00:00
Manos Psychogyiopoulos
5597a2750b
orphaned variations cause "failed to load results" issue
2015-12-12 16:37:32 +02:00
Manos Psychogyiopoulos
2a6a26f800
allow searching from predefined set and introduce search limit
...
Makes it possible to search from a pre-defined set of known ids without returning all results, avoiding an excessive amount of product instantiations with large result sets.
2015-12-12 14:28:45 +02:00
Claudio Sanches
1a17c0f404
Merge branch 'master' of github.com:woothemes/woocommerce
2015-12-11 01:59:05 -02:00
Claudio Sanches
91e5381262
[API] Added order_key in orders response, closes #9823
2015-12-11 01:58:24 -02:00
Luan Cuba
9a52cc3abd
It should be "character" instend of "charactrer".
2015-12-10 17:51:50 -02:00
Patrick Garman
0fa0c20520
Add filter to remove admin menu order counts
...
On large sites this query can easily take 6-10 seconds to complete, slowing the entire dashboard down.
2015-12-10 13:40:41 -06:00
Mike Jolley
77714623cf
Remove post type archive title on front page
...
Closes #9812
2015-12-10 10:42:56 +00:00
Claudio Sanches
987b93c87e
Changed (Untitled) to (no title) #9806
2015-12-09 16:28:34 -02:00
Claudio Sanches
2a5b785e50
Show (Untitled) in settings when payment method don't have title
...
Fixed some coding standards too.
Closes #9806
2015-12-09 15:11:59 -02:00
Claudio Sanches
33abd146b5
Fixed translatable strings in WC_Webhook::deliver_ping()
...
cc @mikejolley
2015-12-09 13:20:53 -02:00
Claudio Sanches
4b52c0d052
Added Kenyan shilling currency
2015-12-09 13:06:54 -02:00
Claudio Sanches
586b656d07
Better translate strings for #9799
2015-12-09 12:11:48 -02:00
Claudio Sanches
6a41f4d5b8
Merge pull request #9796 from shivapoudel/select2-ver
...
Updated select2 version to register script
2015-12-09 11:45:58 -02:00
Mike Jolley
60b76f0b97
https://github.com/woothemes/woocommerce/pull/9801
2015-12-09 11:41:18 +00:00
Mike Jolley
cc68cd48c5
Use post-thumbnail size to avoid srcsets
...
Closes #9795
2015-12-09 11:36:09 +00:00
Mike Jolley
496eb3385e
srcset sometimes is false.
2015-12-09 10:29:41 +00:00
JeroenSormani
0bc4089ea7
Add hooks after order line items in admin
2015-12-09 09:29:32 +01:00
Shiva Poudel
df0b6eb9d5
Updated select2 version to register script
2015-12-09 13:15:46 +05:45
Claudio Sanches
5653f63275
Added Multibyte String in System Status
...
Closes #9789
cc @mikejolley
2015-12-08 14:38:36 -02:00
Shiva Poudel
afd3aa2fc7
Let the additional third party widgets create and sanitize form fields
2015-12-08 16:19:49 +05:45
Claudio Sanches
441530f54e
Do not espace maxlength and use the same html for password fields #9786
2015-12-07 21:53:39 -02:00
Claudio Sanches
26097b6e99
Escape attributes for #9786
2015-12-07 21:48:54 -02:00
Claudio Sanches
b82d670a61
Merge pull request #9786 from pelmered/master
...
Add support for number field in woocommerce_form_field()
2015-12-07 21:45:46 -02:00
Claudio Sanches
ff637abb7b
Removed duplicated argument for PHP 7, closes #9788
2015-12-07 17:36:18 -02:00
Peter Elmered
44df7c1c34
Re-added password type attribute
2015-12-07 18:06:02 +01:00
Claudio Sanches
f53af82c34
[API] Show API version in index
2015-12-07 14:54:29 -02:00
Claudio Sanches
f4168e8fcc
Updated API version
2015-12-07 14:54:14 -02:00
Peter Elmered
d624196924
Added support for number field in woocommerce_form_field()
2015-12-07 17:28:10 +01:00
Peter Elmered
d18e5da09d
Removed unnecessary duplication in woocommerce_form_field()
2015-12-07 17:25:45 +01:00
Mike Jolley
61c3e74d4f
srcset should not be set to 'false'
2015-12-07 11:57:02 +00:00
Tanel Jüris
0f18b5f269
use float values for price filter when taxes are not included in prices
2015-12-07 13:04:10 +02:00
Mike Jolley
dd2fe6ff49
Make WC_Abstract_Order::update_status() return boolean
...
closes #9777
2015-12-07 10:12:17 +00:00
Mike Jolley
f183df1b13
Remove line breaks
2015-12-07 10:01:44 +00:00
Mike Jolley
eb0a5e1d87
Merge pull request #9770 from woothemes/issue/9769-set-current-gateway-php-fatal
...
Avoid PHP errors when setting the current gateway.
2015-12-07 10:00:44 +00:00
Mike Jolley
38df188848
Merge pull request #9778 from ardalann/patch-1
...
Corrected @see comments
2015-12-07 09:47:12 +00:00
Coen Jacobs
bae582e3ff
End function requires variable to prevent strict standards errors
...
Just a temporary variable that is only used to pass an actual variable
to the PHP end function (as that takes a reference as argument). This
prevents strict standard errors.
2015-12-07 08:10:19 +01:00
ardalann
52436a093c
Corrected @see comments
2015-12-06 20:03:40 -07:00
Jeff Stieler
9635f244de
Avoid PHP errors when setting the current gateway.
2015-12-04 18:17:33 -07:00
Shiva Poudel
88d7713a86
Modified checkbox class value from widefat
2015-12-05 05:26:28 +05:45
Shiva Poudel
69d6a25f5e
Refactor to format the value based on widget settings type
2015-12-05 05:25:51 +05:45
Claudio Sanches
b31e15e48b
Fixed docblock versions
2015-12-04 21:18:06 -02:00
Claudio Sanches
d15c711855
Merge branch 'master' of github.com:woothemes/woocommerce
2015-12-04 21:17:47 -02:00
Max Rice
3befe1426f
Introduce WC_Product::get_id() method
2015-12-04 15:17:25 -05:00
Claudio Sanches
92582e21cb
Properly sanitize textarea field for widgets #9762
2015-12-04 17:14:42 -02:00
Claudio Sanches
0f5c70e33f
Merge pull request #9762 from shivapoudel/widget-textarea
...
Added textarea widget form field
2015-12-04 17:14:12 -02:00
Claudio Sanches
11ce0fb18c
[API] Added endpoint to allow delete product attribute terms
2015-12-04 17:01:49 -02:00
Claudio Sanches
4d57d6f4db
[API] Added endpoint to allow edit product attribute terms
2015-12-04 16:53:17 -02:00
Claudio Sanches
20efee8cd4
[API] Added endpoint to create product attribute terms
2015-12-04 16:38:17 -02:00
Claudio Sanches
1d0d2258d0
[API] Created method to get a single product attribute term
2015-12-04 16:14:57 -02:00
Claudio Sanches
b530449774
[API] Created method to get product attribute terms
2015-12-04 16:02:31 -02:00
Claudio Sanches
a7cfcddd95
Created wc_attribute_taxonomy_name_by_id() function
2015-12-04 16:02:07 -02:00
Shiva Poudel
b3cd28e323
Added textarea widget form field
2015-12-04 21:23:19 +05:45
Mike Jolley
1c364e79e4
Enforce min and max
...
Closes #9761
2015-12-04 14:53:25 +00:00
Claudio Sanches
d01f1eea3c
Fixed webhook "Delete Permanently" link
...
cc @mikejolley
2015-12-04 12:41:35 -02:00
Claudio Sanches
805ac71cf3
Merge branch 'master' of github.com:woothemes/woocommerce
2015-12-04 12:39:22 -02:00
Claudio Sanches
fe9320ffa3
[2.4] Fixed webhook trash link by allowing post type ui, closes #9759
2015-12-04 12:39:12 -02:00
Mike Jolley
1b5af9e188
Output the wp.template instead of passing in
2015-12-04 14:28:32 +00:00
Mike Jolley
6cb11d5cc0
Use wc_get_template_html
2015-12-04 13:39:57 +00:00
Mike Jolley
2c023a2847
Pass the wp.template to the script and append so its added to the page once when needed
2015-12-04 13:26:44 +00:00
Mike Jolley
885dab8efc
wc_get_template_html - New helper to get the html from a template file
2015-12-04 13:26:24 +00:00
Mike Jolley
bcdce81606
Ping webhook delivery URL on save and show errors
...
Closes #9751 @claudiosmweb
2015-12-04 12:47:30 +00:00
Mike Jolley
9f53a2bf25
Merge pull request #9754 from pmgarman/add-virtual-filter
...
Allow WC_Product::is_virtual() to be filtered
2015-12-04 11:54:16 +00:00
Mike Jolley
948a8f5c47
Filters for loop add to cart
...
Closes #9753
2015-12-04 11:50:37 +00:00
Patrick Garman
eb3dc97df9
Add filter to WC_Product::is_virtual()
2015-12-03 20:52:27 -05:00
Claudio Sanches
54f714e184
[API] Introduces expand filter for orders
...
Show full products, taxes and coupons data.
Usage: ?filter[expand]=products,taxes,coupons
Closes #9551
cc @mikejolley
2015-12-03 19:05:37 -02:00
Job Thomas
a16de4d334
Edit/add campaign parameters to all links in the help tab (and change the medium from Wizard to Help)
2015-12-03 17:37:41 +02:00
Job Thomas
396d18a799
Editing campaign parameters Onboarding Wizard
2015-12-03 17:24:23 +02:00
Mike Jolley
60a7d034b1
Sample addon data
2015-12-03 14:04:36 +00:00
Mike Jolley
10490d640c
No notices
2015-12-03 13:42:58 +00:00
Mike Jolley
177892b9c3
Refactored the addons screens to use new json files
2015-12-03 13:38:13 +00:00
Mike Jolley
4cf699ed0a
Update coupon label
...
Closes #9748
2015-12-03 12:02:04 +00:00
Mike Jolley
2b96721550
Merge branch 'pr/9743'
2015-12-03 10:52:00 +00:00
Mike Jolley
ef98a2d79c
Compare type
2015-12-03 10:51:07 +00:00
Mike Jolley
12db1d4637
Notify users of no variations but leave status as is.
...
Closes #9713
2015-12-03 10:14:00 +00:00
Mike Jolley
8f951d449a
Only fade in image if variation has children
2015-12-03 09:58:37 +00:00
Mike Jolley
d585e65e5a
Use cache and invalidation for taxes
...
Closes #9712
2015-12-02 15:53:54 +00:00
Mike Jolley
2fce99759a
[2.4] Ensure numeric
2015-12-02 15:53:54 +00:00
Claudio Sanches
112f3bfc32
Merge pull request #9723 from shivapoudel/widget-field-class
...
Added support for class in each widget fields
2015-12-02 13:40:41 -02:00
Claudio Sanches
aa5e928dc1
Fixed coding standards, code blocks and properly escape WC_Embed methods
2015-12-02 11:04:12 -02:00
Claudio Sanches
37d7dcb396
Prevent erros when unregister shipping methods, closes #9740
2015-12-02 10:46:14 -02:00
Mike Jolley
37fb4d435a
Merge remote-tracking branch 'origin/master'
2015-12-02 12:42:17 +00:00
Mike Jolley
350078b779
Merge branch 'pr/9708'
2015-12-02 12:42:09 +00:00
Mike Jolley
5fccf41771
Only show rating if rated
2015-12-02 12:37:43 +00:00
Mike Jolley
20afa89528
Add to cart for simple products only
2015-12-02 12:36:56 +00:00
Mike Jolley
1842f8e3b5
Basic styles and buttons, including functional cart button
2015-12-02 12:29:47 +00:00
Mike Jolley
1300307d40
Use full short description rather than excerpt
2015-12-02 12:03:04 +00:00
Claudio Sanches
f954886635
[2.4] Fix SKU slash madness in quick edit #9721
2015-12-02 09:52:16 -02:00
Mike Jolley
869dee2726
No need for rating HTML as we have no styling
2015-12-02 11:50:41 +00:00
Mike Jolley
328a84d278
Floatval to get rid of stray decimals
2015-12-02 11:46:51 +00:00
Mike Jolley
4b87b0fbdc
[2.4] Fix SKU slash madness
...
Fixes #9721
2015-12-02 11:22:11 +00:00
Mike Jolley
520192e6a9
[2.4] Sanity check for min/max quantity
...
Fixes #9733
2015-12-02 10:44:41 +00:00
Shiva Poudel
2881587c44
Don't use key as default class
2015-12-02 15:47:57 +05:45
Claudio Sanches
2529bd2a4c
[API] Allow query endpoints with all status, closes #9738
2015-12-01 22:35:25 -02:00
Claudio Sanches
0b789ed216
[2.4] [API] Fixed early order status change
...
Closes #9672
2015-12-01 20:04:17 -02:00
Claudio Sanches
3e355ef538
[2.4] [API] Delete product parent transients
...
Closes #9595
2015-12-01 19:26:35 -02:00
Claudio Sanches
c68501f666
[2.4] [API] Fixed backorders edit for variations
...
closes #9618
2015-12-01 19:14:41 -02:00
Claudio Sanches
89d177a48b
[2.4] [API] Fixed status when have an invalid timestamp
...
Change status from 200 to 401
Closes #9737
2015-12-01 18:30:53 -02:00
Claudio Sanches
4aee3da335
Merge pull request #9731 from mitogh/master
...
Update conditionals in order to follow WP Standards
2015-12-01 16:36:59 -02:00
Claudio Sanches
497cde1a96
Merge pull request #9732 from WPprodigy/breadcrumbs-fix
...
Fix breadcrumbs for taxonomies
2015-12-01 16:05:33 -02:00
Job Thomas
e91b5362ed
Replacing support.woothemes.com by woothemes.com/my-account/tickets to decrease attention to support.woothemes.com and get people to the right place in one go
2015-12-01 17:46:03 +02:00
Caleb Burks
f53b9924c6
Fix breadcrumbs for taxonomies
2015-12-01 01:31:11 -06:00
mitogh
52a37b3a1f
Update conditionals to follow Yoda style
2015-11-30 22:18:58 -06:00
mitogh
44dabb9d73
Update conditionals to use:
...
- Yoda conditional style:
https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
- And use of strict comparisons
2015-11-30 22:02:00 -06:00
Patrick Rauland
56d06d868e
removing comments entirely & replacing with product rating - for product embeds
2015-11-30 15:58:23 -07:00
Patrick Rauland
e65d2a3376
removing unused get_product call in embed class
2015-11-30 14:37:01 -07:00
Patrick Rauland
d36828c38c
adding correct version numbers to embed class
2015-11-30 14:35:11 -07:00
Patrick Rauland
169dbb192c
removing methods preventing cloning or otherwise manipulating the class since the whole class is static
2015-11-30 14:33:18 -07:00
Mike Jolley
2e553cf220
Show order refunds in totals
...
Fixes #9589 @claudiosmweb
2015-11-30 15:25:48 +00:00
Mike Jolley
b5a2c2a9d5
Unify all order email tables to use a single template
...
Closes #9587
@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00:00
Mike Jolley
fd9dac0f20
Revised get_cart_contents_weight and get_cart_contents_count
...
Closes #9656
2015-11-30 13:12:12 +00:00
Mike Jolley
3b409f1bbf
For coupons with category restrictions, respect the category hierarchy.
...
Closes #9704
2015-11-30 12:29:16 +00:00
Mike Jolley
7fef09dd87
Fix notice in flat rate
2015-11-30 12:15:49 +00:00
Mike Jolley
5f940f7877
Send status headers to prevent 404s on wc-ajax
...
Fixes #9703
2015-11-30 12:10:31 +00:00
Mike Jolley
77a54fdd68
Use ids for flat rate shipping class costs and handle bw compat
...
Closes #9715
2015-11-30 11:15:19 +00:00
Shiva Poudel
532c1f9474
Added support for class in each widget fields
2015-11-30 12:11:29 +05:45
Claudio Sanches
eeafb202aa
[API] Save variation description, closes #9663
2015-11-29 19:57:08 -02:00
roykho
887d37583c
Seperate variation description field from shipping div container
2015-11-28 07:20:47 -08:00
Lee Willis
adb4a7aa0b
Avoid fatal error due to duplicate params
2015-11-27 22:49:01 +00:00
Mike Jolley
35f9a89012
Fix attribute creation on import
...
Closes #9697
2015-11-27 14:28:20 +00:00
Mike Jolley
f408dcdabc
RAW escape return URLs in PayPal Standard
...
Tested with default and pretty permalinks. Fixes #9638
2015-11-27 14:00:14 +00:00
Mike Jolley
00f5317621
Merge pull request #9581 from shivapoudel/validation
...
Add Js Validation for price and dimension field in product quick edit…
2015-11-27 13:07:38 +00:00
Mike Jolley
be6d3c6627
Merge branch 'pr/9706'
2015-11-27 13:04:31 +00:00
Mike Jolley
d03020d7c6
escape and add to both notifications
2015-11-27 13:04:24 +00:00
Mike Jolley
73f763bb64
Merge branch 'pr/9680'
2015-11-27 13:02:06 +00:00
Mike Jolley
3d7a40e41f
spacing
2015-11-27 13:01:58 +00:00
Mike Jolley
75529edbe5
Merge branch 'pr/9628'
2015-11-27 13:00:39 +00:00
Mike Jolley
03d9239f40
Correct variable name
2015-11-27 13:00:08 +00:00
Mike Jolley
fd5dd4cfb7
h2 > h1
2015-11-27 12:27:27 +00:00
Mike Jolley
615c262f6f
Function exists for wp_get_attachment_image_srcset and sizes
...
Sizes #9714
2015-11-27 11:30:47 +00:00
Patrick Rauland
79f6ff347f
removing copy pasta
2015-11-25 17:24:48 -07:00
Patrick Rauland
8284bb3319
changing how WooCommerce products display when theyre embedded
2015-11-25 17:03:37 -07:00
David Anderson
febaeb8b63
Include link to order in PayPal refund email, for convenience
...
Includes a link to the relevant order in the PayPal refund email, so that the shop owner doesn't have to manually bring up the dashboard, search the for order, and click through.
2015-11-25 22:07:52 +00:00
Mike Jolley
f9756b29f1
WP_MEMORY_LIMIT defaults to 40MB, but only sets that value if more than system memory.
2015-11-25 18:53:20 +00:00
Mike Jolley
28dcb9ddbc
Tweak how sale and regular prices are handled
...
Prevents issue with PHP 5.6 and Suhosin sending NULL values. Fixes #9698
2015-11-25 18:40:49 +00:00
Claudio Sanches
5f46968f8c
Hide style attribute add_to_cart shortcode when is empty
...
closes #9694
2015-11-25 12:26:58 -02:00
Tiago Noronha
3fdec7f4a8
Init added variables if product doesnt have featured image.
2015-11-24 23:00:25 +00:00
Claudio Sanches
8c805eccf0
Merge pull request #9632 from woothemes/issue-9584/fix-price-ordering
...
Fix invalid orderby key name for orderby pricing closes #9584
2015-11-24 19:11:52 -02:00
roykho
aa7d583656
Fix lingering product gallery attachment ids when delete from media fixes #9681
2015-11-23 22:01:30 -08:00
Claudio Sanches
7945857b2e
Merge pull request #9684 from justinshreve/bulk-edit-price-product-types
...
Add filter to set which product types can have their "simple prices" updated by bulk edit
2015-11-23 17:59:23 -02:00
Mike Jolley
557ce96842
Merge pull request #9685 from tiagonoronha/9624-variation-image-srcset-sizes
...
[2.4] Adds support for srcset and sizes attributes in variation images. @claudiosmweb
2015-11-23 18:52:58 +00:00
Mike Jolley
4b47f98132
Merge pull request #9682 from iamtakashi/twentysixteen
...
[2.4] Edit for Twnety Sixteen
2015-11-23 18:50:45 +00:00
Mike Jolley
8684ea0543
Merge pull request #9667 from krautnerds/fix-variation-modified-date
...
Bump modified date of variations on update
2015-11-23 18:48:33 +00:00
Mike Jolley
7b5bd7d4b8
Merge pull request #9669 from ymazuz/email-from-filters
...
Add filters for From name/address to WC_Email (#9653 )
2015-11-23 18:47:52 +00:00
Tiago Noronha
105105db06
Adds support for srcset and sizes attributes in variation images.
2015-11-23 16:35:11 +00:00
Justin Shreve
aa04a9dffb
Add a filter to set which products can have their "simple prices" updated by the bulk edit code.
2015-11-23 07:47:41 -08:00
Takashi Irie
d88ba80f84
Edits for Twnety Sixteen
2015-11-23 11:55:50 +00:00
Mauro Mascia
5a95bcf185
Check if the endpoints array key is set and not empty.
...
For some reasons in a client's website, I've found that "order-pay" is set but is empty (even if in the backoffice the variable is written in the endpoint's form). So, it is better to check with !empty, doesn't it?
2015-11-22 20:00:59 +01:00
Claudio Sanches
753014da5a
Merge pull request #9631 from woothemes/transient-tweaks
...
Transient tweaks
2015-11-21 22:48:14 -02:00
Yoni Mazuz
9e5098627c
Fix woocommerce_email_from_* filtering
...
- apply filters before sanitizing
- send entire $this as argument so hooked functions can access any properties of the WC_Email (subclass) instance
2015-11-20 13:00:37 -05:00
Florian Ludwig
1d87c0c827
Bugfix: Used wrong date format for database
2015-11-20 18:09:47 +01:00
Florian Ludwig
787ebb0ef5
Bugfix: use "post_modified" instead of "post_date"; Moved modified_date update to woocommerce_update_product_variation code path
...
We should only set „post_modified“ if we are updating the variation
2015-11-20 18:00:10 +01:00
Claudio Sanches
d941d5e325
Improved add_query_arg() use in WC_Admin_Addons::output_storefront_button()
2015-11-20 13:27:52 -02:00
Florian Ludwig
477da091db
Bump modified date of variation on update
2015-11-20 16:26:33 +01:00
Claudio Sanches
784975bc31
Merge pull request #9649 from woothemes/contextual-storefront-button
...
Makes the "Try Storefront" button more contextual
2015-11-20 13:23:10 -02:00
Matty
2b601167f5
Removes unnecessary passing of when calling the output_storefront_button() method.
2015-11-20 09:33:51 +02:00
Yoni Mazuz
afb19228a9
Add filters for From name/address to WC_Email ( #9653 )
...
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- these allow return address info to be set conditionally, unlike
wp_mail_from and wp_mail_from_name, which don’t pass any context to
hooked functions
2015-11-19 14:37:50 -05:00
Illimar Tambek
d91dfb6fe6
Introduce woocommerce_recorded_sales action hook
2015-11-19 18:07:04 +02:00
Matty
5a0a8ef2f2
Adds Google campaign tags for tracking the various states of the 'Try Storefront' button.
2015-11-19 16:44:04 +02:00
Matty
94da31ef01
Adjusts the default 'Try Storefront' button to direct to the Storefront listing on WooThemes.com, even if Storefront and a child theme are in use.
2015-11-19 14:35:20 +02:00
Matty
4fc1023d0a
Adjusts the 'try Storefront' button on the 'Addons' screen to be more contextual, depending on the current theme/child theme combination activated.
2015-11-19 14:27:34 +02:00
roykho
9078e30ea4
Fix acronym zip to be all capitals fixes #9641
2015-11-18 15:32:23 -08:00
roykho
c7aed861cd
Fix invalid orderby key name for orderby pricing closes #9584
2015-11-17 07:59:53 -08:00
Mike Jolley
4595befb76
Pass product type with variation bulk edit
...
Closes #9570
2015-11-17 15:25:48 +00:00
Claudio Sanches
caa69304c9
Merge pull request #9626 from mitogh/master
...
Remove unnecessary lines of code and update code style for conditionals.
2015-11-17 12:33:22 -02:00
Mehdi Esmaeili
101c7f47e1
Better Documentation: Put throws tag
2015-11-17 16:21:42 +03:30
Dominic
5ef59c511b
Optimize filter loop
...
The current method loops through every defined hook in the WordPress
environment (over 400 on one of my tests). This method only checks the 3
filters in question.
2015-11-17 00:27:44 -08:00
mitogh
fb7de12235
Remove unnecessary use of ternary operator.
...
Since the operations are going to return the same values of true or
false after the evaluation of each statment it's easier just returing
the result of evaluation of those statements.
2015-11-17 00:08:06 -06:00
mitogh
85ea9c27ae
Update conditionals to follow the Yoda conditional style
2015-11-17 00:04:59 -06:00
mitogh
e8de40f6b0
Remove empty blank spaces
2015-11-17 00:04:48 -06:00
Mike Jolley
aeb48e35a7
[2.4] Removes Switzerland from VAT definition
...
Confirmed outside of EU and not applicable to things such as EU VAT
@hussong
2015-11-16 16:00:51 +00:00
Mike Jolley
e94c2b86ca
Remove shipping/tax estimation notice and show in context when needed.
...
Avoids needing complex logic for something which could easily be typed
onto the page by store owner if needed.
Also adjusts line height and padding in cart collaterals
Closes #9578
2015-11-16 15:59:47 +00:00