plugins/woocommerce/client/blocks/docs/internal-developers/testing/releases/920.md
Zip file for testing: woocommerce-gutenberg-products-block.zip
Products > Attribute (/wp-admin/edit.php?post_type=product&page=product_attributes).color), check the Enable archives? checkbox, and save.Site Editor (/wp-admin/site-editor.php?postType=wp_template), make sure you have no customizations on any template.Product Catalog template, add some customization and save./shop and make sure you see the customization you just did.product-category/clothing/, /product-tag/music, color/red, depending on your store configuration).Product Catalog template, meaning you see exactly the same customization you did on the Product Catalog.Site Editor, click on one of the templates using the Catalog fallback (either Products by Category, Products by Tag, or Products by Attribute).Site Editor and make sure Product Catalog still has its original customization.Product Catalog./shop and make sure you see the Product Catalog customization.| Before | After |
|---|---|
大きさ.大大きさ attribute.大きさ, see it the block works and the products is filtered as expected./wp-admin/admin.php?page=wc-settings&tab=account.Guest checkout → Allow customers to place orders without an account.Account creation → Allow customers to create an account during checkout.You must be logged in to checkout. Click here to log in../wp-admin/admin.php?page=wc-settings&tab=account.Guest checkout → Allow customers to place orders without an account.Account creation → Allow customers to create an account during checkout.Guest as a Customer:/wp-admin/admin.php?page=wc-settings&tab=account.Guest checkout → Allow customers to place orders without an account.Account creation → Allow customers to create an account during checkout.Customer:/wp-admin/admin.php?page=wc-settings&tab=account.Guest checkout → Allow customers to place orders without an account.Account creation → Allow customers to create an account during checkout.Create an account? is not checked.Guest as a Customer./wp-admin/admin.php?page=wc-settings&tab=account.Guest checkout → Allow customers to place orders without an account.Account creation → Allow customers to create an account during checkout.Create an account? is checked.Customer:| Before | After |
|---|---|
Make sure your store doesn't have any products with ratings.
Open the editor and add a Filter by Rating block.
Make sure a notice is displayed informing there are no products with ratings available, as demonstrated on the screenshot shared here on this PR. Also, ensure the dummy list with default product ratings is displayed below the notice.
Now, add a rating to any product in your store.
Refresh the editor and make sure the notice is replaced with the expected value:
On the front end, ensure the filter by rating works as expected and without any changes.
[email protected]test@testProducts (Beta) block and [recent_products] shortcode block.Products (Beta) to 4 products per row x 3 rows.Newest.Products (Beta) block (the front end and the editor) and the Recent Products shortcode are the same.Contact Information inner block.Allow shoppers to sign up for a user account during checkout setting is no longer visible.Place Order button according to their needs. (7843)This test should verify that the filter value overwrites the merchant value.
/wp-admin/edit.php?post_type=custom-css-js and add the following JS code snippet:const label = () => 'Pay now';
const { __experimentalRegisterCheckoutFilters } = window.wc.blocksCheckout;
__experimentalRegisterCheckoutFilters( 'custom-place-order-button-label', {
placeOrderButtonLabel: label,
} );
Place Order button to Place Order Now.Pay now.This test should verify that the payment method value overwrites the merchant value for the corresponding payment method, but that the merchant value is visible for other payment methods.
/wp-admin/edit.php?post_type=custom-css-js and deactivate the JS code snippet of the previous test./wp-admin/admin.php?page=snippets and add the following PHP code snippet:add_filter( 'woocommerce_should_load_paypal_standard', '__return_true' );
/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=paypal and select the options Enable PayPal Standard and Enable PayPal sandbox.Place Order button still says Place Order Now.PayPal.Proceed to PayPal.PayPal.Place Order Now.This test should verify that the merchant value is visible.
/wp-admin/admin.php?page=wc-settings&tab=checkout and deactivate the payment method PayPal Standard.Place Order button still says Place Order Now.Place Order button says Place Order Now.Test that the default value remains visible in the frontend when no filter, payment method or merchant value is available, and that the button shows the placeholder text
Place Orderin the editor.
Place Order button and save the page.Place Order is visible.Place Order buttons says Place Order even though the button is empty in the editor./wp-admin/site-editor.php?postType=wp_template_partMini Cart Contents » Filled Mini Cart view » Mini Cart Footer.View my cart and Go to checkout labels.Empty Mini Cart view » Mini Cart Shopping Button.Start shopping label.Start shopping label is visible, when there are no products in the cart.View my cart and Go to checkout labels are visible, when there are products in the cart.| Before | After |
|---|---|
Proceed to Checkout button. You should be able to edit the text of this buttonPrerequisite: Browser must have saved addresses that can be used to autocomplete forms. Preferably 2 from different counties.