woocommerce/plugins
Maikel David Pérez Gómez a592a473d3
Introduce a product type selection within the new experience (#41823)
* Create a relation between the product type and the product block template

* Add 'patterns' to name the kind of products that can be created for a specific template

* Resolve template using its id as a template query param

* Rename ProductEditPattern to ProductTemplate

* Rename get_patterns hook to woocommerce_product_editor_get_product_templates

* Return the list of templates to the client

* Set layout template events as array

* Register the layout template based on the product template or the post type in case of product variations

* Registering non supported product types

* Create and register the woocommerce/product-details-section-description block

* Add the product type to the section description

* Create product type selector

* Fix menu item style

* Highlight selected menu item

* Set the selected product template

* Set product template title to lowercase in the content description

* Rename blocks by blockTemplates under the AbstractBlockTemplate class

* Rename to woocommerce_product_editor_product_templates filter

* Remove product_template_ prefix from the supported_product_types map

* Rename get_formatted to to_JSON and convert the props to client side like

* Refactor get_product_templates

* Fix icon resolution

* Add a confirmation modal for unsupported product templates

* Add changelog files

* Remove product types using for testing

* Fix redirection when changing to a non supported product template

* Set the change button state to busy when it is saving the product

* Fix php linter errors

* Fix rebase conflict

* Move ProductTemplate to Automattic\WooCommerce\Admin\Features\ProductBlockEditor namespace

* Add the to_json definition to the BlockTemplateInterface

* Create default product template by custom product type if it does not have a template associated yet

* Fix some comments and product template creation validation

* Add support to load the product template icon from an external resource

* Fix php linter

* Fix the changelog description
2023-12-21 18:45:31 -05:00
..
woo-ai Add React Testing Library to the Woo AI plugin. (#42993) 2023-12-21 12:25:08 +01:00
woocommerce Introduce a product type selection within the new experience (#41823) 2023-12-21 18:45:31 -05:00
woocommerce-admin Fix product task redirect to support grouped and external products (#43051) 2023-12-21 14:09:00 -04:00
woocommerce-beta-tester Updated PNPM to ^8.12.1 (#42860) 2023-12-18 20:31:49 +13:00
woocommerce-blocks Add price range filter to Product Collection block (#42858) 2023-12-21 12:45:20 +05:30
woocommerce-docs Fixed WooCommerce Docs Build Errors (#42000) 2023-12-10 22:39:00 -08:00