95fb51be4d
* Enable Product Collection as a core feature * Fix: disable product query title and summary variations from inserter in favour of Product Collection ones (https://github.com/woocommerce/woocommerce-blocks/pull/10548) * Limit the scope of Product Query's Product Title and Product Summary * Add missing piece after refactoring * Enable manual migration of Products to Product Collection (https://github.com/woocommerce/woocommerce-blocks/pull/10655) * Refactor block variation registration in product-collection (https://github.com/woocommerce/woocommerce-blocks/pull/10701) This commit refactors the product-collection block's variation registration. Changes: - The `product-summary` and `product-title` variations have been encapsulated within their own respective functions: `registerProductSummaryVariation` and `registerProductTitleVariation`. - Imported and invoked these new functions in the main `index.tsx` of the product-collection block, ensuring the variations are registered. --------- Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com> |
||
---|---|---|
.. | ||
elements | ||
index.ts |