Commit Graph

39011 Commits

Author SHA1 Message Date
Raluca Stan f28a1fdba6 Update WooCommerce blocks package to 5.3.0 2021-06-15 11:55:26 +02:00
Vedanshu Jain f3c9be0492
Merge pull request #30093 from woocommerce/fix/woocommerce-css-editor
Register woocommerce.css so it can be enqueued in the editor
2021-06-15 11:37:27 +05:30
Barry Hughes 0564fb729d
Merge pull request #30101 from woocommerce/add/5-4-1-changelog
Added 5.4.1 To Changelog
2021-06-14 14:18:44 -07:00
Christopher Allford 5eb3f19aab
Added 5.4.1 To Changelog 2021-06-14 13:49:43 -07:00
roykho 665464c49b
Revert previous jQuery migration changes as it is not needed here closes #30089 2021-06-14 06:41:57 -07:00
Albert Juhé Lluveras ee08d2d110 Register woocommerce.css so it can be enqueued in the editor 2021-06-14 08:32:26 +02:00
Nestor Soriano 6dbcd64a21
Disable attributes lookup table usage before initiating regeneration. 2021-06-11 11:59:30 +02:00
Nestor Soriano 7c9137698b
Implement handling of changesets in the LookupDataStore class. 2021-06-11 11:44:57 +02:00
frosso a4ad8c67da updates on the images 2021-06-10 14:34:42 -05:00
frosso 0883ccc26a also remove unused images 2021-06-10 13:11:26 -05:00
frosso d6724ad67d chore: remove WCS canada post mentions 2021-06-10 13:07:24 -05:00
frosso e445918c8e chore: copy changes on WCS banner 2021-06-10 12:29:32 -05:00
Nestor Soriano bbddcbcc15
Fix in FiltererTest after mrging from trunk. 2021-06-10 17:00:09 +02:00
Nestor Soriano 13ed3b80e0
Merge branch 'trunk' into add/29609 2021-06-10 12:35:34 +02:00
Christopher Allford 19bdc1c35b
Merge pull request #30074 from woocommerce/fix/jquery-trim-migration
Update former uses of jQuery.trim to work properly with non-string types
2021-06-09 15:43:33 -07:00
Roy Ho 042582e022
Merge pull request #30076 from woocommerce/fix/30075
Fix issue with jQuery migration and editing addresses in wp-admin
2021-06-09 14:47:18 -07:00
Jonathan Sadowski 2715b745d7 Update for coding standards 2021-06-09 16:23:26 -05:00
Jonathan Sadowski 4d32ef0dac Fix issue with jQuery migration and editing addresses in wp-admin 2021-06-09 16:06:18 -05:00
Claudio Sanches 2cf30b0190
Merge pull request #30044 from woocommerce/update/add-fse-customize-link
FSE: add link to Customizer WooCommerce panel in block-based themes
2021-06-09 17:17:25 -03:00
Jonathan Sadowski b157fe8eac Restore inadvertant removal of semicolon in select2 2021-06-09 13:03:25 -05:00
Jonathan Sadowski 67a5a969b4 Fix a typo in params.term comparison 2021-06-09 12:59:35 -05:00
Jonathan Sadowski 2fad2d7116 Update former uses of jQuery.trim to work properly with non-string types 2021-06-09 12:50:03 -05:00
Michael P. Pfeiffer 19cd1e6ee6 Remove P2 reference 2021-06-09 14:14:21 +02:00
Michael P. Pfeiffer a54ccf01b4 FSE: add link to Customizer WooCommerce panel in block-based themes 2021-06-09 14:14:21 +02:00
Rodel Calasagsag 0cc9788ff6 Relocated instantiation statements 2021-06-09 17:44:20 +08:00
Rodel Calasagsag e5ed6dc81a Revert whitespaces for easier review 2021-06-09 17:38:20 +08:00
Rodel Calasagsag f2305a2486 Fix instantiation of grouped product variables 2021-06-09 17:08:45 +08:00
Rodel Calasagsag 78ef1e4411 Remove unnecessary import 2021-06-09 15:55:58 +08:00
Rodel Calasagsag 47a3ea0077 Revert default.json 2021-06-09 15:55:47 +08:00
Rodel Calasagsag 511e873beb Sync this branch with `trunk` 2021-06-09 15:38:34 +08:00
Christopher Allford f1e67a2b3a
Merge pull request #30066 from woocommerce/update/changelog-5.4
Added 5.4 Changelog Content
2021-06-08 14:17:04 -07:00
Christopher Allford dfca2e6135
Added 5.4 Changelog Content 2021-06-08 12:17:07 -07:00
Nestor Soriano b85c8b6138
Merge branch 'master' into add/29609 2021-06-08 17:55:13 +02:00
Nestor Soriano 039f81ea50
Implement the product attributes lookup table data creation.
Lookup entries for a product or a variation are created whenever
the product is created, including untrashing and duplication
(not yet when an existing product is modified).
2021-06-08 17:53:45 +02:00
Barry Hughes c503f5d637
Merge pull request #29896 from woocommerce/add/29610
Filter catalog products by attribute using the new lookup table
2021-06-08 07:37:06 -07:00
Nestor Soriano ef9145de86
Small improvements in the filtering by attribute lookup table.
- Use 'absint' instead of an '(int)' in an anonymous function.
2021-06-08 15:47:04 +02:00
Nestor Soriano 0b1158cf5c
Small improvements in the filtering by attribute lookup table.
- Combined two 'if's in one
- Added extra santitization of term ids in the Filterer class
2021-06-08 10:18:35 +02:00
Sabbir Ahmed 81fd117b70 redirect without removing the events handler 2021-06-07 22:43:33 +06:00
Nestor Soriano e54ff461f9
Implement the product attributes lookup table data deletion.
Lookup entries for a product or a variation are deleted whenever
the product is deleted or trashed.
2021-06-07 16:54:08 +02:00
Nestor Soriano 7f86d1988d
Remove superfluous 'delete' method in WC_Product_Variation class. 2021-06-07 16:52:22 +02:00
Rodel Calasagsag d9cead9943 Merge branch 'trunk' into add/e2e-shopper-create-products-api 2021-06-07 18:48:11 +08:00
Rodel Calasagsag 179bad04b8 Fixed erroneous variables 2021-06-07 18:46:40 +08:00
Rodel Calasagsag 21d037900a Use API to create Grouped Products 2021-06-07 17:41:36 +08:00
Rodel Calasagsag 61992e2d2e Minor doc change 2021-06-07 16:11:41 +08:00
Rodel Calasagsag 779f618adf Refactor steps 2021-06-06 01:07:19 +08:00
Rodel Calasagsag 6ab74bf811 Fix variation factory to include all fields from params 2021-06-05 20:50:44 +08:00
Rodel Calasagsag ef90dc7ea3 REfactor first 2 tests 2021-06-05 20:49:43 +08:00
Rodel Calasagsag 81e05acdd6 Use API to generate all possible variations 2021-06-05 20:48:38 +08:00
Vedanshu Jain f34ef00021
Merge pull request #30013 from woocommerce/fix/allow-block-templates
Allow block templates for WooCommerce pages
2021-06-05 14:11:21 +05:30
Nestor Soriano f237642af4
Refactor save method in WC_Product and WC_Product_Variable
The 'save' method in WC_Product_Variable was almost identical
to the parent method in WC_Product, only adding a few bits
of extra processing before and after the actual datastore save.
This commit adds a couple of protected methods,
before_data_store_save_or_update and after_data_store_save_or_update,
and implements them in WC_Product_Variable so that the extra
'save' method in WC_Product_Variable can be removed.
2021-06-04 12:21:29 +02:00