Mike Jolley
5824cb9358
Update stripe wording
...
Closes #16385
2017-10-27 13:48:48 +01:00
Rodrigo Primo
a3f14c7256
Caches call to load product variation attributes
...
This commit adds product variation attributes to WP cache when they are first loaded to avoid running the same database queries when the same product is loaded multiple times. This cache will be invalidated whenever product attributes are changed.
Fixes #17120
2017-10-27 10:01:23 -02:00
Gerhard Potgieter
1e66cedaf0
Save order items before adding new one when there are unsaved changes. Closes #17384 ( #17402 )
2017-10-27 12:38:10 +01:00
Gerhard Potgieter
f0b240d33a
Merge pull request #17399 from woocommerce/fix/17306
...
Escape attribute name commas in CSV exporter
2017-10-27 10:59:09 +02:00
Claudio Sanches
2d08ea7d15
Merge pull request #17400 from woocommerce/fix/17377
...
Clear counts cache when updating product attributes
2017-10-26 20:59:09 -02:00
Mike Jolley
08c4953b61
Clear counts cache when updating product attributes
...
Closes #17377
2017-10-26 20:16:52 +01:00
claudiulodro
981b2bc445
Escape attribute name commas in CSV exporter
2017-10-26 09:40:35 -07:00
Gerhard Potgieter
a3ec0bf85a
Merge pull request #17396 from woocommerce/fix/17379
...
Prevent cookie header sent error, and improve error message wording
2017-10-26 17:03:17 +02:00
Claudiu Lodromanean
3aa43ed5d2
Calculate shipping after discounts ( #17364 )
...
* Calculate shipping after discounts
* Calculate grand total after shipping is calculated
* Keep fees calculation before shipping
2017-10-26 15:27:10 +01:00
Mike Jolley
fb5e5209e3
Prevent cookie header sent error, and improve error message wording
...
Closes #17379
To test, reset your password via email.
Then click the reset link in the email again.
2017-10-26 15:22:25 +01:00
Paul Dechov
d048e4d355
Use measurement unit defaults in locale-info instead of hard coding
2017-10-26 09:28:18 -04:00
Mike Jolley
87c6ca5ae0
Merge pull request #17368 from james-allan/fix_thirdparty_coupon_calculations
...
Fix coupon discount calculations for third party coupon types
2017-10-26 14:23:31 +01:00
Paul Dechov
fee6f954dc
Ignore existing unit option values in wizard, in favor of national conventions
2017-10-26 09:21:35 -04:00
Claudio Sanches
787bb7f0c0
Fixed permalink default values ( #17385 )
...
* Fixed permalink default values
`woocommerce_permalinks` may return a list with empty results like:
wp> get_option( 'woocommerce_permalinks', array() )
=> array(5) {
["product_base"]=>
string(8) "/product"
["category_base"]=>
string(16) ""
["tag_base"]=>
string(11) ""
["attribute_base"]=>
string(0) ""
["use_verbose_page_rules"]=>
bool(false)
}
This override all placeholders declared with `wp_parse_args()`.
`wp_parse_args()` can apply default values only when missing, and not empty.
This PR removes all empty values in order to use the placeholders.
Fixes a bug introduced in #17352
* Moved array_filter() before wp_parse_args()
2017-10-26 13:57:40 +01:00
Marcin Bot
234d9e05a5
Fixed the jetpack redirect url for sites in subdirectories ( #17312 )
...
* Fixed the jetpack redirect url for sites in subdirectories
* Using admin_url instead of get_admin_url for consistency
* Wrapped the generated url in esc_url_raw
2017-10-26 13:40:54 +01:00
Paul Dechov
9c2df6486c
Default currency responds to country selection in setup wizard ( #17318 )
...
* Default currency responds to country selection in wizard
* Refactor to use wp_list_pluck
* Use <script> tag to define global instead of using hidden <input>
* Revert ignoring currency option value on page load
2017-10-26 13:39:54 +01:00
Mike Jolley
8590cd297c
Merge pull request #17383 from woocommerce/fix/17332
...
[REST API] Fix category "image" returned type when is empty
2017-10-26 13:01:50 +01:00
Claudio Sanches
6782cfaca5
Fixed how apply strtolower in columns names in the importer auto map
...
Now apply for all columns names, even when added by the filters.
2017-10-26 08:20:06 -02:00
Claudio Sanches
d23448a823
Merge branch 'master' into fix/17300-search-orderby
2017-10-25 20:53:25 -02:00
Claudio Sanches
6e9ad75be5
Category image is a single object
2017-10-25 20:41:31 -02:00
Claudio Sanches
4b90c12db1
Fixed coding standards.
...
Still missing fix the file name, but I'll leave it for 3.3
2017-10-25 20:40:44 -02:00
Claudio Sanches
9f81791e17
Merge pull request #17358 from woocommerce/fix/17337-bases
...
Adjust how permalinks are retrieved and saved
2017-10-25 20:20:41 -02:00
Claudio Sanches
2a4c16977c
Merge pull request #17331 from woocommerce/fix/17275-alt
...
Adjust item limiting discount code to work with multiple coupons
2017-10-25 20:19:13 -02:00
Claudio Sanches
faa614ffa7
Merge branch 'master' into fix/17308-remove-item-reloads-unsaved-items
2017-10-25 19:47:54 -02:00
claudiulodro
6cc5d5290c
Update to latest selectWoo
2017-10-25 13:51:37 -07:00
Rodrigo Primo
fb70ae3fea
Coding standards fixes
2017-10-25 17:53:17 -02:00
Claudiu Lodromanean
a396a6c83e
Merge pull request #17372 from woocommerce/fix/17369
...
Add cache invalidation for wc_get_product_terms
2017-10-25 10:30:44 -07:00
Claudiu Lodromanean
5892777c62
Merge pull request #17371 from woocommerce/fix/17367
...
Prevent notice on settings page when accessing invalid tab
2017-10-25 10:25:12 -07:00
Mike Jolley
e882c8e864
Merge pull request #17373 from woocommerce/fix/17334-product-downloads-shortcode
...
Allow shortcodes & relative download urls for product imports
2017-10-25 17:36:23 +01:00
Mike Jolley
206ffcdcb3
Merge pull request #17376 from woocommerce/fix/products-api-schema
...
[REST API] Fixed date_on_sale_to_gmt description on products endpoint
2017-10-25 17:33:20 +01:00
Claudio Sanches
e7508c2c54
[REST API] Fixed date_on_sale_to_gmt description on products endpoint
2017-10-25 14:06:50 -02:00
Claudio Sanches
c17fbf53b4
Fixed coding standards
2017-10-25 14:06:13 -02:00
Gerhard Potgieter
8e837adc50
Allow for shortcode and relative download urls to be imported. Closes #17334
2017-10-25 14:54:02 +02:00
Mike Jolley
a467d35acd
Add cache invalidation for wc_get_product_terms
...
Closes #17369
2017-10-25 13:27:18 +01:00
Mike Jolley
9d2a493cea
Prevent notice on settings page when accessing invalid tab
...
Closes #17367
2017-10-25 12:51:19 +01:00
James Allan
c0e3ac8ce6
fix coupon discount calculations for thirdparty coupon types
2017-10-25 16:33:59 +10:00
claudiulodro
e6a9a5f79b
Fix date query meta unset checking
2017-10-24 13:07:21 -07:00
Mike Jolley
1a08afeab2
Don't apply remainder logic when discount amount is changed via a filter
...
Closes #17330
2017-10-24 18:07:23 +01:00
Mike Jolley
8ca76e84cd
Add test for #17330
2017-10-24 17:53:51 +01:00
Claudiu Lodromanean
f8552ebbad
Merge pull request #17352 from woocommerce/fix/17324
...
Setup locale before generating placeholders
2017-10-24 09:01:20 -07:00
Mike Jolley
e68f087659
When no permalinks are set, set the defaults and avoid switching locales
2017-10-24 16:29:04 +01:00
Mike Jolley
79ef09d293
Setup locale before generating placeholders
...
Closes #17324
2017-10-24 14:06:21 +01:00
Gerhard Potgieter
054c4a1100
Merge pull request #17203 from hisman/fix/17043
...
Show theme overrides that are done through the wc_get_template filter in WooCommerce > Status
2017-10-24 06:02:48 -07:00
Gerhard Potgieter
ec6379a6ec
Merge pull request #17291 from michaelrimbach/patch-1
...
Format PL (Poland) Postal Code
2017-10-24 05:13:13 -07:00
Gerhard Potgieter
998ac25691
Merge pull request #17273 from woocommerce/fix/eu-vat-calc
...
Fix issue when customer is VAT exempt and prices include tax
2017-10-24 04:00:03 -07:00
Cesar Rodas
32da25c4f1
Improved "is_internal_meta_key"
...
Improved is_internal_meta_key to check if the meta_key has a setter or a getter before returning TRUE and calling doing_it_wrong
2017-10-23 22:22:31 -03:00
Farhad Sakhaei
5062831b50
spelling
...
spelling
2017-10-23 13:44:44 +03:30
Mike Jolley
6223ffb684
Adjust item limiting logic to work with multiple coupons
...
Fixes #17275
2017-10-22 09:13:12 -07:00
Mike Jolley
1278c84c11
Revert "WIP"
...
This reverts commit 2255066c0f
.
2017-10-22 07:13:46 -07:00
Mike Jolley
2255066c0f
WIP
2017-10-22 07:13:31 -07:00
Mike Jolley
f90c7bfc26
Form row wide for email
...
Remove arbitrary widths. Closes #17288
2017-10-20 16:15:48 -07:00
Gerhard Potgieter
ec1a70ad14
When deleting an order item and there are changes to other items, first save those before deleting.
2017-10-20 11:51:16 -07:00
Claudio Sanches
cb5122cc07
Removed legacy WordPress REST API files
2017-10-20 15:52:57 -02:00
Claudio Sanches
7d6d98dca0
Merge pull request #17314 from woocommerce/fix/17285
...
Let wp_signon handle email to username
2017-10-20 15:40:02 -02:00
Gerhard Potgieter
7ab0b25ba5
Only set to relevance when the orderby is set to menu_order
2017-10-20 10:33:21 -07:00
Gerhard Potgieter
5d9efb7885
Set orderby to relevance when searching for products. Closes #17300
2017-10-20 10:28:23 -07:00
Gerhard Potgieter
f9cff6e3f8
PHPCS Fixes. @claudiosanches Would you mind reviewing these as it is quite a lot of changes.
2017-10-20 10:24:56 -07:00
Mike Jolley
72c10bdd33
Remove email to login handling code
2017-10-20 09:21:07 -07:00
Mike Jolley
4844abc326
add woocommerce_cross_sells_order
...
Filter to control sort direction.
2017-10-20 09:11:00 -07:00
Michael Rimbach
6183d0973d
Format PL (Poland) Postal Code
...
Add "PL" formatting to wc_format_postcode function. An example pl postal code is 24-100
2017-10-19 17:16:36 +02:00
Mike Jolley
f27c8a226f
Fix issue when customer is VAT exempt and prices include tax
...
Ref: https://github.com/woocommerce/woocommerce-eu-vat-number/issues/82
In this scenario, base taxes need to be removed from the item price.
2017-10-18 09:31:35 -07:00
Claudiu Lodromanean
07e6a72234
Merge pull request #17259 from woocommerce/fix/17239
...
Added an update_prices_from_children routine and fixed sync_prices
2017-10-18 08:33:16 -07:00
Claudiu Lodromanean
9fd391b414
Merge pull request #17263 from woocommerce/fix/17219
...
Zoom and flexslider fixes
2017-10-18 08:29:01 -07:00
Mike Jolley
b0c9efbdc2
Merge pull request #17267 from Umangvaghela/fix-17264
...
fix 17264 issue
2017-10-18 08:25:50 -07:00
Paul Dechov
85af075566
Check for proper currency when getting WCS live rates carrier in setup wizard ( #17240 )
2017-10-18 11:09:33 -04:00
Umangvaghela
1b7b3f214e
fix issue
2017-10-18 15:11:59 +05:30
Mike Jolley
516ea83353
Revert flexslider to 2.6.1 with RTL support
...
Fixes #17219
2017-10-17 17:05:38 -07:00
Mike Jolley
29e175901f
Added an update_prices_from_children routine and fixed sync_prices
2017-10-17 10:06:49 -07:00
Claudio Sanches
2b3f524d35
Merge pull request #17256 from woocommerce/fix/major-update-checks
...
Moved major update check into get_untested_plugins.
2017-10-17 10:03:23 -07:00
Claudio Sanches
c739c80817
[REST API] Fixed variations 'visible' description in schema
...
Fixes #17249
2017-10-17 14:22:56 -02:00
Claudio Sanches
4bec8f9df5
Fixed coding standards
2017-10-17 14:22:30 -02:00
Mike Jolley
120d5b0768
Moved major update check into get_untested_plugins.
...
Prevents results returning when already on the major.
2017-10-17 08:27:55 -07:00
Herre Groen
1bde5aa37f
Add error logging to status update failes to prevent silent swallowing of errors.
2017-10-17 14:23:54 +02:00
Claudio Sanches
46c15b235a
Merge pull request #17245 from woocommerce/fix/17216
...
Modal should only display for major updates
2017-10-16 22:33:00 -07:00
Claudio Sanches
1f7a038bcd
Merge pull request #17242 from woocommerce/fix/17232
...
Fix meta data clone for products
2017-10-16 22:32:20 -07:00
Claudio Sanches
ececd63c93
Merge pull request #17247 from woocommerce/fix/17221
...
Filter out invalid tax classes
2017-10-16 22:31:49 -07:00
Mike Jolley
0e7cb9940c
Filter out invalid tax classes
...
Closes #17221
2017-10-16 22:05:48 -07:00
Mike Jolley
47a609edb7
Modal should only display for major updates
...
Fixes #17216
2017-10-16 21:50:44 -07:00
Mike Jolley
3d55a45bfa
Only change nocacheheaders when on a cart/checkout page
2017-10-16 21:29:23 -07:00
Mike Jolley
fecf950a98
Merge pull request #17237 from woocommerce/fix/17235
...
Coupon user limit check fix
2017-10-16 21:15:15 -07:00
Mike Jolley
344456c115
Merge pull request #17234 from woocommerce/fix/17216
...
Scroll untested plugins list if it's too big
2017-10-16 21:08:07 -07:00
Mike Jolley
39443d23e5
Fix meta data clone for products
2017-10-16 21:05:29 -07:00
Dan Wyman
4c16aeac6d
Coupon user limit check fix
...
Fixes a where clause problem. Fixes #17235 .
2017-10-16 18:40:46 +01:00
claudiulodro
4ebac67545
Scroll plugins list if it's too big
2017-10-16 09:10:20 -07:00
Mike Jolley
7419168e65
More cleanup and new fallback option for addresses
2017-10-16 08:12:07 -07:00
Umangvaghela
10fe92cfc1
Fix-minor-changes
2017-10-16 16:33:12 +05:30
Claudio Sanches
f9fdbd19e0
Apply Webhooks CRUD and fixed coding standards in html-webhooks-edit.php
2017-10-13 18:01:18 -03:00
Mike Jolley
a087f5fa63
Merge pull request #17205 from woocommerce/fix/invoice-subject
...
Remove # before order number to match 3.1
2017-10-13 19:38:55 +01:00
Mike Jolley
7b67d2d9a9
Remove # before order number to match 3.1
2017-10-13 19:37:03 +01:00
Will Gorham
fc8b3266c9
Fix deprecated functions in cart shortcode
2017-10-13 14:22:09 -04:00
Mike Jolley
a2e580f59e
Merge pull request #17201 from woocommerce/fix/17200
...
Restore blogname placeholder, but do not list in admin
2017-10-13 19:15:50 +01:00
Mike Jolley
1865528486
Merge pull request #17197 from woocommerce/fix/17125
...
Use edit context when updating prices in the API
2017-10-13 18:54:58 +01:00
Hisman
78c15569a7
Show theme overrides that are done through the wc_get_template filter in WooCommerce > Status
...
Fixes #17043
Call the wc_get_template filter on each template and show the file if it exists.
2017-10-14 00:07:38 +07:00
Mike Jolley
6647b35585
Restore blogname placeholder, but do not list in admin
...
Closes #17200
2017-10-13 17:42:12 +01:00
Mike Jolley
93a6f68408
Merge pull request #17193 from woocommerce/fix/legacy-fees-api
...
Fix/legacy fees api
2017-10-13 17:36:43 +01:00
Mike Jolley
fbc6850fb9
Merge pull request #17198 from JeroenSormani/fee-tax-class-slugs
...
Allow tax_class slugs when adding a fee
2017-10-13 17:25:46 +01:00
JeroenSormani
f244b178d3
Allow tax_class slugs when adding a fee
2017-10-13 18:06:23 +02:00
Mike Jolley
840da4f0c8
Use edit context when updating prices in the API
...
Fixes #17125
2017-10-13 16:37:38 +01:00
Gerhard Potgieter
e4c961c3ba
Merge pull request #17194 from woocommerce/update/email-tweaks
...
Email template and admin tweaks
2017-10-13 17:10:08 +02:00
Mike Jolley
c1b83df5f6
Merge pull request #17174 from woocommerce/improve/17172
...
Add extra lines back in admin order summary
2017-10-13 15:24:51 +01:00
Mike Jolley
c2c213fe05
Include date in customer emails again
2017-10-13 15:09:21 +01:00
Mike Jolley
7df8f6bec6
Resend new order notification option
...
@kloon Stole your code.
Ref: #17186
2017-10-13 14:54:12 +01:00
Mike Jolley
ddf8abf474
Merge pull request #17189 from franticpsyx/add-missing-break-in-legacy-cart
...
[3.2] Add missing break in WC_Legacy_Cart class
2017-10-13 14:41:47 +01:00
Mike Jolley
d694483735
Fix tax display issue for discounts
2017-10-13 14:36:35 +01:00
Mike Jolley
98eeafcc29
Hide shipping/discount rows when not needed and match email wording.
2017-10-13 14:01:20 +01:00
Mike Jolley
803b31a18c
Switched to property_exists and moved deprecation notice to avoid errors and setting fees unnecessarily.
2017-10-13 13:46:49 +01:00
Mike Jolley
8fa6116ef6
Hide cat-parent class when category will show no children due to depth setting
...
Closes #17184
2017-10-13 12:50:49 +01:00
Manos Psychogyiopoulos
3562f7156a
Add missing break in WC_Legacy_Cart class
2017-10-13 14:17:13 +03:00
Gerhard Potgieter
feffde2a73
Merge pull request #17167 from woocommerce/tweak/services-text-in-wizard
...
Tweak/services text in wizard
2017-10-13 11:32:51 +02:00
Gerhard Potgieter
0146c7d240
Merge pull request #17164 from woocommerce/fix/17088
...
Fix image matching queries
2017-10-13 11:30:34 +02:00
claudiulodro
b5e02ea6f6
Add extra lines back in admin order summary
2017-10-12 14:01:11 -07:00
Mike Jolley
8fa3ddde86
Tweaked intro text further about live rates
2017-10-12 18:29:23 +01:00
Claudiu Lodromanean
0f9bd218ed
Merge pull request #17160 from woocommerce/fix/17138
...
Use city and postcode count to determine sort order
2017-10-12 09:27:30 -07:00
Mike Jolley
a447221213
wc_setup_wcs_tout is not used.
2017-10-12 17:19:47 +01:00
Mike Jolley
a1f4cc0464
Show what powers taxes and link, just like storefront
2017-10-12 17:19:17 +01:00
Claudiu Lodromanean
cd0eb65852
Merge pull request #17162 from woocommerce/fix/17150
...
Fixed discount logic to also look at parent categories when validatiing coupons
2017-10-12 09:19:14 -07:00
Mike Jolley
9198d636c5
This installs jetpack/services - be clear
2017-10-12 17:18:37 +01:00
Mike Jolley
806f80c8d2
Be explicit about what powers live rates
2017-10-12 17:18:15 +01:00
Claudiu Lodromanean
a63c822d2d
Merge pull request #17161 from woocommerce/fix/17158
...
Remove rounding in wc_remove_number_precision
2017-10-12 08:48:32 -07:00
Claudiu Lodromanean
fb763a6deb
Merge pull request #17155 from woocommerce/fix/selectWoo-dependency
...
wc-admin-order-meta-boxes as a selectwoo dependency
2017-10-12 08:38:36 -07:00
Mike Jolley
b72268172a
Fix image matching queries
2017-10-12 16:32:40 +01:00
Mike Jolley
4379a47cd5
Fixed discount logic to also look at parent categories when validatiing coupons
...
Fixes #17150
2017-10-12 15:40:58 +01:00
Mike Jolley
88ea1eaf7b
Remove rounding in wc_remove_number_precision
...
Remove the rounding when removing precision so the cart can handle it.
For taxes, this means it can round down.
Fixes #17158
Tests are passing.
2017-10-12 15:16:48 +01:00
Mike Jolley
878e4816fb
Use city and postcode count to determine sort order
2017-10-12 14:04:10 +01:00
Mike Jolley
2db0d1d4d6
Merge pull request #17151 from woocommerce/fix/shipping-rate-save
...
Fix tax rate save when only changing shipping checkbox
2017-10-12 12:33:46 +01:00
Mike Jolley
cffcaaf773
wc-admin-order-meta-boxes as a selectwoo dependency
2017-10-12 12:32:36 +01:00
Mike Jolley
6aca58324a
Merge pull request #17152 from woocommerce/fix/lazy-load-embeds
...
Load videos when the help tab is opened, not before.
2017-10-12 12:28:00 +01:00
Mike Jolley
47d69dad2d
Load videos when the help tab is opened, not before.
...
Closes #17145
2017-10-12 12:18:37 +01:00
Mike Jolley
5a22c7fa97
Fix tax rate save when only changing shipping checkbox
2017-10-12 11:30:41 +01:00
Mike Jolley
0908bc0b13
phpcs
2017-10-12 11:26:55 +01:00
Mike Jolley
4f3393fc2f
Tax calculations should use `unfiltered` context for tax class
...
This fixes variations which have a ‘parent’ tax class. It should
inherit from the parent.
Closes #17147
2017-10-12 10:12:20 +01:00
mehul0810
024eec53f8
Added Text Domain
2017-10-12 08:28:45 +05:30
mehul0810
3e2cf907eb
Modified message key
2017-10-12 08:27:41 +05:30
Claudio Sanches
19fed02c50
Always 'post' on API since there is no more Trash for webhooks
2017-10-11 18:15:07 -03:00
Claudio Sanches
4c26dfa4be
Fixed coding standards in includes/admin/settings/class-wc-settings-api.php
2017-10-11 18:14:50 -03:00
Mike Jolley
a6059ea759
Remove menu-ordering sorting
2017-10-11 21:36:13 +01:00
Chris Schrijver
dee7a8c8d4
If no tax rate is defined for a specific country it still shows "incl. VAT" at the checkout / cart when tax display is set to "As single total". This will solved that
2017-10-11 17:58:43 +02:00
grosssmutttr
1ccec7d156
class-wc-widget-layered-nav.php - Crawling Budget
...
Additional optimization to save up crawling budget.
Added $link = str_replace('%2C', ',', $link); on line 513
https://mydomain.com/produkt-kategorie/my-category/?filter_filter-color=orange,black
If you add another filter it encodes the existing commas:
https://mydomain.com/produkt-kategorie/my-category/?filter_filter-color=orange%2Cblack&filter_manufacturer=adidas&filter_cut=men.children
So sometimes you have "," as seperator and sometimes you have encoded "%2C".
After implementing this pull-request the seperator stays ",":
https://mydomain.com/produkt-kategorie/my-category/?filter_filter-farbe=orange,black&filter_manufacturer=adidas&filter_cut=men.children
This pull request belongs to the optimization https://github.com/woocommerce/woocommerce/pull/17134 to save up crawling budget,
2017-10-11 14:47:00 +02:00
Mike Jolley
12d93803ee
Merge pull request #17121 from woocommerce/update/wizard-payments-copy
...
Update payment step copy for Stripe, and fixes margins/spacing
2017-10-11 10:17:57 +01:00
grosssmutttr
d9f0bd5e92
Keep link structure - prevent duplicate content
...
Added asort($current_filter) so the urls always look the same and there are not millions of urls possibilities when adding multiple filters.
Current url example:
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=yellow,brown,blue,red
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=yellow,blue,red,brown
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=blue,yellow,red,brown
...
With asort you only have this url:
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=blue,brown,red,yellow
So it is independent on the sequence a user adds a filter
2017-10-11 08:33:46 +02:00
Claudio Sanches
bd68764682
Apply Webhook CRUD to WC_Admin_Webhooks
2017-10-10 17:15:37 -03:00
Claudio Sanches
714178996c
Remove duplicated function
2017-10-10 16:16:16 -03:00
Claudio Sanches
368d958be4
Merge branch 'master' into feature/webhook-crud
2017-10-10 16:13:37 -03:00
Claudio Sanches
c00fce3f94
Merge pull request #16490 from woocommerce/feature/16445
...
Webhooks CRUD and Data Store
2017-10-10 16:10:31 -03:00
Marcin Bot
17e4f2a609
Merge pull request #17127 from woocommerce/fix/17122-setup-required-shipping-fields
...
Setup wizard - made the shipping cost fields required
2017-10-10 18:50:20 +02:00
Marcin Bot
01578d55c9
Wrapped the class name in esc_attr
2017-10-10 17:49:04 +01:00
Marcin Bot
eaf8a09e82
Setup wizard - made the shipping cost fields required
2017-10-10 16:59:08 +01:00
Claudio Sanches
b775074900
Fixed includes/wc-webhook-functions.php and removed debug
2017-10-10 12:59:04 -03:00
Mike Jolley
31367a72b8
Merge pull request #17123 from woocommerce/update/wizard-extras-copy
...
Setup wizard: add “powered by” to automated taxes description.
2017-10-10 16:39:45 +01:00
Clifford
1474350f0f
Correct docblock @return
...
From incorrect `string` to correct `array`
2017-10-10 10:31:16 -05:00
Jeff Stieler
24599524ba
Setup wizard: add “powered by” to automated taxes description.
2017-10-10 09:24:13 -06:00
Mike Jolley
6b357bcfdc
Updates the payment step copy and fixes margins
2017-10-10 15:40:03 +01:00
mehul0810
48e7575b10
Alignment Fix
2017-10-10 18:44:33 +05:30
mehul0810
aaa092159b
Added using CRUD
2017-10-10 18:44:12 +05:30
Mike Jolley
d4965e9df4
Merge pull request #17112 from woocommerce/fix/product-variations-tax-classes
...
Add 'parent' to the list of valid tax classes for product variations
2017-10-10 12:32:29 +01:00
mehul0810
0a4307ce40
Modified confirmation popup message
2017-10-10 16:52:37 +05:30
Jack
24efd36126
set query_vars ( #17105 )
...
* query_vars is set
* add changes
2017-10-10 12:14:35 +01:00
Jeff Stieler
974f402017
Fix duplicate plugin install from wizard. ( #17114 )
...
* Setup wizard: avoid duplicate plugin installs.
* Setup wizard: use background flag to determine if Jetpack is being installed.
* Setup wizard: use wc_set_time_limit() instead of set_time_limit() to avoid potential warnings/errors.
2017-10-09 16:45:33 -06:00
Claudio Sanches
b62b954f19
Small change to test PHPCS into Travis CI
2017-10-09 17:32:53 -03:00
Claudio Sanches
87cf8f4809
Merge pull request #17106 from woocommerce/fix/activate-step-when-returning-from-wpcom
...
Setup wizard: activate step shouldn't be hidden after a successful WPCOM connection.
2017-10-09 16:59:53 -03:00
Rodrigo Primo
fa0e5569f8
Add 'parent' to the list of valid tax classes for product variations
...
Commit d9f9e74bd
added a check to `WC_Product::set_tax_class()` to only accept valid tax classes, but this created a bug for product variations as this type of product has an extra tax class called 'parent'.
This commit fixes this problem by adding a new method to `WC_Product` that returns a list of valid tax classes. `WC_Product_Variation` then override this method, returning another list including the tax class 'parent'.
Fixes #17024
2017-10-09 16:20:03 -03:00
Rodrigo Primo
d769ef24f2
Coding standards fixes
2017-10-09 16:19:24 -03:00
Mike Jolley
6d7522d864
Merge pull request #17075 from woocommerce/fix/phpunit-excluded-files
...
Updated tests exclusion list
2017-10-09 19:46:34 +01:00
Claudio Sanches
7ce5d9e1c6
Merge pull request #17109 from woocommerce/fix/17085-2
...
Translate "No matches found" message in filter widget
2017-10-09 15:39:51 -03:00
claudiulodro
f1dac6f3ac
Use esc_js instead of addslashes
2017-10-09 11:37:09 -07:00
Mike Jolley
fae130d038
Allow display_name to be searchable - this will commonly be full name
...
Closes #17104
2017-10-09 19:20:22 +01:00
claudiulodro
97d7ae7df8
Missing semicolon
2017-10-09 11:16:24 -07:00
claudiulodro
2ccd44afa7
Translate "no matches" message
2017-10-09 11:10:32 -07:00
Jeff Stieler
c5f097f319
Setup wizard: check for activate-step-specific GET parameters before hiding the step.
...
This was a bit overzealous, and broke successful connection flows from the wizard. (Introduced in 97faa49fc4
)
2017-10-09 08:55:30 -06:00
Mike Jolley
c16b950aa9
Merge pull request #17103 from woocommerce/fix/is_checkout_conditional
...
Add WOOCOMMERCE_CHECKOUT check to is_checkout
2017-10-09 13:18:09 +01:00
mehul0810
9d5da174b7
Message Text changed
2017-10-09 16:17:00 +05:30
mehul0810
914e31affb
Ask for confirmation popup only if sales is produced for a product
2017-10-09 16:16:22 +05:30
Gerhard Potgieter
2080858dd4
Also check the woocommerce_checkout conditional, ensure ajax conditional checks keeps working. Closes #17094
2017-10-09 12:39:47 +02:00
Mike Jolley
74fb3821e2
Merge pull request #17096 from woocommerce/add/17092-jetpack-tos-accept-flag
...
Setup wizard: set a flag when Jetpack is opted into.
2017-10-09 11:39:32 +01:00
Gerhard Potgieter
a815c62289
PHPCS fixes
2017-10-09 12:39:27 +02:00
Jeff Stieler
000295c0bf
Setup wizard: remove the “activate” step if Jetpack is already connected. ( #17099 )
...
* Setup wizard: remove the “activate” step if Jetpack is already connected.
* phpcs
2017-10-09 11:35:17 +01:00
Claudiu Lodromanean
2b49125b46
Enable clearing for attribute filter widget ( #17093 )
...
* Enable clearing for attribute filter widget
* Multiselect variant doesnt need clear button
* Make code less ugly
2017-10-09 11:21:21 +01:00
mehul0810
1c9a5dbae8
Removed Comma
2017-10-08 15:35:14 +05:30
mehul0810
284c107b1a
Add Support for confirmation popup to Delete Permanently link under Trash status.
2017-10-08 15:33:53 +05:30
mehul0810
6e6af2285c
Added Message for Product permanent deletion
2017-10-08 15:28:23 +05:30
Jeff Stieler
4c66520989
Setup wizard: set a flag when Jetpack is opted into.
...
This is to be picked up by the WooCommerce Services extension.
2017-10-06 20:40:25 -06:00
Konstantin Kovshenin
70a72693c3
Helper: Fix automatic subscription activation
...
Fixes a bug where automatic subscription activation upon plugin
activation does not trigger due to the subscription being unlimited.
2017-10-06 17:12:55 +03:00
grosssmutttr
52beb782c6
Update class-wc-widget-layered-nav.php - Avoid duplicate content
...
Added rel="nofollow" to the filters to avoid duplicate content.
2017-10-05 19:55:10 +02:00
Claudio Sanches
31f42ba907
Move includes/class-wc-legacy-api.php to includes/legacy/class-wc-legacy-api.php
2017-10-05 14:02:30 -03:00
Claudio Sanches
18a47d79b1
Merge branch 'master' into add/formatting-unit-tests
2017-10-05 12:18:29 -03:00
Claudio Sanches
8cd754d8b6
Fixed coding standards
2017-10-05 11:08:37 -03:00
Mike Jolley
77e245fa68
Merge pull request #17067 from woocommerce/fix/mexican-state-update
...
Update only state fields when updating Mexican States
2017-10-05 12:53:35 +01:00
Valerie K
b4088c5d91
Wizard: Handle Jetpack install, activate, and connection errors ( #16983 )
...
* Wizard: Remove extra query arg in next step URL
Remove the activate_error query arg from
the URL for the next step.
* Wizard: Remove temp queued Jetpack install option
This is done so that the option does not remain
when going through the wizard again, or when going
back to previous pages.
It prevents an infinite loop from happening when
waiting for the Jetpack install and activation
to finish on the activate step.
* Wizard: Install and activate Jetpack if needed
Add function to install & activate Jetpack as needed.
Props to @jeffstieler for the idea, and the implementation/code:
https://github.com/Automattic/woocommerce-services/pull/1031#discussion_r122505316
https://github.com/Automattic/jetpack/blob/master/3rd-party/woocommerce-services.php#L101
Add a list of errors and a function to get the correct error message.
After clicking the connect Jetpack button, make sure that
Jetpack is installed and activated.
On error, redirect to the activate page with a query arg.
* Wizard: Show Jetpack error message if it exists
Always check for an error message when displaying
the activate step. If the error
message exists, display it at the top of the page.
* Remove redundant "if" so the $title in the Activate step is always a valid string
* Tweaked the "Server is on a private network" Jetpack activation error message.
2017-10-05 12:51:49 +01:00
Gerhard Potgieter
a8e3862bf2
Change the mexican state update routing to only update shipping and billing states, not all meta data which matches. Closes #17066
2017-10-05 13:49:10 +02:00
Gerhard Potgieter
71fce64f54
PHPCS fixes.
2017-10-05 13:48:26 +02:00
Gerhard Potgieter
9ad6a41e7c
Revert "Change the mexican state update routing to only update shipping and billing states, not all meta data which matches. Closes #17066 "
...
This reverts commit 2474396eb6
.
2017-10-05 13:46:45 +02:00
Gerhard Potgieter
2474396eb6
Change the mexican state update routing to only update shipping and billing states, not all meta data which matches. Closes #17066
...
This also fixes a bunch of PHPCS issues as it seems the new rules is very strict and you must fix the whole file before commiting any of your own changes.
2017-10-05 11:32:30 +02:00
Valerie K
61caed9cb8
Wizard: Add Stripe Email ( #17029 )
...
* Wizard: Add Stripe email input, show previously entered payment settings, only save settings for enabled gateways
2017-10-04 13:37:59 -06:00
Jeff Stieler
b72ad3f2cc
Setup wizard: fix logic error when detecting existing shipping zones. ( #16995 )
...
* Setup wizard: fix logic error when detecting existing shipping zones.
* Hide the shipping zones sections on the Shipping step if there are already shipping zones configured in the store.
2017-10-04 11:48:06 -06:00
Filipe Seabra
0dad12537b
Version was bumped
2017-10-04 12:54:00 -03:00
Claudio Sanches
8b0400c348
Merge pull request #17060 from woocommerce/fix/17044
...
Ensure query_vars is set. Closes #17044
2017-10-04 11:52:12 -03:00
Claudio Sanches
b25e08e1cc
Merge pull request #17058 from woocommerce/fix/17047-alt
...
Fix meta data returns in API using JsonSerializable
2017-10-04 11:48:46 -03:00
Mike Jolley
d72f6ae22c
Ensure query_vars is set. Closes #17044
2017-10-04 15:37:43 +01:00
Mike Jolley
7e06a30eea
Merge pull request #17042 from victorfreitas/fix_invalid_term
...
Fix bug when parent term is invalid
2017-10-04 14:55:12 +01:00
Mike Jolley
38434e3288
Merge pull request #17052 from shivapoudel/fix/footer-text
...
Fix - Admin footer text
2017-10-04 14:44:46 +01:00
Mike Jolley
f4e3498d4e
Handle JSON encoding for API
2017-10-04 14:12:53 +01:00
Mike Jolley
240a321dd0
Revert get_meta_data changes and return array of WC_Meta_Data objects
2017-10-04 14:12:43 +01:00
James Koster
e26302b1ff
Nothing to be translated any more!
2017-10-04 13:11:44 +01:00
James Koster
7c05dde430
Remove "Powered by WooCommerce" credit in default email footer text setting. closes #17053
2017-10-04 12:40:18 +01:00
Shiva Poudel
7cd968c69b
Fix - Admin footer text
2017-10-04 15:33:22 +05:45
Mike Jolley
47d50a70ea
Merge pull request #16969 from stiletagegmbh/master
...
added actions and filters to modify tax calculation for shipping taxes and fee taxes #16938
2017-10-04 10:30:47 +01:00
lars
ac24a56ff3
#16938 rename filter for clarity
2017-10-04 10:56:56 +02:00
Claudio Sanches
e6710258d2
Merge pull request #17037 from victorfreitas/master
...
Save postmeta attachment image reference on import of products via AP rest.
2017-10-03 19:32:27 -03:00
victorfreitas
9dcfe4883a
Fix error when invalid parent term
2017-10-03 17:59:58 -03:00
Filipe Seabra
872fed68dc
Added to new actions in content-widget-product.php so plugins can easily and specifacally do sth within product widgets. There's no issue/reference, sorry.
2017-10-03 17:52:36 -03:00
Jeff Stieler
c850bb92da
Merge pull request #17028 from woocommerce/minor-wizard-style-updates
...
Small style adjusts to onboarding
2017-10-03 13:27:59 -06:00
Valerie
60e9258913
Wizard: Update option for types of product sold
2017-10-03 17:38:08 +02:00
Valerie
3ca5ded150
Wizard: Reset live rates options on save
2017-10-03 17:30:00 +02:00
Valerie
450236c8d9
Wizard: Update store setup text
2017-10-03 17:30:00 +02:00
Valerie
9da7925288
Wizard: Fix paragraph bottom margin
...
Avoid too little bottom margin when the paragraph
is the last paragraph on the page, but not the last element.
Avoid too much bottom margin when there were nonce fields
after the last paragraph on the page.
2017-10-03 17:29:22 +02:00
victorfreitas
e40ae14d2e
Improving the code comment
2017-10-03 12:28:05 -03:00
Valerie
9a2ab72cd6
Wizard: Style tracking option
2017-10-03 17:26:32 +02:00
victorfreitas
c72c2f06b8
Save postmeta attachment image reference on import of products via API rest.
2017-10-03 10:17:09 -03:00
Ville Viklund
ae17ccd65f
Fix typo
2017-10-03 15:34:44 +03:00
Lane Goldberg
fb8bac5957
make hidden country/state readonly
...
make hidden country / state fields read only. fixes #17026
2017-10-02 15:24:37 -04:00
Claudiu Lodromanean
d3d782c85c
Merge pull request #17017 from woocommerce/fix/17003
...
Handle WC_Meta_Data in get_data() and API
2017-10-02 09:19:45 -07:00
Claudio Sanches
fe819a8be2
Merge pull request #17021 from woocommerce/fix/17004
...
Allow wc_get_formatted_variation to skip attributes used in the variation's name
2017-10-02 13:10:31 -03:00
Claudiu Lodromanean
590838eb82
Merge pull request #17015 from woocommerce/fix/17014
...
Check `$item->url` is set.
2017-10-02 09:10:16 -07:00
Mike Jolley
8eb500b8c1
Allow wc_get_formatted_variation to skip attributes used in the variation's name
...
Alternative fix for #17004
This matches the cart logic.
2017-10-02 15:50:10 +01:00
Claudio Sanches
f16b44a9c2
Merge pull request #17019 from woocommerce/fix/pdt
...
Improved PDT handling and logs
2017-10-02 11:41:47 -03:00
Mike Jolley
68f75e9395
Merge pull request #16997 from woocommerce/fix/cart_contents-is-array
...
Treat values in cart_contents hash as arrays instead of objects
2017-10-02 14:58:13 +01:00
Mike Jolley
c15491b9ad
Improved PDT handling and logs
2017-10-02 14:24:39 +01:00
Mike Jolley
5256f5e91e
Merge pull request #17007 from grosssmutttr/patch-1
...
Update WC_Widget_Layered_Nav_Filters
2017-10-02 13:35:30 +01:00
Claudio Sanches
4b81951aa8
Merge pull request #17016 from woocommerce/update/embeds
...
Filter oEmbeds for certain post types
2017-10-02 09:27:26 -03:00
Mike Jolley
7460189752
Handle WC_Meta_Data in get_data() and API
...
Fixes #17003
2017-10-02 13:12:33 +01:00
Mike Jolley
84a15d1110
Filter oEmbeds for certain post types
...
Orders and coupons have no use for embeds so disable them.
2017-10-02 12:36:58 +01:00
Mike Jolley
4071a7821f
Check `$item->url` is set.
...
Closes #17014
2017-10-02 11:41:44 +01:00
Gerhard Potgieter
a4332486c8
pass false to create param of wp_upload_dir, we only need the location, do not want the folder to be created. This fixes warnings on read-only filesystems.
2017-10-02 08:37:07 +02:00
grosssmutttr
146fdff506
Update WC_Widget_Layered_Nav_Filters
...
Add rel="nofollow" to the URLs to avoid duplicate content.
2017-10-01 11:41:22 +02:00
Claudiu Lodromanean
7e9e58d75f
Merge pull request #16998 from woocommerce/fix/16992
...
[Importer] Do not override stock_status when already declared
2017-09-29 13:23:28 -07:00
Claudio Sanches
fecff53353
[Importer] Do not override stock_status when already declared
...
And fixed a few coding standards because the pre-commit hook.
Fixes #16992
2017-09-29 16:07:15 -03:00
Claudio Sanches
3709abb1b6
Merge pull request #16996 from woocommerce/fix/undefined-variable
...
Define the variable in case the flow doesn't branch
2017-09-29 15:19:18 -03:00
Boro Sitnikovski
71305b131f
Treat values in cart_contents hash as arrays instead of objects
2017-09-29 18:46:34 +02:00
Boro Sitnikovski
9869503ed5
Define the variable in case the flow doesn't branch
2017-09-29 18:16:26 +02:00
Claudio Sanches
a509161724
Merge pull request #16991 from woocommerce/fix/16988
...
Just use home_url for wc-ajax requests
2017-09-29 11:42:08 -03:00
Mike Jolley
fbe6db5c02
Just use home_url for wc-ajax requests
2017-09-29 15:08:14 +01:00
SGroupGeorge
8a95d1111b
Text changes
2017-09-29 10:47:07 +01:00
SGroupGeorge
38e6f07c70
Store both Live and Sandbox details for PayPal
2017-09-29 10:41:09 +01:00
Mike Jolley
e0421cd7bc
Replay protection on refunds
...
Sends the current refunded amount with the request, so if a refund is
attempted twice it will mismatch.
Fixes #13614
2017-09-28 16:17:13 +01:00
lars
73bc8b8e6c
added actions and filters to modify tax calculation for shipping taxes and fee taxes #16938
...
Filters and actions are needed to ensure correct tax calculation by
German law.
The filter in class-wc-cart-totals.php is used to modify fee tax
calculation during checkout and in cart.
The actions in the other files are used to modify tax calculation in
backend for manual orders.
2017-09-28 12:52:55 +02:00
claudiulodro
a5c2ebb2f2
Bring up-to-date with master and recompile css
2017-09-27 13:32:09 -07:00
Jeff Stieler
f6c0054aa1
Setup wizard: use a setup wizard specific ID for the Jetpack connection URL.
2017-09-27 14:04:40 -06:00
Valerie
5e33fc0b58
Wizard: Fix bad email check for Stripe status
...
We are no longer asking for the user's email or
saving it, so it shouldn't be checked against.
2017-09-27 23:03:01 +03:00
Valerie
72f9ce08ac
Wizard: Move Jetpack TOS above button
2017-09-27 22:48:33 +03:00
Jeff Stieler
6793afed50
Setup wizard: for non-Services merchants, mention that Jetpack is for “extra” features on the activate step.
2017-09-27 13:27:52 -06:00
Valerie
b772b002a9
Wizard: Save payments enabled status
...
- toggle payment option on if its setting was previously saved,
or if it's listed as to be toggled on be default
- check if setting is saved as enabled in options
2017-09-27 22:26:13 +03:00
Jeff Stieler
3f7c3af3e5
Setup wizard: default Stripe gateway on, swap email input for opt-in account creation.
2017-09-27 13:14:13 -06:00
Jeff Stieler
7b9b09e9ad
Setup wizard: consolidate translations for Jetpack enabled features list as much as possible.
2017-09-27 12:46:01 -06:00
Claudio Sanches
02f30e58f5
Updated docblock for class-wc-query.php, closes #16963
2017-09-27 15:01:50 -03:00
Diego Zanella
e93ad155df
Added support for "is_vat_exempt" flag on orders
...
Added check for the presence of the "is_vat_exempt" meta against an order. When present, such information is used during tax calculation to remove the taxes applied to an order.
2017-09-27 18:56:11 +01:00
Valerie
8c2a2860e3
Wizard: Correctly save taxes opt-in status
...
- Make sure to save the option every time, even if not selected
- Show the corresponding state in the toggle
2017-09-27 20:05:41 +03:00
Claudio Sanches
f2da349bcf
Remove slash frmo ajax endpoint
2017-09-27 14:00:58 -03:00
Mike Jolley
0e42b76838
Merge pull request #16961 from woocommerce/update/install-routing-locking
...
Lock install routine to only allow for one execution
2017-09-27 17:35:11 +01:00
Claudio Sanches
5122f29988
Merge pull request #16962 from woocommerce/fix/cart-objects
...
Fix cart objects
2017-09-27 13:18:55 -03:00
Mike Jolley
f1f56423c0
Docblocks
2017-09-27 17:16:33 +01:00
Mike Jolley
00b8e395f8
Unused variable
2017-09-27 17:12:50 +01:00
Mike Jolley
40040f534b
These classes require WC_Cart objects
2017-09-27 17:12:45 +01:00
Gerhard Potgieter
75003fe3dc
Lock the install routine via a transient to prohibit race conditions due to firing on the init hook.
2017-09-27 17:41:26 +02:00
Mike Jolley
f73acaab33
Merge pull request #16957 from woocommerce/helper-filter-installed
...
Helper: Add a new filter to display only installed extensions
2017-09-27 16:32:39 +01:00
Claudiu Lodromanean
1cb528f749
Merge pull request #16960 from woocommerce/update/paypal-india
...
Added PayPal India support
2017-09-27 08:25:18 -07:00
Mike Jolley
9728cb5252
Added PayPal India support
2017-09-27 16:14:26 +01:00
Claudio Sanches
5721bc6044
Improved WC_AJAX->get_endpoint()
2017-09-27 12:07:27 -03:00
Diego Zanella
5e23770d74
Added actions before calculatins order totals and taxes
2017-09-27 16:07:02 +01:00
Valerie
0b2bad8122
Wizard: Update 'WP Admin' to 'dashboard'
2017-09-27 17:30:09 +03:00
Valerie
bd98a7098d
Wizard: Remove superfluous description in last step
2017-09-27 17:29:40 +03:00
Valerie
d6c94e4837
Wizard: Remove superfluous Extras description
2017-09-27 17:26:43 +03:00
Boro Sitnikovski
b11ed6e3db
Fix direct access to props on checkout
2017-09-27 16:25:45 +02:00
Valerie
a09b7f1670
Wizard: Update shipping info text
2017-09-27 17:24:50 +03:00
Claudio Sanches
68616fb0e1
Merge pull request #16956 from woocommerce/fix/16952
...
Fix admin coupon apply logic
2017-09-27 10:06:41 -03:00
Konstantin Kovshenin
d63eb56753
Helper: Add a new filter to display only installed extensions.
2017-09-27 15:17:24 +03:00
Mike Jolley
9800d72c82
Merge pull request #16949 from woocommerce/fix/16928
...
[Importer] Display error message when it's impossible to get a sample of the file
2017-09-27 13:01:20 +01:00
Mike Jolley
5dcde7b093
Use discounts class for validation logic
2017-09-27 12:54:04 +01:00
Mike Jolley
4275c65ff0
Show error messages for ajax application of coupons
2017-09-27 12:50:20 +01:00
José Marques
409a3a0141
Helper: replaces path on logo image to new Woo theme location path
2017-09-27 11:07:19 +01:00
Jeff Stieler
3a3ae914a3
Setup wizard: add TOS blurb to the “activate” step.
2017-09-26 15:10:30 -06:00
Valerie
f183344a9c
Wizard: Style footnote on last page
2017-09-26 15:10:30 -06:00
Valerie
83d7b03883
Wizard: Style next actions section
2017-09-26 15:10:29 -06:00
Valerie
2348faf9e5
Wizard: style newsletter form
2017-09-26 15:10:29 -06:00
Valerie
f4bc596664
Wizard: Make payment service email required
2017-09-26 15:10:29 -06:00
Valerie
5a7db686c5
Wizard: Add placeholder to flat rate cost input
2017-09-26 15:10:29 -06:00
Valerie
aee55f4b68
Wizard: Style shipping method selection
2017-09-26 15:10:29 -06:00
Valerie
17a97ca3f7
Wizard: Remove inline CSS for unit dropdowns
2017-09-26 15:10:28 -06:00
Valerie
4be979f322
Setup wizard: Style email input for payment service
2017-09-26 15:10:28 -06:00
Valerie
1dadabaa56
Setup wizard: Style store info form
2017-09-26 15:10:28 -06:00
Valerie
244296b814
Setup wizard: Update button style
2017-09-26 15:10:27 -06:00
Valerie
426c0c2743
Setup wizard: Style Jetpack logo
2017-09-26 15:10:27 -06:00
Valerie
24e3db78ec
Setup wizard: Style Jetpack feature sections
2017-09-26 15:10:27 -06:00
Valerie
0f04645bea
Setup wizard: Show correct shipping text on select
2017-09-26 15:10:27 -06:00
Valerie
1960b6bcd1
Setup wizard: Fix thick border in toggle list
2017-09-26 15:10:27 -06:00
Valerie
18deb4dc2e
Setup wizard: Style shipping unit selection
2017-09-26 15:10:26 -06:00
Valerie
43949c2b74
Setup wizard: Add shipping units descriptions
2017-09-26 15:10:26 -06:00
Valerie
fc5aa77259
Setup wizard: Style shipping method description
2017-09-26 15:10:26 -06:00
Daniel Rey Lopez
a5d8c371b4
Added logic to install the plugins and themes asynchronously but without using wp-cron
2017-09-26 15:10:25 -06:00
Daniel Rey Lopez
28964433fb
Added wrapper function for installing a theme
2017-09-26 15:10:25 -06:00
Daniel Rey Lopez
73183634d2
Removed unused "background" argument, since it's always true
2017-09-26 15:10:25 -06:00
Daniel Rey Lopez
5c867094cc
Remove unused install_jetpack() function parameter.
2017-09-26 15:10:25 -06:00
Jeff Stieler
3ba7617594
Setup wizard: change copy to “recommended” extras.
2017-09-26 15:10:24 -06:00
Jeff Stieler
09bbb1c3de
Setup wizard: update the copy in several places.
2017-09-26 15:10:24 -06:00
Jeff Stieler
5ced91d56f
Setup wizard: update comments to have ending punctuation and fix a few typos.
2017-09-26 15:10:24 -06:00
Jeff Stieler
47085db0b2
Setup wizard: refactor featured service check to be more efficient.
...
Use `empty()` instead of `isset()` and a comparison.
2017-09-26 15:10:24 -06:00
Jeff Stieler
e220926b65
Setup wizard: remove markup (where possible) from the translated Stripe service description.
2017-09-26 15:10:24 -06:00
Jeff Stieler
e4614b39e3
Setup wizard: make Stripe an opt-in gateway, rename “manual payments” to “offline” payments to align with the header text.
2017-09-26 15:10:24 -06:00
Jeff Stieler
e6dc95432a
Setup wizard: hide settings until a service is enabled.
2017-09-26 15:10:23 -06:00
Jeff Stieler
3a09d74ed4
Setup wizard: use email address of the current user (not the admin) on payments and “ready!” steps.
2017-09-26 15:09:44 -06:00
Jeff Stieler
27c6a3a141
Setup wizard: clean up unused array keys when determining Stripe country support.
2017-09-26 15:09:44 -06:00
Jeff Stieler
202808fdb8
Setup wizard: fix missing translations on payments step.
2017-09-26 15:09:43 -06:00
Jeff Stieler
3fda0f00a0
Setup wizard: remove contraction and add oxford comma to tailored “activate” step messaging.
2017-09-26 15:09:43 -06:00
Jeff Stieler
a3ce6b8e81
Setup wizard: fix coding standard issues with “activate” step tailored messaging.
2017-09-26 15:09:43 -06:00
Marcin Bot
5c3e505539
Fixed the way the Jetpack string is translated
2017-09-26 15:09:43 -06:00
Marcin Bot
d2116c576c
Tailored the Jetpack step message to the services selected
2017-09-26 15:09:42 -06:00
Jeff Stieler
592508fc49
Setup wizard: ensure that the current user can install plugins for any setup feature that requires it.
2017-09-26 15:09:42 -06:00
Jeff Stieler
e19db10be8
Setup wizard: short circuit the shipping zone setup earlier.
2017-09-26 15:09:42 -06:00
Jeff Stieler
4bf21b9724
Setup wizard: remove now unused locale and tax interactions from client side script.
2017-09-26 15:09:41 -06:00
Jeff Stieler
b5fba545f6
Setup wizard: set currency formatting options based on store location.
2017-09-26 15:09:41 -06:00
Jeff Stieler
6c08b9644b
Setup wizard: wait for in-progress Jetpack installation to complete before submitting form.
...
We need to know that Jetpack is active before moving to the next step. The previously logic fired off a synchronous installation that caused a race condition.
2017-09-26 15:09:41 -06:00
Jeff Stieler
c4c19623c0
Setup wizard: set flag for queued Jetpack installs.
...
This sets up the ability to avoid installation race conditions.
2017-09-26 15:09:41 -06:00
Jeff Stieler
337e3c02e4
Setup wizard: queue Jetpack installation ahead of payment gateways.
2017-09-26 15:09:41 -06:00
Jeff Stieler
c0bc74154d
Setup wizard: fix PHP warnings when saving shipping method settings.
2017-09-26 15:09:40 -06:00
Jeff Stieler
325cea86c6
Setup wizard: keep user in setup wizard in case of Jetpack connection error.
2017-09-26 15:09:40 -06:00
Jeff Stieler
b85d311dff
Setup wizard: save shipping method settings chosen on shipping step.
2017-09-26 15:09:40 -06:00
Jeff Stieler
081bcb2fc2
Setup wizard: refactor shipping method form rendering to group inputs into an array.
2017-09-26 15:09:39 -06:00
Jeff Stieler
96b0fcaacf
Setup wizard: simplify automated tax eligibility check.
...
Use the WC_Countries class to gather EU countries.
2017-09-26 15:09:39 -06:00
Jeff Stieler
e8ee3fd35a
Setup wizard: enable tax calculation if automated taxes are enabled.
2017-09-26 15:09:39 -06:00
Jeff Stieler
5642868436
Setup wizard: add method-specific settings and descriptions to shipping step.
2017-09-26 15:09:39 -06:00
Jeff Stieler
59ca25aba7
Setup wizard: fix UI block when HTML5 form validation fails.
2017-09-26 15:09:38 -06:00
Jeff Stieler
2e85ff1c0e
Setup wizard: revert to combined country/state selection in initial step.
2017-09-26 15:09:38 -06:00
Jeff Stieler
5f5a4da48d
Setup wizard: update “ready” step overall structure.
...
Removed tweet, updated text. Note: completely unstyled.
2017-09-26 15:09:38 -06:00
Jeff Stieler
1a8cb7a6a4
Setup wizard: update “activate” step overall structure.
...
Change the Jetpack feature descriptions, graphic, placement of CTA button. Note: completely unstyled.
2017-09-26 15:09:38 -06:00
Jeff Stieler
189fbd571b
Setup wizard: remove now unused “theme” step.
2017-09-26 15:09:37 -06:00
Jeff Stieler
1034dc597b
Setup wizard: “extras” step save handler.
2017-09-26 15:09:37 -06:00
Jeff Stieler
4daef097fd
Setup wizard: replace “theme” step with “extras” step.
...
Presentation only. Determine need for a WooCommerce theme and support for automated taxes, showing options to enable each. If the store isn’t eligible for either, hide the step entirely.
2017-09-26 15:09:37 -06:00
Jeff Stieler
90acbe97b4
Setup wizard: update shipping step save method.
...
The shipping step now detects if live rates can be configured and allows the user to add shipping methods to a domestic and international zone. Note: flat rate shipping still needs an input for rate.
2017-09-26 15:09:37 -06:00
Jeff Stieler
d1c5b8239b
Setup wizard: basic layout changes for shipping step.
...
Still needs finer touches in styling and dynamic descriptions for shipping method options.
2017-09-26 15:09:37 -06:00
Jeff Stieler
32dcfaa080
Setup wizard: fix PHP warning ‘undefined index’ in service item display method.
2017-09-26 15:09:36 -06:00
Valerie
666983bfaa
Setup wizard: Fix spacing
2017-09-26 15:09:36 -06:00
Valerie
afd9646c8f
Setup wizard: Add country-based intro to Shipping
2017-09-26 15:09:36 -06:00
Valerie
89f34c4996
Setup wizard: Fix typo
2017-09-26 15:09:10 -06:00
Valerie
e23aefef13
Setup wizard: Add toggle for manual payment list
2017-09-26 15:09:10 -06:00
Valerie
04574700a5
Setup wizard: Update Stripe featured style
...
- filter in-cart payment gateways by featured
- display featured and others in separate lists
2017-09-26 15:08:31 -06:00
Valerie
1eda1a026d
Setup wizard: Add function to display service rows
...
- Update style
- Use new reusable class 'wc-wizard-services' instead of
'wc-wizard-payment-gateways'
- Update JS script for toggling checkboxes
- Update payment gateways: in-cart and manual
- Update POST variable names in save function
2017-09-26 15:08:31 -06:00
Valerie
39028f082a
Setup wizard: Remove extra variable assignment
2017-09-26 15:07:14 -06:00
Valerie
32df816077
Setup wizard: Fix typo in PayPal Braintree description
2017-09-26 15:07:14 -06:00
Valerie
231f5190a2
Setup wizard: Fix Stripe description markup
2017-09-26 15:07:13 -06:00
Valerie
c79320d9e4
Setup wizard: Move tracking checkbox to end of page
2017-09-26 15:07:13 -06:00
Valerie
daabafbe24
Setup wizard: Add label for second address field
2017-09-26 15:07:13 -06:00
Jeff Stieler
65110cebea
Setup wizard: show previously selected product type and remove shipping step when selling digital products only.
2017-09-26 15:07:13 -06:00
Jeff Stieler
a196fdfc94
Setup wizard: install Jetpack and initiate connection flow when “saving” the activate step.
2017-09-26 15:07:12 -06:00
Jeff Stieler
99beab7070
Setup wizard: allow plugin install to happen immediately.
2017-09-26 15:07:12 -06:00
Jeff Stieler
a83bcd7c39
Setup wizard: install WooCommerce Services if Stripe gateway is enabled.
2017-09-26 15:07:12 -06:00
Jeff Stieler
11d145fbc8
Setup wizard: refactor plugin installation logic and use it in payment gateway save method.
2017-09-26 15:07:12 -06:00
Jeff Stieler
94936ccda0
Setup wizard: refactor WooCommerce Services installer logic to be reusable.
2017-09-26 15:07:11 -06:00
Jeff Stieler
14066f33ec
Setup wizard: add “skip” link to activate step.
2017-09-26 15:07:11 -06:00
Jeff Stieler
7e2ffa2043
Setup wizard: add “activate” step, modeled after theme step.
...
Initial commit - needs styling love and Jetpack connection hookup.
2017-09-26 15:07:11 -06:00
Jeff Stieler
a423098193
Setup wizard: remove “location” step.
2017-09-26 15:07:11 -06:00
Jeff Stieler
91dfc4875e
Setup wizard: remove “skip” link from payments step.
2017-09-26 15:07:10 -06:00
Jeff Stieler
c9dd317b2e
Setup wizard: differentiate between “in cart” and “manual” payment gateways.
...
This is in preparation to display the manual gateways behind a collapsable control.
2017-09-26 15:07:10 -06:00
Jeff Stieler
49443388d7
Setup wizard: check country for Stripe support before defaulting to it.
2017-09-26 15:07:10 -06:00
Jeff Stieler
70588a4a99
Setup wizard: update Stripe gateway description, default it to enabled.
2017-09-26 15:07:10 -06:00
Jeff Stieler
81773cc253
Setup wizard: replace “pages” step with “payments”.
2017-09-26 15:07:09 -06:00
Jeff Stieler
72c744e2d2
Setup wizard: remove (now) unused introduction step.
2017-09-26 15:07:09 -06:00
Jeff Stieler
9c45bd07c7
Setup wizard: save settings from initial “store setup” step.
2017-09-26 15:07:09 -06:00
Jeff Stieler
30fd62cfb8
Setup wizard: add “not right now” dashboard link on the initial wizard step.
2017-09-26 15:07:09 -06:00
Jeff Stieler
b159347cfb
Setup wizard: highlight first step in progress indicator.
2017-09-26 15:07:09 -06:00
Jeff Stieler
15d1edb180
Setup wizard: replaced “introduction” step with “store setup”.
...
New store setup step contains location, currency, page setup, and tracking opt-in. Form is display only.
2017-09-26 15:07:08 -06:00
Claudio Sanches
0c6392eeef
Display error message when it's impossible to get a sample of the file.
...
When the file is empty or using an incorrect charset will display just an empty screen, since we output errors before check if the file is valid.
I included the error output inside the mapping step in order to fix this issue, and added a new option to display buttons after the error message.
Closes #16928
2017-09-26 17:48:37 -03:00
claudiulodro
3723b95d7e
Make parse_date_for_wp_query public
2017-09-26 12:03:11 -07:00
Claudio Sanches
0eee99a508
Merge pull request #16945 from woocommerce/fix/16932
...
Save order paid date as GMT+0
2017-09-26 15:46:31 -03:00
Claudiu Lodromanean
64d7c6b1bc
Merge pull request #16944 from woocommerce/fix/16937
...
Handle full refunds in tax report by date
2017-09-26 11:29:38 -07:00
Claudiu Lodromanean
8d27180c02
Merge pull request #16943 from woocommerce/fix/16933
...
[REST API] Return empty result when there is no on_sale products
2017-09-26 11:07:25 -07:00
Claudio Sanches
4887f7c5be
Save order paid date as GMT+0
...
All dates should be saved as GMT+0 in order to make `WC_DateTime` work
correct.
Fixes #16932
2017-09-26 14:58:35 -03:00
Mike Jolley
120a39efd5
Handle full refunds in tax report by date
...
Fixes #16937
2017-09-26 18:27:53 +01:00
Claudio Sanches
ab1b100a36
[REST API] Return empty result when there is no on_sale products
...
This forces return an empty array as result when using `on_sale=true`.
By default `WP_Query` will return all results when `post__in` is equal
to `array()`, so changing to `array( 0 )` will force the expected
behavior.
Closes #16933
2017-09-26 14:02:33 -03:00
Claudio Sanches
2dd5288659
Fixed WC_Emails::wrap_message hooks
...
Included `null` instead of instances of `WC_Email`, fixing fatal error
for extensions that expects all params from both hooks.
Closes #16936
2017-09-26 13:27:50 -03:00
Claudio Sanches
966dd0d3be
Merge pull request #16939 from woocommerce/update/16909
...
Added screen reader text to quantity input template
2017-09-26 10:40:23 -03:00
Mike Jolley
c59b122299
Merge pull request #16929 from woocommerce/fix/16802
...
Load up gateways on ajax order status transitions
2017-09-26 14:39:31 +01:00
Mike Jolley
9c327f09db
Sale logic only applies to simple products - fixes tests
2017-09-26 12:53:38 +01:00
Mike Jolley
3a17d48af2
Added screen reader text to quantity input template
...
Closes #16909
2017-09-26 12:05:09 +01:00
Mike Jolley
00ae606381
Merge pull request #16924 from woocommerce/fix/wistia
...
Replace wistia videos with youtube
2017-09-26 11:32:45 +01:00
claudiulodro
a74ccdb4d1
https the oembed url
2017-09-25 14:48:05 -07:00
claudiulodro
4f5356160b
Dont load gateways unless we really need them
2017-09-25 14:37:13 -07:00
claudiulodro
c889908ac8
Load up gateways on ajax order status transitions
2017-09-25 14:34:43 -07:00
Claudio Sanches
b68b4eeb6b
Fixed 'Download %d URL' string
2017-09-25 14:14:55 -03:00
Claudio Sanches
9fc6615909
Removed new translatable string introduced in #16843
...
Fixes #16843
2017-09-25 14:13:50 -03:00
Mike Jolley
c325ebfb2e
Tweak branding in embed code
2017-09-25 15:15:41 +01:00
Mike Jolley
4ea80ffa9e
Youtube videos
2017-09-25 15:07:02 +01:00
Claudio Sanches
6164be51d3
Escape classes in data panel
2017-09-25 10:56:14 -03:00
Claudio Sanches
9b528678b0
Merge pull request #16920 from woocommerce/fix/16907
...
Handle sale dates on the fly in case of missed cron schedule.
2017-09-25 07:43:46 -06:00
Mike Jolley
4695d7a251
Handle sale dates on the fly in case of missed cron schedule.
...
Closes #16907
2017-09-25 14:19:20 +01:00
Claudio Sanches
8338baa594
Merge pull request #16916 from woocommerce/fix/16905
...
Reverse image logic in get_attachment_id_from_url
2017-09-25 07:08:51 -06:00
Claudio Sanches
76ac9e45c9
Merge pull request #16917 from woocommerce/fix/16902
...
Do not apply ordering to feeds
2017-09-25 07:07:55 -06:00
Mike Jolley
25337b21ce
If sorting by date in the REST API, fallback to ID
...
Ref: #16911
2017-09-25 13:31:25 +01:00
Mike Jolley
83a64c048d
Do not apply ordering to feeds
...
Closes #16902
2017-09-25 13:08:08 +01:00
Mike Jolley
a8ab4860ca
Reverse image logic in get_attachment_id_from_url
...
Closes #16905
2017-09-25 12:58:25 +01:00
Mike Jolley
6c7aa18199
Merge remote-tracking branch 'origin/master'
2017-09-25 12:22:55 +01:00
Mike Jolley
4f9b886d09
Merge branch 'pr/16871'
2017-09-25 12:22:24 +01:00
Mike Jolley
45aaa22bb9
correct isset
2017-09-25 12:22:17 +01:00
Mike Jolley
a6cd67c704
Merge pull request #16890 from gtritchie/master
...
Allow registration to redirect to same page
2017-09-25 12:19:31 +01:00
Gary Ritchie
cc44e72e61
sanitize _POST
2017-09-22 20:52:38 -07:00
Gary Ritchie
552fa3d107
Merge remote-tracking branch 'upstream/master'
2017-09-22 20:31:00 -07:00
claudiulodro
2e4b514a7f
Modify product API returned data by context
2017-09-22 10:52:30 -07:00
Mike Jolley
3cd46c6119
Merge pull request #16887 from Miller-Media/fix/16884
...
Add check for 0 as a string
2017-09-22 14:19:58 +01:00
Mike Jolley
35740448a0
Merge pull request #16885 from woocommerce/fix/16845
...
Move js clipboards off zeroclipboard
2017-09-22 14:18:44 +01:00
Mike Jolley
5d36e6a9c8
Merge pull request #16886 from woocommerce/fix/16879
...
Move couple things out of "foreach" loop
2017-09-22 14:17:25 +01:00
Gary Ritchie
a25d3c8af4
Allow registration to redirect to same page
...
Fixes #16889
2017-09-21 20:50:45 -07:00
Brent Shepherd
89e932c338
Fix shipping tax when calling calculate_shipping()
...
The $shipping_taxes is a multidimensional array so array_sum() does not
correctly sum the values. The $merged_taxes is a single level array with
all other taxes set, so array_sum() can be safely used on it.
2017-09-21 16:48:32 -07:00
Matt Miller
c87762177b
Add check for 0 as a string
2017-09-21 16:21:49 -07:00
claudiulodro
ee30de89a8
Shuffle things around to prevent errors and for better performance
2017-09-21 14:06:44 -07:00
claudiulodro
279ac6814c
Move clipboards off zeroclipboard
2017-09-21 13:09:36 -07:00
Claudiu Lodromanean
abc43c473e
Merge pull request #16877 from nicoladj77/patch-1
...
Check for nonce when Cancelling Order.
2017-09-21 10:27:12 -07:00
Claudiu Lodromanean
e713b5beb3
Merge pull request #16869 from woocommerce/fix/16861
...
Fix legacy access to array props (fees, taxes, coupon totals + taxes)
2017-09-21 09:47:29 -07:00
claudiulodro
d5981b34e8
Remove redundant rendundancy in deprecation notices
2017-09-21 09:45:38 -07:00
Matt Miller
a871d36380
Added wp_unslash() to address fields on the checkout page ( #16874 )
...
* Added wp_unslash() to address fields on the checkout page
* Cleaned up code indentation
* Added wp_unslash() function on remaining POST address fields on checkout
2017-09-21 17:37:27 +01:00
Claudiu Lodromanean
3063825c4d
Merge pull request #16867 from woocommerce/fix/16853
...
Add legacy shipping conditon
2017-09-21 09:24:14 -07:00
Claudiu Lodromanean
5e24b86d61
Merge pull request #16866 from woocommerce/fix/16840
...
Add subtotal to min and max spend code
2017-09-21 09:08:34 -07:00
Claudiu Lodromanean
3440460127
Merge pull request #16865 from woocommerce/fix/16862
...
remove spam field
2017-09-21 09:06:08 -07:00
Nicola Peluchetti
74bea6ec7d
Check for nonce when Cancelling Order.
2017-09-21 03:08:06 +03:00
Brent Shepherd
470c5f7a1d
Use __FUNCTION__ for filter hook name
...
To avoid including the WC_Cart class name and a double colon.
Example hook from WC_Cart::get_total():
* Before this PR: woocommerce_cart_WC_Cart::get_total
* After this PR: woocommerce_cart_get_total
2017-09-20 14:45:37 -07:00
Mike Jolley
5151415eec
Merge branch 'discounts-class-fixes-and-tests'
2017-09-20 18:44:18 +01:00
Mike Jolley
9c63da78c4
Fixed limit to x by avoiding changing the original item (uses clone)
2017-09-20 18:42:10 +01:00
Mike Jolley
21dfde842a
Revised coupon sort order to not rely on IDs which can differ between cart and tests
...
Also edited test to match
2017-09-20 18:41:48 +01:00
Shakeeb Sadikeen
da6a37c0d1
fixed : custom tab with no class error
...
when class is not passed with custom tab. echo's undefined index error with classes fixed
2017-09-20 22:14:58 +05:30
Mike Jolley
c0542be4ff
Merge branch 'pr/16841'
2017-09-20 15:47:37 +01:00
Mike Jolley
3d9902c4d5
Page template should have higher priority.
2017-09-20 15:47:30 +01:00
Mike Jolley
eb79566985
Fix legacy access to array props (fees, taxes, coupon totals + taxes)
...
Closes #16861
2017-09-20 15:39:05 +01:00
Mike Jolley
f1f3a6fbc0
Add legacy shipping conditon
...
Closes #16853
2017-09-20 14:11:47 +01:00
Mike Jolley
9e1bd3c54d
phpcs
2017-09-20 14:03:06 +01:00
Mike Jolley
2c70444123
Add subtotal to min and max spend code
...
Closes #16840
2017-09-20 13:51:41 +01:00
Mike Jolley
6aea8d0718
Wrap conditonal in add to cart shortcode string output
...
Closes #16856
2017-09-20 13:18:16 +01:00
Mike Jolley
d52677b0ac
Fix like query escape in background processing
...
Closes #16846
2017-09-20 12:46:27 +01:00
Mike Jolley
c91cd01379
remove spam field
...
Closes #16862
2017-09-20 11:51:33 +01:00
Mike Jolley
04ba489628
Merge pull request #16835 from thenbrent/tweak_internal_meta_message
...
Tweak internal meta notice
2017-09-20 03:39:56 -07:00
Mike Jolley
de1eceb95e
Merge pull request #16843 from woocommerce/fix/16800
...
Make importer columns case-insensitive
2017-09-20 03:39:27 -07:00
claudiulodro
133b664cc3
Only set prices if set in request
2017-09-17 11:44:00 -07:00
claudiulodro
9d8e308a78
Make importer columns case-insensitive
2017-09-17 10:18:03 -07:00
Claudiu Lodromanean
f9120672bd
Merge pull request #16767 from hjoelr/bugfix-coupon-cache
...
Bugfix: coupon object cache not being cleared upon deletion
2017-09-17 09:45:45 -07:00
Claudiu Lodromanean
2bf8a742f2
Merge pull request #16838 from woocommerce/fix/16834
...
Init price slider after using customizer
2017-09-17 09:24:07 -07:00
Emran Ahmed
066a857d19
Supporting Custom Post Type Template
...
Supporting Custom Post Type Template for Single Product.
2017-09-17 02:22:05 +06:00
Mike Jolley
d125739742
fix init
2017-09-16 12:37:29 -07:00
Claudiu Lodromanean
75279ddfbc
Merge pull request #16824 from woocommerce/fix/16778
...
Ensure we have arrays in find/replace
2017-09-16 12:36:10 -07:00
Mike Jolley
2bbeab247c
Merge pull request #16822 from woocommerce/fix-16821
...
Remove extra space in tax state code
2017-09-15 16:43:41 -07:00
Mike Jolley
a62bb30200
Merge pull request #16803 from iamdharmesh/master
...
Apply filter on product csv importer steps.
2017-09-15 16:39:20 -07:00
Mike Jolley
8973a0cdad
Merge pull request #16797 from Umangvaghela/add-esc_html
...
add esc_html in class-wc-checkout.php file
2017-09-15 16:37:50 -07:00
Brent Shepherd
81b9160973
Add offending key to error message
2017-09-15 15:58:34 -07:00
Brent Shepherd
f404affff4
Tweak internal meta notice
...
To remove ambiguity with accessing properties via $object->meta_key
syntax, which was deprecated with WC 3.0.
2017-09-15 15:48:53 -07:00
Mike Jolley
d3da954133
Move cart totals setter for 3.1 compat
...
Closes #16794
2017-09-15 11:15:50 -07:00
Umangvaghela
e38d01bcfa
Resolve Issue
2017-09-15 10:54:30 -07:00
Mike Jolley
11d6b4e7d8
Ensure we have arrays in find/replace
...
Closes #16778
2017-09-14 17:37:23 -07:00
corsonr
e9cc8242ce
Remove extra space in tax state code
...
Fixes #16821
Spaces shouldn’t allowed in tax state code, only 2 letters are required.
2017-09-14 15:50:25 -07:00
Mike Jolley
bac98218f3
Merge pull request #16782 from hjoelr/bugfix-discounts-wrong-var
...
Bugfix: Discounts not using the right variable
2017-09-14 11:32:27 -07:00
Mike Jolley
f9719c79eb
Merge pull request #16795 from hjoelr/bugfix/freeshipping-coupon
...
Bugfix: Resolve 'non-numeric value encountered' error in PHP 7.1 when freeshipping coupon used
2017-09-14 11:31:17 -07:00
Dharmesh Patel
d877ab31c5
Apply filter on product csv importer steps.
2017-09-13 23:56:15 +05:30
Umangvaghela
37edbbedf5
add esc_html in class-wc-checkout.php file
2017-09-13 13:01:59 +05:30
Joel Rowley
458a6c87c7
Resolve 'non-numeric value encountered' error in PHP 7.1 when freeshipping coupon used
2017-09-12 21:33:43 -04:00
Joel Rowley
bb5cb38832
Bugfix: Discounts not using the right variable
2017-09-11 15:56:49 -04:00
Joel Rowley
521bde2fba
Bugfix: coupon object cache not being cleared upon deletion
2017-09-09 22:47:25 -04:00
nils-fredrik@maksimer.no
39bde22e56
Apply filter to posted data in checkout.
2017-09-08 21:34:55 +02:00
Claudio Sanches
419244051e
Merge pull request #16743 from woocommerce/update/rest-base-request-uri
...
API - use current scheme
2017-09-08 14:49:23 -03:00
Claudiu Lodromanean
213bfabb24
Merge pull request #16763 from woocommerce/fix/16757
...
Update shipping code to see if full address has been entered before showing no shipping notice
2017-09-08 09:43:23 -07:00
Claudiu Lodromanean
fcb7da5599
Merge pull request #16760 from woocommerce/update/16746
...
Handle external URLs for images
2017-09-08 09:33:37 -07:00
Mike Jolley
a7b2ae8661
Update shipping code to see if full address has been entered before showing no shipping notice
...
Fixes #16757
2017-09-08 14:54:15 +01:00
Michal Zuber
21c25f326b
Remove dupe check
...
Already checked at 0337293e39/includes/abstracts/abstract-wc-product.php (L1593)
2017-09-08 14:25:02 +02:00
Mike Jolley
d09d7d1358
wc_get_relative_url/wc_is_external_resource helpers
2017-09-08 12:20:03 +01:00
Mike Jolley
0337293e39
Merge pull request #16753 from hjoelr/bugfix-calc-disc-sequentially
...
Bugfix: woocommerce_calc_discounts_sequentially checks were doing the opposite of the WC setting
2017-09-08 11:44:43 +01:00
Mike Jolley
1f1903bcf4
Merge pull request #16752 from hjoelr/bugfix-double-precision
...
Bugfix: wc_remove_number_precision() indirectly called twice from get_discount()
2017-09-08 10:57:09 +01:00
Joel Rowley
3b166b6a44
Bugfix: woocommerce_calc_discounts_sequentially checks were doing the opposite of the WC setting
2017-09-07 21:43:27 -04:00
Joel Rowley
e6530a3555
Bugfix: wc_remove_number_precision() indirectly called twice from get_discount()
2017-09-07 21:34:58 -04:00
claudiulodro
ccade24ce5
Only set some fields on new orders
2017-09-07 13:50:47 -07:00
Mike Jolley
ee3ea1b739
Only make http resources relative - https can be left alone.
...
Closes #16737
2017-09-07 16:55:29 +01:00
Mike Jolley
b0cb64b93d
API - use current scheme
...
This caused issues for me locally forcing http to test requests. Ok to
change @claudiosanches ?
2017-09-07 15:32:29 +01:00
Mike Jolley
a8a33c8f0d
Merge pull request #16717 from woocommerce/refactore/wc_maybe_define_constant
...
Use wc_maybe_define_constant() in all places
2017-09-07 12:16:13 +01:00
Mike Jolley
fe6608f2b7
Merge pull request #16738 from woocommerce/fix/16733
...
Support numeric coupon errors in is_coupon_valid
2017-09-07 12:15:51 +01:00
Mike Jolley
199eb78304
Support numeric coupon errors in is_coupon_valid
2017-09-07 11:14:05 +01:00
Boro Sitnikovski
d0db4c6934
Reintroduce find and replace variables
2017-09-07 09:58:54 +02:00
Claudio Sanches
f6375b64d7
Removed old test
2017-09-06 20:25:41 -03:00
Claudio Sanches
4e9cf1c598
Restored WooCommerce->define access to private
2017-09-06 14:47:35 -03:00
Claudio Sanches
f8f9c7b04c
Merge branch 'master' into add_to_cart_variation
2017-09-06 14:33:57 -03:00
Claudiu Lodromanean
1d165009d0
Merge pull request #16711 from woocommerce/update/16703
...
Auto update db filter
2017-09-06 09:32:16 -07:00
Claudio Sanches
a785824d64
Merge pull request #16726 from woocommerce/fix/variation-add-to-cart-support
...
Variation ID add to cart support
2017-09-06 13:16:46 -03:00
Mike Jolley
7fefc5f5b5
Revise logic to deal with variation IDs
2017-09-06 17:05:21 +01:00
Mike Jolley
6fee915fdb
phpcs
2017-09-06 16:47:48 +01:00
Claudio Sanches
45debc0b47
Merge pull request #16722 from woocommerce/fix/16720
...
Add option to disable validation when applying coupons
2017-09-06 11:37:59 -03:00
Mike Jolley
90f227da69
Shortcode rand sorting
2017-09-06 14:36:14 +01:00
Mike Jolley
6ff78e29fe
Fix conditonal on cart redirect
...
Closes #16724
2017-09-06 13:44:30 +01:00
Mike Jolley
d08bf4b489
Add option to disable validation when applying coupons
...
Closes #16720
2017-09-06 11:26:34 +01:00
Mike Jolley
2aa735a334
Merge pull request #16709 from woocommerce/fix/16705
...
Legacy find/replace handling for emails.
2017-09-06 10:57:17 +01:00
Mike Jolley
10a873a808
Remove find/replace definition
2017-09-06 10:52:45 +01:00
Mike Jolley
f041155f8a
Merge pull request #16713 from woocommerce/fix/php-notice-on-item-order
...
Fix PHP notice on item order
2017-09-06 10:51:37 +01:00
Mike Jolley
9c5765b625
This should be off by default
2017-09-06 10:49:03 +01:00
Mike Jolley
5e052a27c4
Merge pull request #16718 from woocommerce/fix/16678
...
Preserve the behavior of wc_price filter
2017-09-06 10:41:15 +01:00
Mike Jolley
e0a01d7018
syntax error
2017-09-06 10:40:40 +01:00
Brian Henry
6cf9f45978
Always apply woocommerce_countries_allowed_countries filter
...
'woocommerce_countries_allowed_countries' filter previously was not applied when 'all' was the selected option.
2017-09-05 16:37:29 -07:00
Claudio Sanches
97498ba975
Preserve the behavior of wc_price filter
...
The default behavior as been changed after #16678
Current 3rd party integrations should already be expecting the price as a
formatted string.
Closes #16678
2017-09-05 17:38:17 -03:00
Claudio Sanches
a13158a75a
Apply wc_maybe_define_constant() in all places
2017-09-05 16:52:39 -03:00
Claudio Sanches
f98aeb5b91
Use WC()->define() into wc_maybe_define_constant()
2017-09-05 16:51:09 -03:00
Boro Sitnikovski
5224eab917
Update PR with new logic
2017-09-05 19:56:56 +02:00
James Golovich
562912a27a
Allow variable products to be added via simple HTTP Request
...
Matches existing behavior of simple products that allow adding via a URL link.
2017-09-05 09:12:53 -07:00
Gabor Javorszky
d3ade84852
Add cart object to filters with quantity updates
...
No issue.
Other filters (remove cart item, restore cart item) have the cart object passed as well. These ones should be too.
2017-09-05 16:40:44 +01:00
Boro Sitnikovski
85e3cee634
Use prop getters/setters instead
2017-09-05 15:17:16 +02:00
Boro Sitnikovski
ff9316b093
Fix PHP notice on item order
2017-09-05 14:06:13 +02:00
Mike Jolley
990e33dd07
Remove debug
2017-09-05 11:56:02 +01:00
Mike Jolley
a4a9badbb9
Refactor and introduce `woocommerce_enable_auto_update_db`
2017-09-05 11:54:17 +01:00
Mike Jolley
5c5a8f4e8e
Helper functions
2017-09-05 11:54:04 +01:00
Mike Jolley
cbe4e26c97
Legacy find/replace handling
...
Closes #16705
2017-09-05 10:15:32 +01:00
Mike Jolley
16dd43c9dc
Blockui
2017-09-04 18:11:51 +01:00
Mike Jolley
1fb572f9ee
Remove columns
2017-09-04 18:05:34 +01:00
Mike Jolley
2a71a66fc9
Order screen refinements and preview window
2017-09-04 17:42:31 +01:00
Mike Jolley
056720d3e7
Search within current terms to reduce meta query
...
Closes #16591
2017-09-04 12:57:28 +01:00
Mike Jolley
671a4d7b21
Merge pull request #16687 from pmgarman/patch-2
...
Match the database sizes up with the right labels
2017-09-04 10:17:49 +01:00
Mike Jolley
42e19f1bb8
Merge pull request #16678 from Drivingralle/patch-3
...
Pass unformated price into filter to allow better overwrite
2017-09-04 10:15:51 +01:00
Patrick Garman
05c27f0f70
Match the database sizes up with the right labels
2017-09-02 18:56:29 -05:00
Claudio Sanches
a37741b842
Merge pull request #16682 from woocommerce/fix/16681
...
Remove featured image on empty image array
2017-09-01 17:42:38 -03:00
claudiulodro
8c523ee0b9
Remove featured image on empty image array
2017-09-01 11:14:48 -07:00
Anton Timmermans
f73c198404
Cache currencies for performance
2017-09-01 18:30:08 +02:00
Ralf Wiechers
245c354209
Pass unformated price into filter to allow better overwrite
...
Attempt to fix #16674 .
Tried to add som PhpDocs to make
2017-09-01 17:50:06 +02:00
Mike Jolley
845b7a570e
Merge remote-tracking branch 'origin/master'
2017-09-01 11:02:20 +01:00
Mike Jolley
91f1f63100
Code standards
2017-09-01 11:02:11 +01:00
Mike Jolley
e4d113e755
Merge pull request #16666 from woocommerce/fix/16654
...
Prevent reordering variable products if no variation set.
2017-09-01 10:25:02 +01:00
Boro Sitnikovski
d934bf89e1
Use proper variable scoping on class level instead of function level
2017-09-01 10:46:29 +02:00
james
1820c6a99d
Fix Issue #16663 . Moved meta creation to `prepare_object_for_database`.
2017-08-31 18:17:14 +01:00
claudiulodro
b37f7c8c23
Prevent reordering variable products if no variation set.
2017-08-31 09:54:14 -07:00
Claudiu Lodromanean
29c99d629c
Merge pull request #16662 from woocommerce/fix/16659
...
Better handling for legacy email find/replace filters
2017-08-31 09:07:22 -07:00
james
ce39e3aaa8
Fix Issue #16663 .
2017-08-31 14:01:24 +01:00
Mike Jolley
1a8a16c79c
Merge pull request #16661 from Umangvaghela/fixissue
...
fix issue
2017-08-31 12:22:15 +01:00
Mike Jolley
21bd0e5397
Better handling for legacy email find/replace filters
...
Closes #16659
2017-08-31 12:21:02 +01:00
Umangvaghela
16e51760ec
fix #16656
2017-08-31 16:34:17 +05:30
Mike Jolley
1e9e6c461f
Unit test for #16653
2017-08-31 11:42:19 +01:00
Claudio Sanches
a2d0069e2f
Fixed docblocks and conditionals
2017-08-30 19:30:46 -03:00
Claudio Sanches
3d3f570746
Reduced number of conditionals in WC_Shortcode_Products class
2017-08-30 18:18:15 -03:00
Mike Jolley
d58a09e76a
Merge branch 'master' into helper-updates
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
2017-08-30 21:22:48 +01:00
Konstantin Kovshenin
4a5d0c3ec3
Helper: Clean up unused code.
2017-08-30 18:39:45 +03:00
Mike Jolley
2da895c68d
Update price if product type changes
...
Fixes #16650
2017-08-30 16:23:57 +01:00
Konstantin Kovshenin
64467a0925
Helper: Cache a zero updates count if update data is not available or empty.
2017-08-30 17:46:33 +03:00
Mike Jolley
fce69c3dad
Fix status page padding
2017-08-30 15:39:54 +01:00
Konstantin Kovshenin
ebb5bfc521
Helper: Better markup for filters output.
2017-08-30 17:39:02 +03:00
Konstantin Kovshenin
b5f1692ff3
Helper: Unify update-count markup into a single helper method.
2017-08-30 17:19:06 +03:00
Konstantin Kovshenin
a9619da513
Merge branch 'helper-updates' of github.com:woocommerce/woocommerce into helper-updates
2017-08-30 17:12:36 +03:00
Konstantin Kovshenin
a59ce3b6b1
Helper: Change woo- prefix to woocommerce-com-.
2017-08-30 17:07:37 +03:00
Mike Jolley
8ffbd331e0
Merge pull request #16644 from woocommerce/feature/15979-4
...
Allow select visibility in product shortcodes
2017-08-30 12:16:46 +01:00
Mike Jolley
b0a9cd935e
Merge pull request #16640 from leewillis77/feature/plugin-compat-on-status-report
...
Flag untested extensions on the status report
2017-08-30 11:41:02 +01:00
Lee Willis
e3be6a12dd
Check all plugins for presence in the untested plugins list, not just WooCommerce ones
2017-08-30 10:25:01 +01:00
Lee Willis
5400bbaf6d
Use array_key_exists() instead of in_array()
2017-08-30 10:16:49 +01:00
Claudio Sanches
6dc58b4f6a
Allow select visibility in product shortcodes
...
Ref #15979
2017-08-29 18:29:29 -03:00
Lee Willis
cec5fef23c
Flag untested extensions on the status report
2017-08-29 17:15:16 +01:00
claudiulodro
1fc98e3ba7
Query objects can also return objects
2017-08-29 08:36:50 -07:00
Claudiu Lodromanean
bee9a35e72
Merge pull request #16593 from woocommerce/update/search-order-16565
...
Show sorting on search results but default to relevance
2017-08-29 07:48:26 -07:00
Mike Jolley
7e76b87039
Merge pull request #16596 from woocommerce/fix/16594
...
Manual coupons support
2017-08-29 13:46:13 +01:00
Mike Jolley
2fbecb20ad
Merge pull request #16633 from woocommerce/fix/cart-index
...
Fall back to defaults if not set in cart
2017-08-29 12:45:21 +01:00
Mike Jolley
fe847630b2
Tests when tax is not enabled
2017-08-29 12:38:35 +01:00
Mike Jolley
c29b9acb5b
Fix variable name
...
Closes #16636
2017-08-29 11:19:03 +01:00
Mike Jolley
8703481742
Merge pull request #16601 from ethitter/add/disable-mkdir
...
Allow install-related directory creation to be bypassed
2017-08-29 11:12:24 +01:00
José Marques
09ddc43171
Helper: removes brackets from update counter indicator
2017-08-29 10:52:57 +01:00
José Marques
9cc3840de4
Helper: convert filter markup into a list
2017-08-29 10:11:47 +01:00
Mike Jolley
e0b4d59bb6
Merge pull request #16566 from franticpsyx/reload-order-items-on-add
...
Reload items table after adding line item manually
2017-08-29 10:08:29 +01:00
Mike Jolley
144520db25
Merge pull request #16612 from Miller-Media/master
...
Absolute value for gmt_offset in scheduled sales
2017-08-29 10:07:44 +01:00
Manos Psychogyiopoulos
a55c2714f5
Do away with 'new_row' class
2017-08-29 12:02:02 +03:00
Mike Jolley
66d0a8560d
Merge pull request #16611 from iamdharmesh/master
...
fixed issue #16610
2017-08-29 10:00:43 +01:00
Mike Jolley
5a026cd016
Merge pull request #16608 from shivapoudel/unused-styles
...
Remove unused product taxonomy styles
2017-08-29 09:59:11 +01:00
Konstantin Kovshenin
8b46283ca6
Helper: Fix some WPCS errors.
2017-08-29 10:23:34 +03:00
claudiulodro
734ed70462
Fall back to defaults if not set in cart
2017-08-28 14:12:35 -07:00
Claudio Sanches
f48a5443e4
Updated the shortcode attributes for the new names
2017-08-28 17:57:39 -03:00
Claudio Sanches
acad44e3c9
Auto map legacy attributes to the new ones
2017-08-28 17:45:56 -03:00
Claudio Sanches
8115886433
Improved WC_Shortcode_Products possible attributes names
2017-08-28 17:27:35 -03:00
Matt Miller
42e6d4dffe
Removed extra tab character
2017-08-28 13:25:20 -07:00
Claudio Sanches
08db6a91c8
Merge pull request #16631 from woocommerce/feature/pre-search-customers
...
Pre query filter for search customer method.
2017-08-28 17:18:52 -03:00
Claudio Sanches
c571b6767b
Merge pull request #16606 from woocommerce/update/widgets-16132
...
Widget depth settings and improvements
2017-08-28 16:37:05 -03:00
Claudio Sanches
c9dc585a7f
Fixed coding standards
2017-08-28 16:36:32 -03:00
Matt Miller
a9db02d340
Variable update on sale schedule event fix
...
Removed extra variable declaration
2017-08-28 12:35:11 -07:00
Claudio Sanches
c03520a661
Allow pre query filter return an empty array
2017-08-28 16:23:12 -03:00
Claudio Sanches
d5aae55725
Prevent "Argument #N is not an array" warning when WP_User_Query returns null
2017-08-28 16:15:19 -03:00
Claudio Sanches
f8c18ba899
Introduced pre query filter to WC_Customer_Data_Store::search_customers()
2017-08-28 16:14:13 -03:00
Claudiu Lodromanean
b46262c3c6
Merge pull request #16613 from woocommerce/feature/15979-2
...
Allow [products] to be used instead of any other product shortcode
2017-08-28 10:35:03 -07:00
Claudiu Lodromanean
c36a6811c5
Merge pull request #16600 from woocommerce/feature/15979
...
Introduces WC_Shortcode_Products class
2017-08-28 10:33:35 -07:00
Konstantin Kovshenin
a3b08d6497
Merge remote-tracking branch 'origin/master' into helper-updates
2017-08-28 13:46:14 +03:00
Konstantin Kovshenin
94dbdc86b9
Helper: Add "shared" labels for shared subscriptions.
2017-08-28 11:59:13 +03:00
Konstantin Kovshenin
6b14b83cd2
Helper: Make sure redirect actions preserve selected filters.
2017-08-28 11:53:31 +03:00
Konstantin Kovshenin
5fded42d28
Helper: Add subscriptions filters.
2017-08-28 11:39:41 +03:00
Konstantin Kovshenin
51a2d45578
Helper: Make sure transients are not empty before setting again.
2017-08-28 10:53:48 +03:00
Konstantin Kovshenin
578f25ebdc
Helper: Don't display (0) in top navigation when no updates available.
2017-08-28 10:32:51 +03:00
Konstantin Kovshenin
0cafd1a499
Helper: Refresh update transients when refreshing update data.
2017-08-28 10:31:08 +03:00
Konstantin Kovshenin
d854f92ee1
Helper: Cache update count fetch and clear cache after an update.
2017-08-28 10:23:33 +03:00
Konstantin Kovshenin
a41d5da411
Helper: Add update-count to the Extensions top nav menu.
2017-08-28 10:01:01 +03:00
Konstantin Kovshenin
9f3403af06
Helper: Add a plugin-count to the Extensions admin menu.
2017-08-28 09:52:59 +03:00
Claudio Sanches
500ee02dfa
Allow [products] to be used instead of any other product shortcode
...
This allow `[products]` to be used instaed of `[product_category]`,
`[featured_products]`, `[sale_products]`, `[best_selling_products]`,
`[recent_products]`, and `[top_rated_products]`.
Ref #15979
2017-08-25 20:04:53 -03:00
Claudio Sanches
b6f789fc56
Improved WC_Shortcode_Products code
2017-08-25 19:39:43 -03:00
Matt Miller
34b64764c7
Absolute value for gmt_offset in scheduled sales
...
In the event that you choose a -GMT value, the values are incorrect in some instances. For examples, if we choose a -7 GMT value, the gmt_offset will evaluate to '-7'.
On line 309, $ve will equal '+'.
On line 312, previously, $ve . get_option( 'gmt_offset' ) would evalute to '+-7'.
2017-08-25 15:25:39 -07:00
Claudio Sanches
b032a82381
Fixed coding standards
2017-08-25 19:25:19 -03:00
Claudio Sanches
32ea76f09f
Render product_attribute shortcode results with WC_Shortcode_Products
2017-08-25 19:07:10 -03:00
Claudio Sanches
ddeea547b1
Use WC_Shortcode_Products inside featured_products shortcode
2017-08-25 18:42:02 -03:00
Dharmesh Patel
ce764eb6ba
fixed issue #16610
2017-08-26 00:36:06 +05:30
Claudio Sanches
72df581c6f
Use WC_Shortcode_Products inside top_rated_products shortcode
2017-08-25 15:55:34 -03:00
Shiva Poudel
1bc1bc7201
Remove unused product taxonomy styles
2017-08-26 00:08:33 +05:45
Mike Jolley
31a90bdd85
Handle prices including tax calcs
2017-08-25 18:21:27 +01:00
Mike Jolley
4ac1ed84cc
Fallback no coupon data
2017-08-25 16:15:28 +01:00
Mike Jolley
2682d86660
Move comment
2017-08-25 16:09:56 +01:00
Boro Sitnikovski
3cd1bedade
Set coupon virtual state on when initializing virtual coupons during recalculation
2017-08-25 17:07:07 +02:00
Claudio Sanches
c0da59d75a
Use WC_Shortcode_Products inside best_selling_products shortcode
2017-08-25 11:46:47 -03:00
Claudio Sanches
3dabdda480
Apply WC_Shortcode_Products class into sale_products shortcode
2017-08-25 11:00:48 -03:00
Mike Jolley
961c190985
Comments
2017-08-25 14:42:56 +01:00
Mike Jolley
1c303c159c
Notes
2017-08-25 12:52:49 +01:00
Mike Jolley
9fa685eb71
wp_dropdown_categories is viable again!
2017-08-25 12:49:51 +01:00
Mike Jolley
55d75cdcb7
Add max depth option to widget
...
Closes #16132
2017-08-25 12:49:40 +01:00
Mike Jolley
ff5228e944
Standardise widget titles and descriptions
...
Follow the same pattern as core WP widgets, including title case.
Avoids terms like ‘layered nav’ which has no real meaning to new users.
2017-08-25 12:07:17 +01:00
Mike Jolley
3b3ceebc1f
Merge pull request #16579 from Chouby/action_before_import
...
Add action woocommerce_product_import_before_import
2017-08-25 11:19:20 +01:00
Erick Hitter
aa881a0c47
Clarify inline doc
2017-08-24 21:42:32 -07:00
Erick Hitter
c43155aff7
Allow directory creation to be bypassed
2017-08-24 21:16:32 -07:00
Claudio Sanches
0cea847c63
Renamed $loop_name to $type
2017-08-24 22:22:42 -03:00
Claudio Sanches
d7bea55aae
Use WC_Shortcode_Products to render product shortcode results
2017-08-24 22:16:42 -03:00
Claudio Sanches
9b1a047c6f
Use WC_Shortcode_Products inside recent_products shortcode
2017-08-24 21:31:58 -03:00
Claudio Sanches
71019aadfe
Moved woocommerce_shortcode_products_query filter to parse_query_args
2017-08-24 21:24:51 -03:00
Claudio Sanches
461066d2b1
Allow query products by category on products shortcode
2017-08-24 21:24:05 -03:00
Claudio Sanches
429aecd400
Allow set loop name
2017-08-24 20:20:14 -03:00
Claudio Sanches
a398e4893c
Fixed static method and added default value for construct method
2017-08-24 20:11:18 -03:00
Claudio Sanches
51e80b944b
Apply new WC_Shortcode_Products class into WC_Shortcodes::products
2017-08-24 19:33:14 -03:00
Claudio Sanches
7958f9cca9
Ignore coding standards
2017-08-24 19:17:18 -03:00
Claudio Sanches
84cf4d0be8
Fixed query args
2017-08-24 18:59:04 -03:00
Rami Yushuvaev
323c177bb0
i18n: Avoid using HTML tags in translation strings
...
Old translation string:
* `If you like <strong>WooCommerce</strong> please leave us a %s rating. A huge thanks in advance!`
New translation string:
* `If you like %1$s please leave us a %2$s rating. A huge thanks in advance!`
2017-08-25 00:39:13 +03:00
Claudio Sanches
4f18cea88b
Removed extra comments, params and static method
2017-08-24 15:30:44 -03:00
Claudio Sanches
321832ade4
Introduced new WC_Shortcode_Products class
2017-08-24 15:29:30 -03:00
Mike Jolley
1e65a918d5
Pull meta to apply coupons which do not exist
2017-08-24 17:08:45 +01:00
Mike Jolley
8b4086caf2
Hide link to non-existing coupons
2017-08-24 17:08:34 +01:00
Mike Jolley
487478daa9
Store details about the original coupon
2017-08-24 17:07:49 +01:00
Mike Jolley
b84efc1acd
is_virtual to track manual coupons
2017-08-24 17:07:39 +01:00
Mike Jolley
8ce583889a
Apply filters to carts only, and add is_virtual helper
2017-08-24 17:07:31 +01:00
Claudio Sanches
abb9886df1
Merge pull request #16592 from woocommerce/fix/16587
...
If no title is set when uploading images, use filename
2017-08-24 12:05:48 -03:00
Mike Jolley
220b37d5f2
Show sorting on search results but default to relevance
...
Closes #16565
2017-08-24 12:58:50 +01:00
Mike Jolley
7a817ee103
Added back missing discount row
...
Closes #16586
2017-08-24 12:49:49 +01:00
Mike Jolley
8e6085b2c0
If no title is set when uploading images, use filename
...
Closes #16587
2017-08-24 12:33:53 +01:00
Josh Smith
49c7449e8b
Merge remote-tracking branch 'upstream/master'
2017-08-23 22:41:04 +00:00
Claudiu Lodromanean
56e1207903
Merge pull request #16583 from woocommerce/update/apply-fees
...
Improved apply fees
2017-08-23 13:35:18 -07:00
Mike Jolley
25fb505fc4
Debug
2017-08-23 16:42:58 +01:00
Claudio Sanches
b46f5c91e4
Merge pull request #16584 from ramiy/patch-1
...
i18n: Avoid using HTML tags in translation strings
2017-08-23 11:51:28 -03:00
Claudio Sanches
0bf1aa1cb0
Merge pull request #16581 from woocommerce/fix/16577
...
Imported non-published variations should be private, not draft
2017-08-23 11:47:04 -03:00
Mike Jolley
9d877a3b34
Unused vars
2017-08-23 14:40:34 +01:00
Mike Jolley
2beddc59a7
docblocks
2017-08-23 14:38:00 +01:00
Mike Jolley
e0de3643bc
ID is unused
2017-08-23 14:28:25 +01:00
Mike Jolley
9483a7ec19
invalid return
2017-08-23 14:27:30 +01:00
Mike Jolley
c60859bf3c
types
2017-08-23 14:27:10 +01:00
Mike Jolley
a7b697b679
type checks
2017-08-23 14:25:41 +01:00
Rami Yushuvaev
ff289f3bf4
i18n: Avoid using HTML tags in translation strings
...
This PR moves the `<code>` HTML tags from the translation strings.
It also moves the server variables outside of the translation string, because translators can accidentally translate it wrong.
2017-08-23 16:22:52 +03:00
Mike Jolley
714c4c672e
unused prop
2017-08-23 14:21:42 +01:00
Mike Jolley
be042ee8f3
Set to amount before calc
2017-08-23 12:24:33 +01:00
Mike Jolley
804feb9333
Store fee amount and prevent totals going negative
2017-08-23 12:15:06 +01:00
Mike Jolley
d9e455b9c6
Merge branch 'master' into update/apply-fees
2017-08-23 11:26:13 +01:00
Mike Jolley
f18a146d0f
Prompt to apply fee in admin
2017-08-23 11:22:18 +01:00
Mike Jolley
22813663d7
Merge pull request #16569 from woocommerce/update/fees-api-class
...
WC_Cart_fees and negative fee calculations
2017-08-23 10:59:19 +01:00
Mike Jolley
b3e92869f9
Imported non-published variations should be private, not draft
...
Fixes #16577
2017-08-23 10:45:18 +01:00
Frédéric Demarle
04b6e80065
Add action woocommerce_product_import_before_import
2017-08-23 09:37:41 +02:00
Josh Smith
39544cb27b
[ #12517 ] Remove calls to action woocommerce_process_product_file_download_paths since download ids should no longer change. They are now static UUIDs.
2017-08-23 03:22:33 +00:00
Josh Smith
df64c48103
[ #12517 ] In deprecated function call for update_download_id, use __METHOD__ instead of hard coded function name
2017-08-23 03:21:35 +00:00
Josh Smith
d9685ef061
[ #12517 ] Revert change to class WooCommerce @since comment
2017-08-23 03:20:46 +00:00
Josh Smith
cd89246b87
[ #12517 ] Deprecate process_product_file_download_paths function since download log ids should no longer change based on file paths
2017-08-23 03:16:50 +00:00
Josh Smith
5e4269267f
[ #12517 ] Change spacing and add full stop to comment to match WordPress style guide.
2017-08-23 03:15:23 +00:00
Josh Smith
e11e88fa4e
[ #12517 ] When tracking downloads, increment/decrement download count and downloads remaining in SQL to avoid race conditions with updating in PHP
2017-08-23 03:12:58 +00:00
Josh Smith
4400a026b8
[ #12517 ] Remove unneeded ArrayAccess implementation from WC_Customer_Download_Log
2017-08-23 03:11:38 +00:00
Josh Smith
ee13db49a2
[ #12517 ] Move download log table to const and helper, output download log report titles in standalone function, reorganize download log data store read for code readability
2017-08-23 03:10:14 +00:00
Josh Smith
1734580b0a
[ #12517 ] Order download permissions: Use i18n number formatting on download count and proper escaping on report links
2017-08-23 03:03:27 +00:00
Josh Smith
aa7e145ffe
[ #12517 ] Fixing capitalization for titles on admin reports
2017-08-23 03:01:35 +00:00
Josh Smith
868a0e0e84
Merge remote-tracking branch 'upstream/master'
2017-08-23 02:33:01 +00:00
Josh Smith
148fa16055
[ #12517 ] Removing unnecessary isset on check for download id in WC_Product
2017-08-23 02:27:42 +00:00
Claudiu Lodromanean
95130b2403
Merge pull request #16574 from woocommerce/feature/16554
...
Allow import/export product position (menu_order)
2017-08-22 14:13:52 -07:00
Claudiu Lodromanean
bdba4f7636
Merge pull request #16572 from woocommerce/fix/16559
...
Introduces woocommerce_get_product_id_by_sku filter
2017-08-22 13:31:45 -07:00
Claudio Sanches
7ad0dd55f9
Allow import 'menu_order'
2017-08-22 17:22:39 -03:00
Claudio Sanches
0b3811bd11
Change Position key from 'position' to 'menu_order'
2017-08-22 16:46:09 -03:00
Claudio Sanches
af23ad42d7
Included "position" (menu_order) to exported products
2017-08-22 16:33:19 -03:00
Claudio Sanches
02a7f4d5ab
Merge pull request #16561 from woocommerce/fix/16557
...
API v1 should create v1 webhooks
2017-08-22 15:19:16 -03:00
Claudio Sanches
03a189726e
Introduces woocommerce_get_product_id_by_sku filter
...
Closes #16559
2017-08-22 15:04:21 -03:00
Claudiu Lodromanean
6c2a944b74
Merge pull request #16570 from woocommerce/fix/16568
...
Add product to cart on each iteration for BW compat.
2017-08-22 09:31:21 -07:00
Claudiu Lodromanean
8a9a51643e
Merge pull request #16563 from woocommerce/fix/16560
...
Prevent regular price being lower than the sale price
2017-08-22 09:08:09 -07:00
Mike Jolley
559982fbe7
Unused variable
2017-08-22 17:02:48 +01:00
Mike Jolley
56c0c1e259
remove old set
2017-08-22 16:41:03 +01:00
Mike Jolley
a70e9bbf9b
Add product to cart on each iteration for BW compat.
...
Closes #16568
2017-08-22 16:39:51 +01:00
Mike Jolley
c41fb8f00c
docblock
2017-08-22 16:31:45 +01:00
Mike Jolley
8dbd9b88a7
Admin calc
2017-08-22 16:26:35 +01:00
Mike Jolley
00cb48a5fe
Pass through to order
2017-08-22 16:20:23 +01:00
Mike Jolley
367f08d79f
Negative fee logic for cart
2017-08-22 16:12:37 +01:00
Mike Jolley
57865204aa
Cart fees class and legacy
2017-08-22 15:17:58 +01:00
Mike Jolley
0bad6b3e52
add_db_table_prefix method for 5.2 support
2017-08-22 13:51:50 +01:00
Manos Psychogyiopoulos
1596979d75
Reload order items on add
2017-08-22 15:19:20 +03:00
Mike Jolley
56f2dc6005
Merge pull request #16562 from Umangvaghela/Update-condition
...
Update condition
2017-08-22 11:45:46 +01:00
Mike Jolley
fb2d8cb394
Prevent regular price being lower than the sale price
...
Closes #16560
2017-08-22 11:43:48 +01:00
Umangvaghela
5794a9cb34
Update condition
2017-08-22 15:23:34 +05:30
Mike Jolley
2a5a47016f
API v1 should create v1 webhooks
...
Fixes #16557
2017-08-22 10:40:35 +01:00
Gregory Karpinsky
73b20bfece
Update class-wc-admin-settings.php
...
Typo: visbility --> visibility
2017-08-21 22:00:23 -04:00
Mike Jolley
d68291b3ac
Merge pull request #16086 from woocommerce/improvement/versions
...
Extensions version check.
2017-08-21 18:18:04 +01:00
Mike Jolley
9ee732d68c
Text
2017-08-21 18:11:47 +01:00
Claudio Sanches
e0e0092f9a
Merge pull request #16549 from woocommerce/fix/16547
...
Handle isset for legacy props, and adjust free shipping logic
2017-08-21 12:38:08 -03:00
Claudio Sanches
37352b60c4
Merge pull request #16546 from woocommerce/fix/16539
...
Improve email directory writable checking
2017-08-21 12:36:17 -03:00
Claudio Sanches
1cfdaaa108
Merge pull request #16548 from woocommerce/fix/16524
...
Swap to text input for tax rate %, and format as decimal.
2017-08-21 12:32:53 -03:00
Claudio Sanches
237d5b646a
Merge pull request #16544 from woocommerce/fix/16537
...
If auth cannot occur, don't send request.
2017-08-21 12:31:46 -03:00
Mike Jolley
95fe91e622
Tweak version code
2017-08-21 16:04:06 +01:00
Mike Jolley
b20ef5dcac
Styling
2017-08-21 15:53:08 +01:00
Mike Jolley
5c271af844
Handle isset for legacy props, and adjust free shipping logic
...
Closes #16547
2017-08-21 13:01:20 +01:00
Mike Jolley
95cc51ae5c
Swap to text input for tax rate %, and format as decimal.
...
Closes #16524
2017-08-21 12:49:23 +01:00
Mike Jolley
6ee0ef1ee8
Copy update for c6ca8a6024
2017-08-21 12:38:14 +01:00
Mike Jolley
3886987346
Merge pull request #16543 from mihaigrigori/master
...
\WC_Legacy_Cart::get_cart_for_session must return a value
2017-08-21 11:57:16 +01:00
Mike Jolley
c6ca8a6024
Update copy with plugins page link
...
Closes #16496
2017-08-21 11:53:34 +01:00
Mike Jolley
05dc9d3c0f
Improve email directory writable checking
...
Closes #16539
2017-08-21 11:32:21 +01:00
Mike Jolley
bf2ca1f3d3
If auth cannot occur, don't send request.
...
Fixes #16537
2017-08-21 10:49:00 +01:00
Mihai Grigori
f6a6cef1d9
\WC_Legacy_Cart::get_cart_for_session must return a value
2017-08-21 11:58:29 +03:00
rspublishing
9ed2f7544f
Updated XAF and XOF denominators
2017-08-20 21:48:18 +02:00
Josh Smith
413444c616
Merge remote-tracking branch 'upstream/master'
2017-08-20 04:09:17 +00:00
Claudio Sanches
56b8829f46
Merge pull request #16530 from woocommerce/fix/query_names
...
Rename filters to be unique
2017-08-18 14:33:58 -03:00
claudiulodro
4ed359d336
Rename filters to be unique
2017-08-18 10:25:21 -07:00
Mike Jolley
0dc1754b91
Merge branch 'master' into update/store-owner-newsletter
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/twenty-seventeen-rtl.css
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-rtl.css
# assets/css/woocommerce.css
2017-08-18 18:21:55 +01:00
Mike Jolley
fcef2c7f71
Copy update
2017-08-18 18:21:23 +01:00
Claudio Sanches
b93a95423f
Use wc_strtolower() to format coupon code
...
Improves #16519
2017-08-18 14:11:33 -03:00
Mike Jolley
36f5827bc0
Merge pull request #16351 from pmgarman/feature-system-status-site-size-data
...
Add “site size” areas to system status report
2017-08-18 17:49:12 +01:00
Claudio Sanches
8d8ffb6e9e
Included @since tag to wc_is_webhook_valid_topic()
2017-08-18 13:41:51 -03:00
Claudio Sanches
95de32d9c7
Changed webhook table name for #16390
2017-08-18 13:41:02 -03:00
Claudiu Lodromanean
07d5e2e7ca
Merge pull request #16525 from woocommerce/update/tax-class-setter
...
Only set valid tax classes in product abstract
2017-08-18 09:27:03 -07:00
Mike Jolley
db62f4c567
Merge pull request #16526 from JPry/bug/docblocks
...
Update some docblocks with proper parameters
2017-08-18 17:24:43 +01:00
Claudio Sanches
105388e9b2
Merge pull request #16527 from woocommerce/fix/importer-att
...
Fix importer fatal error
2017-08-18 13:23:40 -03:00
Mike Jolley
3d002f842f
Fix get totals method
2017-08-18 17:18:41 +01:00
Jeremy Pry
2d4b7356df
Update some docblocks with proper parameters
2017-08-18 12:18:19 -04:00
claudiulodro
24e9f80f1a
wc_get_attribute_taxonomies returns objects
2017-08-18 09:17:04 -07:00
Mike Jolley
d9f9e74bd9
Only set valid tax classes in product abstract
2017-08-18 17:06:22 +01:00
Claudiu Lodromanean
b0f190fa1d
Merge pull request #16517 from woocommerce/integrate-cart-sessions-class
...
Integrate cart sessions, getters and setters
2017-08-18 08:41:57 -07:00
Mike Jolley
313a797f23
Merge branch 'master' into integrate-cart-sessions-class
2017-08-18 16:37:25 +01:00
Mike Jolley
4567169aa9
Fix remove from cart
2017-08-18 16:37:24 +01:00
Claudiu Lodromanean
4d715d7f54
Merge pull request #16509 from woocommerce/cart-sessions-class
...
Added WC_Cart_Session class
2017-08-18 08:30:36 -07:00
Claudiu Lodromanean
a4d3518a61
Merge pull request #16508 from woocommerce/remove-manual-discounts
...
Removed manual discounts code
2017-08-18 08:30:07 -07:00
Claudiu Lodromanean
4b23d5c5ba
Merge pull request #16523 from woocommerce/fix/16481
...
Change password label
2017-08-18 08:29:10 -07:00
Claudiu Lodromanean
db8ee8d306
Merge pull request #16519 from woocommerce/fix/16497
...
Format coupon code with mb_strtolower
2017-08-18 08:28:40 -07:00
Mike Jolley
97f9a4037a
Change password label
2017-08-18 16:18:49 +01:00
Mike Jolley
f957546cc4
Format coupon code with mb_strtolower
...
Fixes #16497
2017-08-18 15:43:34 +01:00
Mike Jolley
1f692ffb64
Merge pull request #16485 from Korkey128k/master
...
Wrapped 'Delete selected row(s)' button in condition
2017-08-18 15:38:14 +01:00
Mike Jolley
c22fb01903
Merge pull request #16516 from Umangvaghela/issue-16515
...
update Yoda condition
2017-08-18 15:06:44 +01:00
Mike Jolley
1c8ad67a9e
Fix tests and tax merges
2017-08-18 15:05:01 +01:00
Mike Jolley
b854c1775c
Tests
2017-08-18 13:53:22 +01:00
Mike Jolley
302512e51f
Combine taxes correctly
2017-08-18 13:48:53 +01:00
Umangvaghela
b994ea69ca
update Yoda condition
2017-08-18 17:58:58 +05:30
Mike Jolley
a2858245fe
Remove call - it's hooked
2017-08-18 12:52:29 +01:00
Mike Jolley
d2e3839d99
Use getters and setters in cart class
2017-08-18 12:51:45 +01:00
Mike Jolley
a190dc79c3
Legacy getters/setters
2017-08-18 12:24:17 +01:00
Mike Jolley
b34b7bf850
Merge pull request #16512 from Umangvaghela/issue-16511
...
Yoda condition is missing in class-wc-ajax.php
2017-08-18 12:08:06 +01:00
Mike Jolley
b9fea8419b
getters and setters for totals
2017-08-18 12:05:18 +01:00
Umangvaghela
5e8723b99e
Set Yoda condition
2017-08-18 16:26:21 +05:30
Mike Jolley
0c751087f9
Cast to arrays
2017-08-18 11:44:07 +01:00
Mike Jolley
aefb9c4705
Moved magic method to legacy
2017-08-18 11:37:22 +01:00
Mike Jolley
c0368362ce
First pass
2017-08-18 11:29:26 +01:00
Mike Jolley
a9a93436fc
rename ajax method
2017-08-18 10:59:55 +01:00
Mike Jolley
1d95593131
Localise message
2017-08-18 10:58:11 +01:00
Mike Jolley
a55716eed4
WC_Cart_Session
2017-08-18 10:54:41 +01:00
Mike Jolley
e99471c0cd
Removed manual discounts code
2017-08-18 10:36:10 +01:00
Claudio Sanches
2a3d37cc89
Webhooks does not have meta data
2017-08-17 19:42:54 -03:00
Claudio Sanches
909c3f6c8f
Fixed extra "!" and ")" on #16489
2017-08-17 19:05:46 -03:00
Claudio Sanches
2d19d47357
Fixed spacing
2017-08-17 19:04:36 -03:00
Claudio Sanches
3266fd48fe
Fixed how to auto set dates
2017-08-17 18:43:08 -03:00
Claudio Sanches
b93a9732df
Fixed validation of set_status and set_topic
2017-08-17 18:36:42 -03:00
Claudio Sanches
568aae5e0f
Validate webhook topic before set
2017-08-17 17:57:09 -03:00
Claudio Sanches
bf674bce6e
Validate webhook status
2017-08-17 17:54:31 -03:00
Claudio Sanches
3fb17f23e7
Merge pull request #16478 from ramiy/patch-1
...
i18n: Rewrite the translation string logic
2017-08-17 13:59:37 -03:00
Claudio Sanches
fad774267c
Merge branch 'master' into feature/16445
2017-08-17 13:32:47 -03:00
Claudio Sanches
e31da15959
Improve test_wc_load_webhooks() checking when returns false
2017-08-17 12:32:30 -03:00
Claudio Sanches
8c120da100
Test webhook functions
2017-08-17 12:29:34 -03:00
Claudio Sanches
d02a7655fd
Allow numeric api version on Webhook CRUD
2017-08-17 12:18:32 -03:00
Claudio Sanches
bc95b1c153
Moved wc_is_webhook_valid_topic to wc-webhook-functions.php
2017-08-17 12:06:45 -03:00
Claudio Sanches
4762c04b4b
Removed shop_webhook post type and removed upgrade scripts
...
With Webhook CRUD there is no more need to update hooks on database.
2017-08-17 11:37:57 -03:00
Claudio Sanches
1829c81689
Fixed coding standards
2017-08-17 11:14:41 -03:00
Claudio Sanches
9fac34fbcb
Save webhook results on wp cache
2017-08-17 11:07:30 -03:00
Claudio Sanches
455888fae4
Included get_webhooks_ids() to interface
2017-08-17 10:52:42 -03:00
Claudio Sanches
dcf3e27155
New helpers to load webhooks
2017-08-17 10:51:20 -03:00
Claudio Sanches
00185c5911
Webhook data store
2017-08-17 00:08:32 -03:00
Alex James Bishop
d4a02819a7
Add filter to woocommerce_order_again_button to match WC_Form_Handler->order_again
...
This commit adds the `woocommerce_valid_order_statuses_for_order_again` filter to the conditional check
before displaying the order-again button.
The purpose is to enable consistency when altering the valid order again statuses - in the past a dev would
need to use this filter to let the order through the form handler, and then override the template file for a really
trivial reason just to get the button to display.
2017-08-17 11:31:06 +09:30
Claudio Sanches
1a3a2c0658
Updated webhook database schema
...
Allow default dates to '0000-00-00 00:00:00' and failure_count to '0'
2017-08-16 21:48:09 -03:00
Claudio Sanches
256ad31130
Include missing date methods on Webhook CRUD
2017-08-16 21:40:31 -03:00
Claudio Sanches
20291a6305
Webhook CRUD
2017-08-16 21:20:02 -03:00
Claudio Sanches
67a6a7ce7f
Deprecated WC_Webhook::update_status
2017-08-16 21:14:07 -03:00
Claudio Sanches
a8f0f854f4
Legacy Webhook class
2017-08-16 21:07:24 -03:00
Claudio Sanches
e8defa48dc
Webhook database schema
2017-08-16 15:37:22 -03:00
Corey Smith
a6cf08d8cf
Wrapped 'Delete selected row(s)' button in condition
2017-08-16 11:56:30 -05:00
Claudiu Lodromanean
5ff7704db4
Merge pull request #16476 from woocommerce/fix/16455
...
Fix breadcrumbs for regular categories
2017-08-16 08:49:01 -07:00
Rami Yushuvaev
4ae42313ce
i18n: Rewrite the translation string logic
...
The single translation string `by` is not easy to translate without a context. In this case, using the context function `_x()` is not the best solution.
A better way would be to create two complete translation strings for refund with a user and without a user.
2017-08-16 14:25:38 +03:00
ragulka
d73e7e4f9d
Prevent unwanted double cart notices ( #16460 )
...
* Don't add shipping zone debug message when doing ajax
Prevent an issue where the "Customer matched zone" debug message is shown twice after first selecting a shipping method and then changing a product's quantity in cart and clicking Update cart.
* Don't pass event object to cart.update_cart
Prevent accidentally preserving cart notices when `wc_update_cart` event is triggered on body. If the event object is passed to update_cart() as the first param, it evaluates to true, forcing existing notices to be preserved.
* Pass custom arguments to cart.update_cart()
Instead of simply not passing the event object, pass any custom arguments, so it's possible to do something like: $( body ).trigger( 'wc_update_cart', true ); to still preserve notices if needed.
2017-08-16 11:34:35 +01:00
Mike Jolley
201b3bc056
Merge pull request #16466 from woocommerce/fix/rounding
...
Fix discounts rounding issues
2017-08-16 11:28:09 +01:00
Mike Jolley
38ab37597c
Merge pull request #16467 from ramiy/patch-1
...
i18n: Simpler translation string with placeholders
2017-08-16 11:26:06 +01:00
Mike Jolley
34ae983cc9
Merge pull request #16470 from ramiy/patch-4
...
i18n: Simpler translation string with placeholders
2017-08-16 11:25:48 +01:00
Mike Jolley
bf84592e87
Merge pull request #16469 from ramiy/patch-3
...
i18n: Merge two similar translation strings
2017-08-16 11:25:23 +01:00
Mike Jolley
3aee17faeb
Fix breadcrumbs for regular categories
...
Closes #16455
2017-08-16 11:22:22 +01:00
Patrick Garman
f19a63e1d7
Merge the DB and DB Table Size tables
2017-08-15 19:52:14 -05:00
Rami Yushuvaev
125ead910a
i18n: Simpler translation string with placeholders
...
One more... replacing function name with `%s` placeholder, this way translators can't misspell the function name.
2017-08-16 00:42:32 +03:00
Rami Yushuvaev
43744e4f27
i18n: Merge two similar translation strings
...
Replace:
`wp_remote_get() failed. Contact your hosting provider.`
`wp_remote_post() failed. Contact your hosting provider.`
With:
`%s failed. Contact your hosting provider.`
Note:
This also a good practice because the function name is outside of the translation string, this way the translator can't misspell the function name.
2017-08-16 00:32:36 +03:00
Rami Yushuvaev
d1f4acc730
i18n: Simpler translation string with placeholders
...
Replace:
`wc_get_product should not be called before the woocommerce_init action.`
With:
`%1$s should not be called before the %2$s action.`
2017-08-16 00:26:14 +03:00
Rami Yushuvaev
0087536296
i18n: Simpler translation string with placeholders
...
Replace:
`WC_Logger::log was called with an invalid level "%s".`
With:
`%1$s was called with an invalid level "%2$s".`
2017-08-16 00:22:46 +03:00
claudiulodro
9a47146716
Fix discounts rounding issues
2017-08-15 14:11:25 -07:00
Claudio Sanches
82a6de2e49
Merge pull request #16459 from ramiy/patch-3
...
i18n: Avoid using HTML tags in translation strings
2017-08-15 14:48:35 -03:00
Claudio Sanches
3a12f7b494
2.1.2 db update functions
2017-08-15 13:01:28 -03:00
Claudio Sanches
339ab41bf1
Remove unfiltered_html capability from Shop Managers
2017-08-15 12:57:12 -03:00
Claudio Sanches
9e8aa83d47
Escape product names on reports
2017-08-15 12:56:35 -03:00
Claudio Sanches
0fec9dbfe7
Merge pull request #16458 from ramiy/patch-2
...
i18n: Simpler translation string with placeholders
2017-08-15 12:49:31 -03:00
Mike Jolley
129eae141a
Fix custom discount amounts not multiplying by qty
2017-08-15 16:25:39 +01:00
Mike Jolley
3c18d5e849
Adjust total discount for ex.tax
2017-08-15 16:25:39 +01:00
Claudio Sanches
7a44c3d700
Merge pull request #16457 from ramiy/patch-1
...
i18n: Simpler translation string with placeholders
2017-08-15 12:05:32 -03:00
Mike Jolley
de35d9ba02
Apply woocommerce_coupon_get_discount_amount without cents
...
cc @claudiulodro
2017-08-15 15:29:22 +01:00
Claudio Sanches
a6017741ad
Merge pull request #16456 from woocommerce/update/status-tools
...
Tool to purge webhook logs
2017-08-15 11:02:27 -03:00
Mike Jolley
835d0ab450
Fix remove tax column
...
Closes #16443
2017-08-15 14:51:12 +01:00
Rami Yushuvaev
6f7c817b78
i18n: Avoid using HTML tags in translation strings
...
This PR moves the `<strong>` HTML tags from the translation strings.
Replacing: `Order scheduled for: <strong>%1$s</strong>.`
With: `Order scheduled for: %s.`
We did the same in WordPress core across several releases (4.3 - 4.7). Because it's makes the translation process to RTL language (like Hebrew) much easier.
2017-08-15 15:07:55 +03:00
Rami Yushuvaev
7ce117a0ca
i18n: Simpler translation string with placeholders
...
Replace:
`The provided handler <code>%s</code> does not implement WC_Log_Handler_Interface.`
With:
`The provided handler %1$s does not implement %2$s.`
2017-08-15 14:48:42 +03:00
Rami Yushuvaev
7ad61068e1
i18n: Simpler translation string with placeholders
...
Replace:
`The class <code>%s</code> provided by woocommerce_logging_class filter must implement <code>WC_Logger_Interface</code>.`
With:
`The class %1$s provided by %2$s filter must implement %3$s.`
2017-08-15 14:39:41 +03:00
Mike Jolley
392ce417bc
docblocks
2017-08-15 12:21:12 +01:00
Mike Jolley
3852ce59c8
Tool to purge webhooks
2017-08-15 12:15:17 +01:00
Mike Jolley
a44a57b5d9
Improve tools page styling
2017-08-15 12:05:34 +01:00
Mike Jolley
f62d505797
Merge pull request #16427 from nyordanov/variation-permalink-infinite-loop
...
Prevent infinite recursion in WC_Post_Data::variation_post_link()
2017-08-15 10:59:36 +01:00
Mike Jolley
4101e313bb
Merge pull request #16392 from woocommerce/feature/admin-apply-discount-15501
...
[WIP] Admin discounts
2017-08-15 10:07:00 +01:00
Mike Jolley
70248b2fa6
Merge pull request #16419 from woocommerce/fix/1645
...
Use array_replace in order item apply_changes
2017-08-15 09:59:02 +01:00
claudiulodro
2eb107b0af
Add 5.2 fallback
2017-08-14 11:45:54 -07:00
claudiulodro
ae80d12d80
Merge master
2017-08-14 11:12:09 -07:00
Claudiu Lodromanean
28c5af4922
Merge pull request #16440 from woocommerce/fix/16422
...
Adjust coupon user limit logic
2017-08-14 10:24:51 -07:00
Claudiu Lodromanean
1f2891cfd3
Merge pull request #16439 from woocommerce/fix/16432
...
Switch CLI tools command over to v2 API
2017-08-14 10:04:02 -07:00
Claudiu Lodromanean
f0126852a5
Merge pull request #16438 from woocommerce/fix/16405
...
Add error handling for wp_insert_term
2017-08-14 10:01:22 -07:00
Rami Yushuvaev
17d10b3e9f
i18n: Fix some translation strings ( #16441 )
...
* i18n: permissions -> permission
* i18n: permissions -> permission
2017-08-14 17:25:08 +01:00
Mike Jolley
be11c1089f
Fix tests
2017-08-14 16:03:50 +01:00
Mike Jolley
7ddfe0703b
Store coupon item taxes
2017-08-14 15:57:51 +01:00
Mike Jolley
c74835ec31
Use WP_User_Query
2017-08-14 12:51:04 +01:00
Mike Jolley
40757ddf86
Search given email against all user fields for matches.
2017-08-14 12:28:19 +01:00
Mike Jolley
6f4fd61a4f
Do not check if logged in
2017-08-14 12:28:03 +01:00
Mike Jolley
147a7f9419
Switch CLI tools command over to v2 API
...
Closes #16432
2017-08-14 10:45:44 +01:00
Mike Jolley
c63e94d299
Add error handling for wp_insert_term
...
Fixes #16405
2017-08-14 10:40:00 +01:00
Mike Jolley
a7f6d49f16
Merge pull request #16421 from bekarice/fix/shipping-availability-filters
...
Pass WC_Shipping_Method instance to availability filters
2017-08-13 11:19:42 +01:00
Nikolay Yordanov
96b4467179
Prevent infinite recursion in WC_Post_Data::variation_post_link()
...
If a variation's parent doesn't exist, WC_Product_Variation::get_parent_id()
will return 0, which causes WC_Post_Data::variation_post_link()
to enter into an infinite recursion trying to get the permalink
of the nonexistent parent
2017-08-12 11:26:32 +01:00
Claudio Sanches
4d87f94622
Merge pull request #16408 from woocommerce/fix/16398
...
CSV Import; correctly set stock props.
2017-08-11 21:49:20 -03:00
Jeroen Sormani
607cd878e0
Settings parent construct ( #16412 )
...
* Miscellaneous cleanup of typos + change some return types for IDE helpers
* Call/use parent::__construct() to add filters for settings output, saving
2017-08-11 21:36:35 -03:00
Claudio Sanches
2ffc09de0d
Merge pull request #16411 from woocommerce/fix/16306
...
Don't subtract negative taxes in net sales report
2017-08-11 21:30:25 -03:00
claudiulodro
b99ed2228c
No array_replace in WP or PHP 5.2
2017-08-11 14:11:46 -07:00
Beka Rice
c54b0ecd9d
Pass WC_Shipping_Method instance to availability filters
2017-08-11 16:36:18 -04:00
claudiulodro
837e7e1ed2
Use array_replace in order item apply_changes
2017-08-11 13:24:43 -07:00
claudiulodro
a0effafef9
Move discount row in frontend
2017-08-11 11:48:08 -07:00
Claudiu Lodromanean
15179b0e48
Merge pull request #16416 from woocommerce/manual-discounts-on-fees-shipping
...
Manual discounts on fees and shipping
2017-08-11 11:30:27 -07:00
claudiulodro
46e003d3c6
Remove shipping and discount lines
2017-08-11 11:10:44 -07:00
Mike Jolley
b826d02f9b
Split tax across items for discounts
2017-08-11 17:53:49 +01:00
Josh Smith
fe01910b8b
Fixing spacing on WC_Product and WC_Install
2017-08-11 16:49:49 +00:00
Josh Smith
6dadaa0f7f
Merge remote-tracking branch 'upstream/master'
2017-08-11 16:29:16 +00:00
Mike Jolley
d61a97cb57
Missing abstract methods
2017-08-11 16:17:24 +01:00
Mike Jolley
1545e46fd5
cache clearing
2017-08-11 16:17:13 +01:00
Mike Jolley
def5e0cdee
get_tax_class_counts_for_items
2017-08-11 16:17:00 +01:00
Mike Jolley
9eece1cb1e
Include shipping and fee in total
2017-08-11 16:16:50 +01:00
Mike Jolley
e20d886972
calculate_item_discounts for clarity
2017-08-11 16:16:36 +01:00
Mike Jolley
2accbdbd45
Load order after updating items
2017-08-11 16:16:22 +01:00
Mike Jolley
3496e8dca4
Match order of cart discount
2017-08-11 16:16:09 +01:00
Mike Jolley
2c5a5b9409
Discounts should be last
2017-08-11 16:15:53 +01:00
Mike Jolley
56726deb5a
Fix recalculate_coupons
2017-08-11 13:52:40 +01:00
Mike Jolley
7620473fa5
Support callback for index
2017-08-11 13:52:28 +01:00
Mike Jolley
5b4e5482dd
Don't subtract negative taxes in net sales report
...
Fixes #16306
2017-08-11 12:38:09 +01:00
Mike Jolley
5587ff6874
Variation data store should remove product_type term on save
...
Closes #16409
2017-08-11 12:32:12 +01:00
Mike Jolley
0f54e57093
CSV Import; correctly set stock props.
...
Closes #16398
2017-08-11 11:07:12 +01:00
Mike Jolley
e124841cbf
Merge pull request #16401 from woocommerce/fix/16378
...
Use new CRUD actions to trigger Webhooks
2017-08-11 10:35:23 +01:00
Josh Smith
9e06209277
Merge remote-tracking branch 'upstream/master'
2017-08-11 05:00:52 +00:00
Claudio Sanches
3f12fd1b01
Fixed missing hooks in legacy REST API
2017-08-10 18:57:31 -03:00
Claudio Sanches
40cb0e2e95
Trigger only customer.created webhook
2017-08-10 18:57:13 -03:00
Claudiu Lodromanean
a5ffbe6e7f
Merge pull request #16403 from woocommerce/fix/16195
...
[Importer] Allow "unfiltered_html" for name, description and short description fields
2017-08-10 13:55:46 -07:00
Claudiu Lodromanean
77bed2396c
Merge pull request #16400 from woocommerce/fix/16394
...
Apply logical sort order to discounts
2017-08-10 13:43:32 -07:00
claudiulodro
3618ef1725
Handle couple todos
2017-08-10 13:37:05 -07:00
claudiulodro
9e70a74857
Styling
2017-08-10 13:29:32 -07:00
Claudio Sanches
a01ffdd11d
Better variable naming for importer parser methods
2017-08-10 17:23:31 -03:00
Claudio Sanches
fe05e09015
Skip title, description and exceprt sanitization and let WP handle it
...
Should simulate the same behavior from WP admin, so just need to skip
extra sanitization, so WP can handle it while salving with
`wp_insert_post()` and `wp_update_post()` where will check for
`unfiltered_html` capability.
WP core already did something like it, but on REST API: https://core.trac.wordpress.org/ticket/38609
Fixes #16195
2017-08-10 17:17:56 -03:00
claudiulodro
28f0431c56
Coupon usage counts
2017-08-10 11:27:13 -07:00
claudiulodro
f1e6fd53bd
Prevent double coupons
2017-08-10 11:14:01 -07:00
claudiulodro
fa35104486
Coupon amount validation
2017-08-10 11:00:57 -07:00
Claudio Sanches
069cf21c08
Use new CRUD actions to trigger Webhooks
...
Closes #16378
2017-08-10 13:56:17 -03:00
Mike Jolley
51dffc0853
Apply logical sort order to discounts
...
Closes #16394
2017-08-10 17:24:27 +01:00
Mike Jolley
db87fc68b9
Fix refs
2017-08-10 16:33:21 +01:00
Mike Jolley
87858d1407
recalc on remove/add
2017-08-10 16:32:24 +01:00
Mike Jolley
30c80c6ad5
Fix tax recalc
2017-08-10 16:22:17 +01:00
Mike Jolley
22d6c789ab
herpa derpa
2017-08-10 15:57:34 +01:00
Mike Jolley
e90fb6d54f
fix discount apply and save
2017-08-10 15:33:01 +01:00
Mike Jolley
cd8fb23884
Add ability to get local item rather than from DB
2017-08-10 14:38:02 +01:00
Mike Jolley
e2599d83c8
Apply methods
2017-08-10 14:22:27 +01:00
Mike Jolley
3dc9f06f6a
Remove fixed discounts correctly
2017-08-10 12:06:03 +01:00
Mike Jolley
06381f28bd
Edit items rather than recreate
2017-08-10 11:38:09 +01:00
Mike Jolley
2a4a078266
Merge branch 'feature/admin-apply-discount-15501' into feature/coupon-remove
2017-08-10 11:25:21 +01:00
Mike Jolley
1fd1699bcd
Ensure isset
2017-08-10 11:25:08 +01:00
claudiulodro
a416ebe09b
It kind-of works.
2017-08-09 14:55:35 -07:00
Mike Jolley
aa82a54f47
Prevent notices
2017-08-09 19:27:19 +01:00
Mike Jolley
e429a27ba4
No need for 'off'
2017-08-09 19:12:33 +01:00
Mike Jolley
5874fb8715
Type and sum fix
2017-08-09 19:11:02 +01:00
Mike Jolley
c556facd41
Fix percent coupon and display
2017-08-09 19:02:10 +01:00
Mike Jolley
f71dc64d35
Manual discounts and negative taxes
2017-08-09 18:53:10 +01:00
claudiulodro
1328e17069
Fix logic
2017-08-09 10:10:46 -07:00
Mike Jolley
2def474421
Order calc
2017-08-09 16:19:10 +01:00
Mike Jolley
f0a9050241
HTML
2017-08-09 16:17:30 +01:00
Mike Jolley
f480c98d11
Data stores
2017-08-09 16:17:02 +01:00
Mike Jolley
d0cd8b3022
WC_Order_Item_Discount
2017-08-09 16:16:44 +01:00
Mike Jolley
722ac5ad78
Load order items
2017-08-09 16:16:36 +01:00
Mike Jolley
6c0750e2e9
Discount lines and button
2017-08-09 14:55:42 +01:00
Mike Jolley
d40edfe9a6
add_order_discount ajax method
2017-08-09 14:54:30 +01:00
Mike Jolley
858d3842ea
Move method so it's available in admin
2017-08-09 14:54:05 +01:00
Mike Jolley
73350e5418
Fake round half down in PHP 5,2
...
Fixes unit tests.
2017-08-09 11:59:50 +01:00
Mike Jolley
30a85e9f8d
Merge branch 'pr/16036'
2017-08-09 10:11:20 +01:00
Mike Jolley
140771e759
Merge branch 'master' into improvement/versions
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/helper-rtl.css
# assets/css/helper.css
# assets/css/twenty-seventeen-rtl.css
# assets/css/twenty-seventeen.css
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
2017-08-09 10:08:06 +01:00
Mike Jolley
8af2ce8a20
Merge pull request #16379 from EmilEriksen/master
...
Store status_transition in a local variable and reset it before firing hooks in order to avoid infinite loops
2017-08-09 10:01:24 +01:00
Josh Smith
d8b6b2042a
Merge remote-tracking branch 'upstream/master'
2017-08-08 21:20:35 +00:00
Mike Jolley
86a225a8d9
Newsletter signup
2017-08-08 18:00:47 +01:00
Mike Jolley
5443f44fcc
Improve location step
2017-08-08 17:32:21 +01:00
Mike Jolley
c486cea531
copy fix
2017-08-08 17:21:01 +01:00
Mike Jolley
e82ca1c1a6
Styling and unknown plugin detection
2017-08-08 17:12:50 +01:00
Mike Jolley
6e59b540e1
Merge pull request #16382 from woocommerce/improve/16165
...
Allow define customer ID in wc_get_account_formatted_address()
2017-08-08 16:17:26 +01:00
Claudio Sanches
d8af7cdeec
Merge pull request #16380 from woocommerce/fix/16316
...
Fix filename image handling
2017-08-08 12:11:17 -03:00
Claudio Sanches
56f654eb4c
Allow define customer ID in wc_get_account_formatted_address()
...
This should help 3rd party integrations, like custom emails or invoices.
Releated to #16165
2017-08-08 12:08:06 -03:00
Mike Jolley
e9c3ebebdc
Merge branch 'master' into feature/discounts-class
...
# Conflicts:
# includes/abstracts/abstract-wc-data.php
# woocommerce.php
2017-08-08 15:49:59 +01:00
Mike Jolley
3778918a0a
Merge branch 'master' into pr/14751
...
# Conflicts:
# includes/class-wc-structured-data.php
2017-08-08 15:28:31 +01:00
Mike Jolley
396faa19d7
phpcs
2017-08-08 15:25:32 +01:00
Mike Jolley
90f0a835b1
Fix filename image handling
2017-08-08 15:00:03 +01:00
Mike Jolley
866f1cd818
Merge branch 'master' into pr/16191
...
# Conflicts:
# includes/wc-account-functions.php
2017-08-08 13:20:17 +01:00
Mike Jolley
a97d3470db
Merge branch 'master' into pr/16164
...
# Conflicts:
# includes/class-wc-cache-helper.php
2017-08-08 13:12:37 +01:00
Mike Jolley
73eb086696
Merge branch 'pr/16165'
2017-08-08 13:10:16 +01:00
Mike Jolley
2f6aaa85bb
Avoid using meta directly
2017-08-08 13:04:27 +01:00
Mike Jolley
19d0841b70
Merge pull request #16340 from grey-rsi/wc-emails-filters
...
Add filters to make possible send emails in language different from d…
2017-08-08 11:53:36 +01:00
Mike Jolley
202498298e
Merge pull request #16374 from woocommerce/fix/12273-4
...
Product attributes helper functions implementation
2017-08-08 11:51:38 +01:00
Emil Kjær Eriksen
ee830d19b4
Store status_transition in a local variable and reset it before firing hooks
2017-08-08 12:47:16 +02:00
Mike Jolley
a4b81c2a22
Merge pull request #16252 from helgatheviking/issues-16221-settings-save-order
...
Move settings init/save to load-$settings hook. Closes #16221
2017-08-08 11:40:17 +01:00
Mike Jolley
684a2b22ed
typo
2017-08-08 11:07:36 +01:00
Mike Jolley
e7ff4186eb
remove include
2017-08-08 10:52:54 +01:00
Mike Jolley
ceb191e73e
The world is not ready for WC_Cart_Item
2017-08-08 10:52:31 +01:00
Mike Jolley
6dc67ee133
phpcs
2017-08-08 10:51:35 +01:00
Mike Jolley
81806617d7
Fix total and rounding logic for tests
2017-08-08 09:24:26 +01:00
Claudio Sanches
1a9b499be8
Apply attribute helper functions to importers and REST API
2017-08-07 22:34:25 -03:00
Claudio Sanches
70e0ab857e
Implement attributes functions to admin
2017-08-07 22:34:20 -03:00
Claudio Sanches
a3a3d7c242
Initial implementation of product attribute helper functions
2017-08-07 22:33:57 -03:00
Claudio Sanches
2796615054
Flush rewrite rules after delete attributes
2017-08-07 22:30:14 -03:00
Claudio Sanches
6dfcf95b5e
Properly update and delete attributes
...
- Now keep all the original hooks without deprecated anything,
- Update product metadata and terms metadata while changing slugs.
- Delete terms while deleting attributes
2017-08-07 22:29:37 -03:00
Claudio Sanches
29e73d27f4
Introduced woocommerce_attribute_created
...
And flush rewrite rules when created attribute.
2017-08-07 22:26:46 -03:00
Claudio Sanches
dd36ae87d3
Improved wc_create_attribute() inline doc
2017-08-07 22:26:42 -03:00
claudiulodro
c8a7ac8940
Unit tests
2017-08-07 14:31:58 -07:00
Claudio Sanches
53ea3c8b96
Merge branch 'master' into fix/16347
2017-08-07 16:36:36 -03:00
Claudiu Lodromanean
0286023878
Merge pull request #16367 from woocommerce/fix/16287
...
Fix variable stock status setting by using CRUD methods
2017-08-07 11:31:10 -07:00
Claudiu Lodromanean
dd094088b0
Merge pull request #16336 from woocommerce/fix/16241
...
Only return tax classes if product is taxable.
2017-08-07 10:02:02 -07:00
Mike Jolley
7a829036c2
Fix tests
2017-08-07 17:49:46 +01:00
Mike Jolley
f20081c33c
Merge pull request #16334 from woocommerce/fix/16253
...
Add precision to price filter
2017-08-07 17:19:44 +01:00
Mike Jolley
299fcc327c
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# includes/class-wc-cache-helper.php
2017-08-07 17:11:26 +01:00
Mike Jolley
622b4b35d6
Remove white space
2017-08-07 17:10:36 +01:00
Mike Jolley
baa5da8e6e
Merge branch 'master' into pr/16301
2017-08-07 17:10:18 +01:00
Claudiu Lodromanean
f7ef7588b9
Merge pull request #16360 from woocommerce/fix/16337
...
nocache headers during form actions
2017-08-07 08:59:34 -07:00
Mike Jolley
8db31eefe2
Fix variable stock status setting by using CRUD methods
...
Closes #16287
2017-08-07 15:16:38 +01:00
Boro Sitnikovski
9022261f13
Fix cache issue.
...
From discussion with @mikejolley:
The class is not doing its job of invaliding cache after adding a line item.
At any point (action hook), a 3pd can call `get_items` and it will cache the items for that particular order so any subsequent calls to it will return bad data.
Unless you ADD items, `get_items` will return good data.
So adding items in this case is not invalidating, so that's the bug.
Relates to: https://github.com/woocommerce/woocommerce-bookings/issues/1310
2017-08-07 15:29:17 +02:00
Mike Jolley
d46988b6a6
Improve add payment method logic
2017-08-07 12:39:16 +01:00
Mike Jolley
847e4859f8
Include add_payment_method in gateway abstract
2017-08-07 12:38:50 +01:00
Mike Jolley
862f67d98b
wc_get_var helper method
2017-08-07 11:02:19 +01:00
Mike Jolley
e2839d3c09
Add nocache_headers to early update actions
2017-08-07 11:02:02 +01:00
Mike Jolley
af1dce3544
Set nocache constants on all nocache_headers
2017-08-07 11:01:38 +01:00
Boro Sitnikovski
d1dc2a4390
Fix fatal error on deleting refunded order
2017-08-07 11:38:10 +02:00
Mike Jolley
2b0a672ba7
Merge pull request #16348 from jamesckemp/patch-6
...
Add sorting ID and menu orders to sorting action
2017-08-06 20:36:34 +01:00
Patrick Garman
1314158a14
Add “site size” areas to system status report
...
The size of the site very much impacts the status of the site. This type of information would be extremely helpful when supporting a site.
1) post counts - can reveal high volumes of specific kinds of post types both within WC (orders, products, etc) or outside (revisions, attachments, third party ones, etc)
2) table sizes - a site with a 5MB postmeta table is very different than a site with a 5GB postmeta table, which is different than a site with a 50GB postmeta table, and require different kinds of support and focus.
2017-08-06 01:15:10 -04:00
James Kemp
8ebe8a1720
Add sorting ID and menu orders to sorting action
2017-08-05 12:05:47 +01:00
Josh Smith
644ac674d7
[ #12517 ] Replace download_id on customer download and product download with static UUID instead of filename based hash, to preserve download links, logs, and permissions across filename changes
2017-08-05 04:42:31 +00:00
Josh Smith
677b81174e
[ #12517 ] Add statistic on download count to download permissions listings on order details page
2017-08-05 04:35:37 +00:00