Mike Jolley
f18f4082b2
Merge pull request #22906 from woocommerce/add/downloadable_product_permissions_index
...
get_downloads_for_customer performance improvement via index
2019-03-04 14:15:11 +00:00
Mike Jolley
76fabc9b7e
Merge pull request #22771 from martinsnajdr/flatrate-shipping-cost-filters
...
Shipping method get_option function filters
2019-03-04 13:49:22 +00:00
Mike Jolley
857c5cbc5e
Merge pull request #22855 from woocommerce/fix/22772
...
shop_messages shortcode requires wc_print_notices
2019-03-04 13:44:25 +00:00
Mike Jolley
5937625b5e
Include priceValidUntil
2019-03-04 13:17:27 +00:00
Peter Fabian
224ea5d8af
Merge pull request #22776 from woocommerce/fix/orders-statuses-param-description
...
[REST API] Better description for order's status collection param
2019-03-04 14:14:04 +01:00
Mike Jolley
246c78db73
Add a review to product schema
2019-03-04 13:05:29 +00:00
Mike Jolley
d104bb7d3f
Add SKU with ID fallback
2019-03-04 12:47:40 +00:00
Mike Jolley
52533d9da6
Add URL field
2019-03-04 12:47:31 +00:00
Mike Jolley
6caa0fab61
Tidy data
2019-03-04 12:47:24 +00:00
Mike Jolley
60d8a10bcf
Remove woocommerce_structured_data_product_limit
...
With the removal of generation on archives, the filters `woocommerce_structured_data_product_limit` and `woocommerce_structured_data_product_limited` have no context nor purpose. This commit removes them so full schema is generated when used.
2019-03-04 11:44:52 +00:00
Tim Howe
41de832580
#22912
2019-03-04 11:11:04 +00:00
Claudio Sanches
e131ba5358
Updated per feedback
2019-03-01 20:01:03 -03:00
Mike Jolley
7c9932da6d
woocommerce_get_product_subcategories_cache_key filter
2019-03-01 10:55:11 +00:00
Mike Jolley
b08842d45c
Update cache key to handle arrays
2019-03-01 10:22:27 +00:00
Mike Jolley
51dbbac32d
Update from master
2019-03-01 10:19:40 +00:00
Mike Jolley
e845d6ced9
Merge pull request #22885 from yaroslawww/patch-1
...
Update class-wc-regenerate-images.php
2019-03-01 10:17:55 +00:00
Mike Jolley
efb8704f05
If both dimensions are smaller, do not scale
2019-03-01 10:15:01 +00:00
Mike Jolley
c655c2e38a
Merge pull request #22846 from teloconf/master
...
[ADD] Do Action before cart is emptied
2019-03-01 10:04:25 +00:00
haszari
023579cc17
localise default CTA text + code-style improvements:
...
- else style, fix stale/presumptuous variable names
- localise default CTA text
- use `Learn More` for default, more in line with our latest content
- switch CTA default to button - link style is less common
2019-03-01 14:22:02 +13:00
Gabriel
e442f46db3
Update class-wc-cart.php
2019-02-28 21:56:43 +01:00
Rodrigo Primo
dc40e8e062
Merge pull request #22908 from woocommerce/fix/obsolete-code
...
remove some obsolete code
2019-02-28 14:01:03 -03:00
Mike Jolley
caf3ff61e7
Merge pull request #22218 from woocommerce/add/fb-in-obw
...
Add Facebook to Recommended Step in OBW
2019-02-28 16:45:41 +00:00
Mike Jolley
f9567583a7
Merge pull request #22901 from mihaigrigori/master
...
Change exception string to facilitate translating
2019-02-28 16:13:28 +00:00
Mike Jolley
81767385d6
Tidy up deprecated methods
2019-02-28 14:54:23 +00:00
Mike Jolley
55c49b661e
Missing cache flush when updating sales
2019-02-28 14:51:55 +00:00
yaroslawww
5f9225a1cb
Update class-wc-regenerate-images.php
...
Fix coding styles and naming error
2019-02-28 16:48:18 +02:00
Mike Jolley
a2606a3f1f
Avoid updates on read - this is for legacy where meta was missing and shouldn't be ran for all products
2019-02-28 14:47:06 +00:00
Mike Jolley
4f7941b174
fix method name
2019-02-28 14:46:56 +00:00
Mike Jolley
1c7c6246e9
Comment rating functions should not update the object themselves
2019-02-28 14:46:11 +00:00
Mike Jolley
b7f59b4596
wc_ln_count_ no longer exists
2019-02-28 14:41:07 +00:00
Mike Jolley
04b333484a
These transient no longer exist
2019-02-28 14:38:40 +00:00
Gerhard
36f0041673
PHPCS fixes
2019-02-28 15:37:37 +02:00
Gerhard
b8a5a9ec55
Add update routine to add user_order_remaining_expires index and hook it up to the installer for 3.6.0
2019-02-28 15:36:55 +02:00
Gerhard
207a5ef4b3
Add user_order_remaining_expires index to woocommerce_downloadable_product_permissions create table statement.
2019-02-28 15:30:17 +02:00
Mike Jolley
25117aa77b
Merge pull request #22892 from woocommerce/fix/22886
...
PayPal: Add meta data, before changing order status
2019-02-28 12:10:03 +00:00
Mihai Grigori
8cf31c3c3d
Change exception string to facilitate translating
2019-02-28 07:07:26 +02:00
Martin Šnajdr
4f9d47ea25
PR requested changes: shipping instance option filter moved to get_instance_option function, filters renamed.
2019-02-27 17:31:51 +01:00
Mike Jolley
a89caf0b89
Add wrapper for is_plugin_active
2019-02-27 15:25:27 +00:00
Mike Jolley
49065c0d1a
Add meta data, before changing order status
2019-02-27 14:50:37 +00:00
Mike Jolley
0469bbe8b0
Merge pull request #22884 from woocommerce/fix/22861
...
Remember tracking setting when going through the OWB again
2019-02-27 13:46:31 +00:00
Mike Jolley
807878692b
Add precision to tax
2019-02-27 13:43:01 +00:00
Gerhard
5cfa6fc3db
PHPCS fixes
2019-02-27 15:24:50 +02:00
Gerhard
497d082b03
Refine Dropin and MU Plugin report functionality a bit. Added option to show if connected to WooCommerce.com.
2019-02-27 15:19:12 +02:00
Mike Jolley
1908daf2b4
Merge pull request #22774 from sasagar/fixing-order-of-jp-address
...
Fixing order of JP address.
2019-02-27 12:59:02 +00:00
Mike Jolley
cc8e516f7a
Merge pull request #22786 from woocommerce/improve/user-registration
...
Improve user's display_name generation during checkout
2019-02-27 12:55:56 +00:00
Mike Jolley
c3033247ba
Merge pull request #22783 from woocommerce/fix/22765
...
Only set user first and last names when those fields are empty
2019-02-27 12:37:42 +00:00
Mike Jolley
504e457c31
Merge pull request #22852 from woocommerce/fix/22842
...
Prevent a few structured data warnings on product catalog
2019-02-27 12:32:28 +00:00
Gerhard
70f4935236
Fix logic to avoid setting to no again
2019-02-27 14:30:00 +02:00
Gerhard
bf57a037c6
First go at adding dropins and mu plugins to system status report
2019-02-27 14:27:53 +02:00
Mike Jolley
7369ffdf42
Merge pull request #22853 from Dartui/fix-select2-tooltip
...
Remove whitespace characters from Select2 option title
2019-02-27 12:25:10 +00:00
Mike Jolley
2d5e834cf2
Merge branch 'pr/22822'
2019-02-27 11:56:08 +00:00
Mike Jolley
c854e74471
Spacing
2019-02-27 11:56:00 +00:00
yaroslawww
bb8bf5f749
Update class-wc-regenerate-images.php
...
Sometimes imagedata has not $imagedata['sizes']['full'] params. In my case, due to the fact that I am loading the SVG picture.
Therefore, an error is visible *Undefined index: height in class-wc-regenerate-images.php on line 222*
Therefore, a check for the emptiness of these parameters is added.
2019-02-27 13:53:32 +02:00
Gerhard
72ea7b05e7
Move tracking check to the if statement to avoid writing to the DB when it already has a value stored.
2019-02-27 13:38:36 +02:00
Mike Jolley
f90daea1d5
Merge pull request #22799 from woocommerce/remove/cron-plugin-theme-installer
...
Remove old plugin/theme background installer hooks
2019-02-27 11:38:32 +00:00
Gerhard
a1c3048318
Keep tracking enabled if already enabled when saving the wizard.
2019-02-27 12:55:49 +02:00
Konstantin Kovshenin
9447afbc47
Update Marketplace suggestions endpoint URL
2019-02-27 12:26:14 +03:00
haszari
d5287b3f07
switch in WCCOM new (versioned) suggestions host/URL
2019-02-27 16:12:38 +13:00
haszari
0dcc87110b
Merge branch feature/marketplace-suggestions into add/product-edit-suggestions
...
# Conflicts:
#assets/css/admin-rtl.css
#assets/css/admin.css
#assets/css/marketplace-suggestions-rtl.css
#assets/css/marketplace-suggestions.css
#assets/css/marketplace-suggestions.scss
#assets/js/admin/marketplace-suggestions.js
#includes/admin/class-wc-admin-assets.php
#includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
2019-02-27 10:56:13 +13:00
haszari
8dbda1b9c9
revert suggestion-related changes in helper:
...
- no longer required, now using active plugins for suggestions
- get_local_woo_plugins needs to not be cached
- left plugin `slug` in get_local_woo_plugins values, may be useful
2019-02-27 10:19:56 +13:00
haszari
69e3856188
show/hide suggestions based on which extensions are active:
...
- was previously based on folder names of installed plugins
2019-02-27 10:13:48 +13:00
Mike Jolley
d5ab20d1a5
get ID before running actions
2019-02-26 20:29:17 +00:00
Gerhard Potgieter
8722317956
Merge pull request #22775 from woocommerce/update/22525
...
Set no-transform cache header to opt out of weblight
2019-02-26 18:22:57 +02:00
Gerhard Potgieter
cc857be201
Merge pull request #22811 from woocommerce/add/orders-list-suggestions
...
Show marketplace suggestions in orders list empty state
2019-02-26 18:22:02 +02:00
Gerhard Potgieter
dbe93b96c4
Merge pull request #22865 from woocommerce/fix/22863
...
Add alt text to gallery thumbnail
2019-02-26 18:20:35 +02:00
Gerhard Potgieter
3455b2c1cb
Merge pull request #22830 from woocommerce/add/marketplace-updater-wc-queue
...
Update Marketplace suggestions data using WC_Queue
2019-02-26 17:55:33 +02:00
Mike Jolley
017f0e5e0d
Merge pull request #22834 from nishitlangaliya/issue-22757
...
feat: wc_product_stock_status_options filter added for stock status options
2019-02-26 14:06:02 +00:00
Mike Jolley
20eb503128
Add alt text to gallery thumbnail
2019-02-26 14:03:25 +00:00
Naveen giri
913b8e84bf
Fix wpcs error and avoid unnecessary checks
2019-02-26 18:31:34 +05:30
Gerhard
3dde01570a
Remove wp_clear_scheduled_hook for the plugin and theme background installer that does not run via cron anymore.
2019-02-26 12:44:27 +02:00
Gerhard
1e21ebe367
Remove the callbacks only
2019-02-26 12:25:12 +02:00
Mike Jolley
176965d139
Merge pull request #22825 from thatwasnotme/fix/data-stores-docs-param-type
...
Correct invalid param type from id to int
2019-02-26 10:24:58 +00:00
Gerhard
ccbb8313b6
Revert "Remove old hooks for woocommerce_theme_background_installer and woocommerce_plugin_background_installer. There are no scheduled events for these anymore and the Wizard has it's own theme/plugin installer that uses the shutdown hook instead of cron."
...
This reverts commit 0f771bf4fe
.
2019-02-26 12:24:56 +02:00
Mike Jolley
68c1ec6763
Merge pull request #22826 from woocommerce/fix/22708
...
Calculate shipping before totals during checkout update
2019-02-26 10:24:02 +00:00
Mike Jolley
6c35df1551
Return string
2019-02-25 22:01:22 +00:00
Mike Jolley
8792b53ecb
shop_messages shortcode requires wc_print_notices
2019-02-25 22:01:07 +00:00
haszari
c45a39676c
use safe get for API request, linter fixes, doc comments
2019-02-26 10:07:42 +13:00
Krzysztof Grabania
946b1e2469
Remove whitespace characters from Select2 option title
2019-02-25 20:12:54 +01:00
Claudio Sanches
80aee99fee
Prevent a few structured data warnings
...
This prevents warnings about 'image', 'description' and 'sku'.
'brand' included as empty fields just to register.
Note that warnings still comes for empty fields like 'sku' or 'brand'.
This is the message that should throw from Google Console:
> The brand field is recommended. Please provide a value if available.
Since is recommended, this PR should solve the max warnings as possible.
Fixes #22842
2019-02-25 15:49:14 -03:00
nishitlangaliya
ee621eec8a
fix: filter prefix changed and unit test added for fn:wc_get_product_stock_status_options
2019-02-25 19:03:57 +05:30
Gabriel
8a9990f98d
[ADD] Do Action before cart is emptied
2019-02-25 06:01:38 +01:00
haszari
97524aab16
Merge branch 'feature/marketplace-suggestions' into add/product-edit-suggestions
...
# Conflicts:
# includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+ fix linter errors / warnings
2019-02-25 16:12:24 +13:00
haszari
1aff17f0b9
Merge branch 'feature/marketplace-suggestions' into add/orders-list-suggestions
2019-02-25 16:05:04 +13:00
haszari
556bd1b372
remove hard-coded test suggestion data
2019-02-25 13:34:59 +13:00
haszari
764926f30c
rename product edit suggestions contexts for consistency
2019-02-25 10:21:22 +13:00
Valerie
8a796138ef
OBW: Add Facebook to recommended step
...
The end date for the Facebook recommendation
is October 8, 2019.
When the option is checked, this will install the extension
'Facebook for WooCommerce' on the user's site.
2019-02-23 17:40:37 -05:00
haszari
041068a705
use full path when including container template, rename folder 'views'
2019-02-24 09:37:33 +13:00
nishitlangaliya
53b5be7e83
feat: wc_product_stock_status_options filter added for stock status options for variable product
2019-02-23 11:10:22 +05:30
Valerie
ca316d8933
OBW: Remove customized blurb on recommended step
2019-02-22 21:14:22 -05:00
Konstantin Kovshenin
1dad53d5e0
Update Marketplace suggestions data using WC_Queue
...
Schedules an update task to run as soon as possible to fetch the
suggestions data, and cache it for a week. Failures are cached for
a day.
2019-02-22 22:34:18 +03:00
Konstantin Kovshenin
a0af355a45
Change marketplace suggestions label to "Get more options"
2019-02-22 21:16:13 +03:00
Mike Jolley
e21912294a
calc shipping before totals
2019-02-22 16:43:42 +00:00
Tarik Causevic
5f87fa49e1
Correct invalid param type from id to int
2019-02-22 17:39:58 +01:00
Naveen giri
f741d507ba
Bugfix/#22821: Add Fix for Warning and Notices on save attribute button click
2019-02-22 19:27:16 +05:30
Mike Jolley
27ac2e1577
phpcs
2019-02-22 13:33:41 +00:00
Mike Jolley
d07d1cf0b0
If taxes are enabled, make the refund box readonly
2019-02-22 13:30:49 +00:00
Mike Jolley
0c2bc16bc1
Improved ratio and size matching code to prevent false positives
2019-02-22 12:10:54 +00:00
Mike Jolley
d31fbb5bf3
Helper to get full size dimensions
2019-02-22 12:10:28 +00:00
Mike Jolley
4a383fa832
When resizing, avoid extra checks via our filter
2019-02-22 12:10:16 +00:00
Mike Jolley
21f98555dc
Image downsize without filters
2019-02-22 12:09:59 +00:00