plugins/woocommerce/client/blocks/docs/internal-developers/testing/releases/1010.md
Zip file for testing: woocommerce-gutenberg-products-block.zip
Featured products 2 columns pattern appears under the WooCommerce category dropdown.Testimonials 3 columns pattern appears under the WooCommerce category dropdown.WP Admin » Appearance » Editor.Typography and Color settings.Address : Stationsplein 151
Country/Region : Nederland
Postal code : 5211 BP
City : 's-Hertogenbosch
| Before | After |
|---|---|
Create a new page or post
Add the "Products" block to your post.
Add Product Stock Indicator block as an inner block if not included already
Select the Product Stock Indicator block and open the block settings in the right sidebar.
Customize the block using the new styling options available:
5.1. Change the text color, background color, font family, font size, font appearance, line height, letter spacing, text decoration, letter case, margin, and padding under the appropriate settings sections.
Verify that the styling changes are immediately visible and correctly applied within the editor.
Save the post, then view it on the front end to ensure the styling changes are visible and applied correctly.
Open the Global Styles sidebar by clicking the "Styles" button at the top right corner of the editor.
In the Global Styles sidebar, locate the "Product Stock Indicator" block.
Customize the block using the new styling options available under the "Product Stock Indicator" block in the Global Styles sidebar:
3.1. Change the text color, background color, font family, font size, font appearance, line height, letter spacing, text decoration, letter case, margin, and padding under the appropriate settings sections.
Verify that these applied correctly within editor & on frontend:
4.1. Create a new post
4.2. Add Products block
4.3. Add Product Stock Indicator block as an inner block if not included already
4.4. Check the Product Stock Indicator block in both the editor and on the front-end to ensure that the changes made through the Global styles UI are accurately applied:
4.4.1. In the editor, inspect Product Stock Indicator block & ensure it matches the values set in the Global styles UI.
4.4.2. Save the post & publish it. On frontend, inspect Product Stock Indicator block & ensure it matches the values set in the Global styles UI.
Also, verify the changes in All Products block, which also uses Product Stock Indicator block.
CART TOTALS element, with the CSS class .wc-block-cart__totals-title, is using a <span> instead of an <h2>.Order summary element, with the CSS class .wc-block-components-order-summary, is using a <div> instead of an <h2>.CART TOTALS element, with the CSS class .wc-block-cart__totals-title, is using a <span> instead of an <h2>.Order summary element, with the CSS class .wc-block-components-order-summary, is using a <div> instead of an <h2>.| Before | After |
|---|---|
العربية).EditableButton.Image of the error that shouldn't be visible:
parts/mini-cart.html file): twentytwentythree.zip.In other words, given that you created a custom template in step 1, you should never see the template from the theme.
| Editor | Frontend |
|---|---|
| Before | After |
|---|---|
Use Case 1
trunk branch), go to the Site Editor and clear the customizations (if any) on the Mini Cart template.6259/customize-mini-cart-title).Mini Cart, and check the title is still visible.Use Case 2
Go to the Site Editor and clear the customizations (if any) on the Mini Cart template.
Enter the Mini Cart template (wp-admin/site-editor.php?postId=woocommerce%2Fwoocommerce%2F%2Fmini-cart&postType=wp_template_part&canvas=edit).
Click on the Mini Cart title and make sure the Mini Cart Title block has two inner blocks: Mini Cart Title Label and Mini Cart Title Items Counter.
Select the Mini Cart Title Label and add some customizations on the settings sidebar (colors, typography).
Select the Mini Cart Title Items Counter and add some customizations on the settings sidebar (colors, typography).
Check the customizations are applied in the editor and in the frontend.
| Before | After |
|---|---|
| Mini Cart | Cart |
|---|---|
Go to the Editor, open the Header template, and insert the Mini Cart block.
Go to the Editor > Template parts and open the Mini Cart template.
Open the List View and click on the Mini Cart Contents block.
In the settings sidebar you should see a new Dimensions section with a width selector.
Change the width, see the changes are visible on the editor, and save.
Go to the front-end and check the changes are also reflected there.