-
Notifications
You must be signed in to change notification settings - Fork 219
Provide a way to switch to the blockified Single Product Template #8324
Conversation
Add Product Image Gallery
…ocks into add/8233-product-image-gallery-block
When used in a Row block in a blockified Archive Product template, Product Results Count had additional unnecessary margin which caused misalignment with the Catalog Sorting block
It was added couple of commits earlier, since the template was kept there, but it was decided to move it to assets directory, so entry is no longer necessary
…on the availability to convert to Products block
…in blockified Archive Product template
…ell as Single Product templates
…/woocommerce-blocks into add/convert-classic-template
…ex.tsx to the product-archive.ts
…ed template blocks aligned wide That is required, so the Classic Template layout is preserved
…://github.com/woocommerce/woocommerce-blocks into add/8208-convert-single-product
…://github.com/woocommerce/woocommerce-blocks into add/8208-convert-single-product
…://github.com/woocommerce/woocommerce-blocks into add/8208-convert-single-product
…ocks into add/8208-convert-single-product
The PR is ready to be reviewed! @thealexandrelara @kmanijak |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some points that I'd like to discuss before approving:
-
I noticed that the Related Products block does not have the title for the section, and probably this is happening because a
wp-block-heading
block is missing before the Related Products block.
-
I also noticed that the Product Details and the Related Products blocks have a smaller width than the blocks above. The classic template for the Single Product block had a width of 1000px, so I'm wondering if we should set this width for the Group block that is wrapping all the blocks, what do you think?
Could you let me know if you pulled the last changes on this repo? The things that you noticed should be already fixed 🤔 Screen.Capture.on.2023-03-23.at.09-43-02.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @gigitux, I think it might be related to a cache issue, now it is working perfectly. Approving this PR. Thank you all for working on this!
By removing the `isExperimentalBuild` conditional checks in the Classic Template block, we can ensure the features added in #8324 will land in WooCommerce Core and are not limited to the feature plugin. See p1680000654295729-slack-C02UBB1EPEF for additional context.
* Remove isExperimentalBuild checks. By removing the `isExperimentalBuild` conditional checks in the Classic Template block, we can ensure the features added in #8324 will land in WooCommerce Core and are not limited to the feature plugin. See p1680000654295729-slack-C02UBB1EPEF for additional context. * Revert isExperimentalBuild removal on registration The conditional `isExperimentalBuild` conditional check that was wrapping some conditional registration of the classic template block seems to be unrelated to the template conversion/migration. This is something we can revisit and test separately but should not be included in this changeset.
* Remove isExperimentalBuild checks. By removing the `isExperimentalBuild` conditional checks in the Classic Template block, we can ensure the features added in #8324 will land in WooCommerce Core and are not limited to the feature plugin. See p1680000654295729-slack-C02UBB1EPEF for additional context. * Revert isExperimentalBuild removal on registration The conditional `isExperimentalBuild` conditional check that was wrapping some conditional registration of the classic template block seems to be unrelated to the template conversion/migration. This is something we can revisit and test separately but should not be included in this changeset.
* Empty commit for release pull request * Add WC Blocks 9.9.0 changelog * Update supported versions for WC Blocks 9.9.0 * Update versions for WC Blocks 9.9.0 * Add testing notes for 9.90 release * Update testing instructions Co-authored-by: Thomas Roberts <[email protected]> * Remove active the latest trunk part from the testing instructions Co-authored-by: Thomas Roberts <[email protected]> * Add instructions to activate WP release candidates - Add the editor type for each reference. - Add instructions to activate WP release candidate * Fix readme file reference * Fix unlinked border widths in WP 6.2 (#8893) * Check for address on shippingData (#8878) * Make a Single Product conversion enabled in Core, but keep the Product Archive behind experimental flag (#8907) * Remove `isExperimentalBuild` Checks in Classic Template Block (#8902) * Remove isExperimentalBuild checks. By removing the `isExperimentalBuild` conditional checks in the Classic Template block, we can ensure the features added in #8324 will land in WooCommerce Core and are not limited to the feature plugin. See p1680000654295729-slack-C02UBB1EPEF for additional context. * Revert isExperimentalBuild removal on registration The conditional `isExperimentalBuild` conditional check that was wrapping some conditional registration of the classic template block seems to be unrelated to the template conversion/migration. This is something we can revisit and test separately but should not be included in this changeset. * Update changelog and testing instructions to include cherry-picked PRs * Update release zip * Update readme to be in correct order --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Tarun Vijwani <[email protected]> Co-authored-by: Thomas Roberts <[email protected]> Co-authored-by: Albert Juhé Lluveras <[email protected]> Co-authored-by: kmanijak <[email protected]> Co-authored-by: Daniel W. Robert <[email protected]> Co-authored-by: Thomas Roberts <[email protected]>
Fixes #8208
Screenshots
Screen.Capture.on.2023-03-23.at.09-43-02.mp4
Testing
Automated Tests
User-Facing Testing
Prerequisites:
WordPress: >=6.1
Make sure
Single Product
template is cleared out to the default state. To achieve that:/wp-admin/site-editor.php?postType=wp_template
)Clear customizations
Steps
Single Product
template.Upgrade to Blockified Single Product Template
button.WooCommerce Visibility
Changelog
Description updated by @gigitux