Albert Juhé Lluveras
713c43afdb
Init BlockTemplatesRegistry and BlockTemplatesController from Bootstrap.php
2024-02-27 12:05:11 +01:00
Albert Juhé Lluveras
845e75119f
Get BlockTemplatesRegistry directly from BlockTemplateUtils to simplify code
2024-02-26 14:55:38 +01:00
Albert Juhé Lluveras
24a0e3dc34
Fix tests
2024-02-26 10:39:36 +01:00
Albert Juhé Lluveras
5d2a622c3f
Fix Single Product classes not being applied
2024-02-26 10:33:19 +01:00
Albert Juhé Lluveras
562a33d98d
Fix lint errors
2024-02-26 09:54:34 +01:00
Albert Juhé Lluveras
2065a9ffcc
Avoid using static constants and methods in block template classes
2024-02-26 09:47:34 +01:00
Albert Juhé Lluveras
b2d4a85fe8
Avoid using static constants and methods in BlockTemplatesRegistry
2024-02-26 09:47:10 +01:00
Albert Juhé Lluveras
d77476e0fa
Make init functions protected in template classes
2024-02-23 16:21:07 +01:00
Albert Juhé Lluveras
5a464fc052
Cleanup
2024-02-22 11:37:42 +01:00
Albert Juhé Lluveras
bc8d0c975d
Add get_template_title and get_template_description methods to AbstractTemplate
2024-02-22 09:38:22 +01:00
Albert Juhé Lluveras
1f730511d3
Fix slug usage in AbstractPageTemplate.php
2024-02-22 09:38:22 +01:00
Albert Juhé Lluveras
48800e5c55
Register templates in BlockTemplatesRegistry
2024-02-22 09:38:22 +01:00
Albert Juhé Lluveras
4c8ab693a3
Make it so AbstractTemplatePart extends AbstractTemplate
2024-02-22 09:38:22 +01:00
Albert Juhé Lluveras
b03b3ba18d
Replace hardcoded 'archive-product' slug with ProductCatalogTemplate::SLUG
2024-02-22 09:38:22 +01:00
Albert Juhé Lluveras
6cc4fb56ba
Fix PHP tests
2024-02-22 09:38:22 +01:00
Albert Juhé Lluveras
533121c444
Add changelog entry
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
7d7f18e7a1
PHP cleanup
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
f2d7981081
Move template redirect into template files
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
f164674586
Code cleanup
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
3b076bced8
Create the other template files
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
f3685b18bc
Move Mini-Cart Template reposnibility to the MiniCartTemplate.php file
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
f314506ae0
Move Single Product Template responsibilities to the SingleProductTemplate.php file
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
2a43561d46
Remove unnecessary param comment
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
94d9929f66
Remove unnecessary elseif
2024-02-22 09:38:21 +01:00
Albert Juhé Lluveras
db292e8120
Cleanup BlockTemplatesController constructor
2024-02-22 09:38:21 +01:00
Alba Rincón
b142db05b1
Update footer large Twitter icons to X ( #44807 )
...
* Update footer large twitter icons to X
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-02-22 09:34:22 +01:00
Alba Rincón
856fae433b
[CYS] Fetch the `activeThemeHasMods` right before is used to improve intro loading time ( #44647 )
...
* Fetch the activeThemeHasMods right before is used
* Add changelog
2024-02-22 09:30:11 +01:00
Néstor Soriano
eb9723e5e0
Remove property type hints in TransientFilesEngine and ReceiptRenderingEngine ( #44829 )
2024-02-22 08:59:43 +01:00
Néstor Soriano
67787b8a48
Fix the REST API controllers registration ( #44833 )
...
The code was mistakenly assuming that any controller class name not
starting with WC_REST_ was handled by the container, but other
plugins may register their own controller classes that use
a different naming convention.
2024-02-22 08:59:27 +01:00
Caleb Mazalevskis
097811fb93
Fix typos. ( #40899 )
...
* Fix typos.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-02-22 07:10:00 +00:00
nigeljamesstevenson
be4a36579a
Update release-code-freeze.yml
2024-02-21 17:29:36 +00:00
And Finally
3bafb1b612
Promotions: changed transient name ( #44857 )
...
* Changed transient name.
* Changelog.
2024-02-21 17:27:34 +00:00
nigeljamesstevenson
be18770859
Update release-code-freeze.yml
2024-02-21 16:45:06 +00:00
Adrian Moldovan
4b2f949231
Fix pnpm postinstall temp workaround ( #44853 )
2024-02-21 10:32:24 -06:00
Ron Rennick
ace46a5120
add missing community reviewer folders ( #44819 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-21 12:27:22 -04:00
Remi Corson
20b3d51845
Fetch & display marketplace promotions ( #44840 )
...
* Fetch & display marketplace promotions
* add changelog entry
* Pass promos via inline JS, demove unused JS file, rely on transient only
* Return early if not on expected page
* Compare dates in UTC
* remove unused global userLocale
* Small tweaks.
* TypeScript linter errors.
* fix TS lint
---------
Co-authored-by: Remi Corson <1649788+corsonr@users.noreply.github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2024-02-21 16:09:23 +00:00
Tomek Wytrębowicz
0d3008bede
Improve rendering of Order Attribution inputs ( #44333 )
...
- Expose public method to render OA input fields
- Render OA inputs on `woocommerce_checkout_after_customer_details`
in case the checkout form does not contain `woocommerce_checkout_shipping`, `woocommerce_after_order_notes`.
Addresses part of #44159
Co-authored-by: Justin Palmer <228780+layoutd@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-02-21 16:38:04 +01:00
Ilyas Foo
c601a0b197
Wrangle MarketingRecommendations as RemoteSpecsEngine ( #44828 )
...
* Fix potential recursion error, add MarketingRecommendations to extend RemoteSpecsEngine, add error handling, add tests
* Changelog
* Added spec evaluation and return default when empty
* Update plugins/woocommerce/src/Admin/Features/MarketingRecommendations/Init.php
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
---------
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2024-02-21 15:22:47 +00:00
Adrian Moldovan
34a71f3963
Force mariadb docker image tag ( #44841 )
2024-02-21 16:06:44 +02:00
Bart Kalisz
045df6f3e7
[E2E] Stabilize Product Collection "on sale" tests ( #44796 )
2024-02-21 13:44:07 +01:00
Albert Juhé Lluveras
6b9e732ebf
Prevent script caching by using the WC core version to hash Interactivity API assets instead of old WC Blocks version ( #44806 )
...
* Prevent script caching by using the WC core version to hash Interactivity API assets instead of old WC Blocks version
* Add changelog entry
2024-02-21 12:14:45 +01:00
Sam Seay
ccb1fb3d76
[Experimental] Fix a bug in new attribute filter where we didn't set the attribute from content panel ( #44757 )
2024-02-21 19:53:15 +13:00
Sam Seay
cd5b4196d9
Don't throw exception if data exists for `needsRefreshForInteractivityAPI` ( #44808 )
2024-02-21 18:53:20 +13:00
Paul Sealock
e0d8872376
Remote Spec Splits - Create new value 1 - 120 ( #44786 )
2024-02-21 15:24:44 +13:00
Ilyas Foo
42aa02740c
Add base RemoteSpecsEngine class, add logging for errors in all remote specs ( #44775 )
...
* Add basic RemoteSpecEngine class, add logging for errors
* Changelog
* Fix logic error
* Add log name
2024-02-21 09:33:38 +08:00
Corey McKrill
53a5a11c6a
Docs: Update logging doc with 8.6 changes ( #44336 )
...
Update logging doc with 8.6 changes
2024-02-20 23:37:29 +00:00
Adrian Moldovan
f4f4d798fe
[e2e tests] Add tests for product inventory in product block editor ( #44699 )
...
* Remove describe blocks and duplicated page fixture
* Add test `can update sku`
* Add changelog
* Finish test 'can update sku'
* Add test 'can update stock status'
* Add test 'can track stock quantity'
* Add test 'can limit purchases'
* Remove extra whitespace
* Disable product editor tour
* Revert timeout update
2024-02-20 14:25:16 -08:00
Paul Sealock
487f230f0a
Shipping Settings: Update Create btn text on method creation ( #44788 )
...
* Update shipping method btn text on create
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-02-20 21:46:28 +00:00
Barry Hughes
171043f079
APIv1 > Orders Controller > Avoid deprecated means of accessing coupon data ( #44741 )
...
Update the (REST API v1) orders controller to use the currently supported means of accessing coupon information.
This avoids the generation of deprecation notices, which are problematic for some users who cannot yet update to API v2 or higher.
Fixes #39006
2024-02-20 13:08:04 -08:00
louwie17
ddbbccf5a3
Fix download buttons in downloads section ( #44816 )
...
* Remove use of subsection actions and fix add support for subsection and section in SectionActions
* Add changelog
* Make sure subsection description block will still work.
2024-02-20 14:35:27 -04:00