You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Move Related Products's notice component to the Inspector Control section. (8843)
Go to Appearance > Themes and activate a Blockfied theme, such as: Twenty-twenty Three;
After the theme is activated, go to Appearance > Editor (Beta);
Inside the Design section, click on Templates;
Select the Single Product template;
On the top left of the page, click on the Edit button;
Using the Block Inserter, type: Related Products, and add the block to the Site Editor;
Click on the Save button;
Check that the Skeleton component appears above the Add To Cart button.
Before
After
Product SKU Block: Don't render the prefix when the SKU isn't defined. (8837)
Create a post/page.
Add the Products block.
Inside the Products block, add the Product SKU block.
Save the post/page.
Edit a Product that will be visible in Products block.
Scroll down until you see the “Inventory” section. In that section, it is visible a field labeled “SKU.” Remove the SKU in that field, and then click on the “Update” button at the bottom of the page.
On the front end, visit the saved post/page and check the Products block.
Ensure that the edited product doesn't have the SKU prefix visible.
Before
After
Mini-cart: Add the option to change the style between 'Outline' and 'Fill' in all the buttons. (8835)
Add the Mini cart block to the header template of your site.
Go to the Site Editor and edit the Mini cart template part.
Open the List view and select the Empty Mini Cart view.
Click on the Start shopping button, check that you can change the button style between Default and Outline in the sidebar settings and change it from the default and save.
Go to the frontend and check the button has the style you just picked on the Site editor.
Repeat the same steps for the Filled Mini Cart view and the View my cart and the Go to checkout buttons.
Product SKU: Make the block focusable in editor. (8804)
Create a new post
Add Products block
Add Product SKU block to Products
Hover and click on the product
Expected: Product SKU can be focused on and contextual menu is displayed. Block can be moved up and down to switch places with other blocks.
Add the Mini cart block to the header template of your site.
Go to the Site Editor and edit the Mini cart template part.
Open the List view and select the Filled Mini Cart view.
Click on the View my cart button and check that you can change the background and text colors of the button.
Click on the Go to checkout button and check that you can change the background and text colors of the button.
Save, go to the frontend, and check the buttons have the colors you just picked on the Site editor.
Add the ability to change the background and text colors of the Mini Cart block "Start shopping" button. (8766)
Add the Mini cart block to the header template of your site.
Go to the Site Editor and edit the Mini cart template part.
Open the List view and select the Empty Mini Cart view.
Click on the Start shopping button and check that you can change the background and text colors of the button.
Change both of them and save.
Go to the frontend and check the button has the colors you just picked on the Site editor.
Mini-cart: Add setting to not render the block on the cart & checkout pages. (8700)
Site Editor
Go to the Site Editor > Template parts and edit the header template to add the Mini Cart block. Save.
Edit the block and make sure you see the new setting:
Make sure the default option is Hide.
In the store, go to the Cart page and make sure the Mini Cart is rendered but invisible. Repeat but for the Checkout page.
Go back to the Site Editor, change the Mini Cart setting to Remove, and save.
In the store, go to the Cart page and make sure the Mini Cart markup is not rendered at all. Repeat but for the Checkout page.
Post/page
Create a new post or page.
Insert the Mini Cart.
Make sure the new Mini Cart in cart and checkout pages setting does not appear.
Ensure shipping rates do not show in the Checkout block if the "Hide shipping costs until an address is entered option is selected". (8682)
Go to WooCommerce -> Settings -> Shipping -> Local Pickup, enable Local Pickup and add a location.
Go to the Checkout block in the Page editor, click on the Shipping Options block - in the block sidebar, enable the Hide shipping costs until an address is entered option.
In WooCommerce -> Settings -> General change Default customer location to No location by default.
In an incognito window, add an item to your cart and go to the Checkout block.
Ensure no shipping rates are shown, and ensure the "Shipping" button for method selection says calculated with an address
Enter an address (one that you have rates set up for) - as you fill in the address, be sure the rates don't populate until it's completely filled in. (address 1, city, state, country, postcode).
Ensure you can change rates etc.
Disable the Hide shipping costs until an address is entered in the Page editor and ensure the rates show as usual as soon as the country/state are entered and the rest of the address is empty. (note you should enter a country that you have rates for!).
Move option to hide shipping costs until an address is entered to the Checkout block. (8680)
Go to WooCommerce -> Settings -> Shipping -> Local Pickup, enable Local Pickup and add a location.
Go to the Checkout block in the Page editor. Select the Shipping Method block
See the Hide shipping costs until an address is entered option in the block sidebar.
Toggle it and ensure it works. Remember the value you toggled it to.
Select the Shipping options block, see the same option. Ensure the value is the same as what it was in step 4.
If the option is true then you should see the text Shipping options will be displayed here after entering your full shipping address. instead of shipping options.
Toggle the option and ensure the inner block changes to either shipping options or the text.
Go back to the Shipping Method block and toggle the option there. View the Shipping options block while toggling and ensure it changes.
Before
After
Remove certain Shipping settings from WooCommerce -> Settings -> Shipping -> Shipping Options when using the Cart or Checkout blocks, these have been moved to setting on the blocks. (8679)
Go to WooCommerce -> Settings -> Advanced - set the Cart and Checkout pages to pages containing the shortcode cart/checkout experience. Save.
Go to WooCommerce -> Settings -> Shipping -> Shipping Options - observe the two options, Hide shipping costs until an address is entered and Enable the shipping calculator on the cart page.
Go to WooCommerce -> Settings -> Advanced - set the Cart page to one containing the Cart Block. Save.
Go to WooCommerce -> Settings -> Shipping -> Shipping Options - observe that where the two options were in step 2, only, Hide shipping costs until an address is entered remains. Ensure it displays correctly and looks OK.
Go to WooCommerce -> Settings -> Advanced - set the Checkout page to one containing the Checkout Block. Save.
Go to WooCommerce -> Settings -> Shipping -> Shipping Options - observe that where the two options were in step 2 nothing appears.
Go to WooCommerce -> Settings -> Advanced - set the Cart page to one containing the Shortcode cart. Save.
Go to WooCommerce -> Settings -> Shipping -> Shipping Options - observe that where the two options were in step 2 only Enable the shipping calculator on the cart page appears. Ensure it displays correctly.
Expected results
Shortcode Cart
Block Cart
Shortcode Checkout
Block Checkout
Add spacing between Mini Cart title and products list when scrolled. (8676)
With a block theme, add the Mini Cart block to the header of your site.
Add many products to your cart.
Click on the Mini Cart button to open the drawer.
Scroll down the list of products in the Mini Cart drawer and verify there is some space between the title and product list.
Go to Appearance > Editor > Template parts and edit the Mini Cart template part.
Change the background color to something different.
Repeat steps 3 and 4 and verify the space between the Mini Cart title and the products list honors that color.
Before
After
After (with custom background color)
Add new ExperimentalOrderLocalPickupPackages Slot/Fill. (8636)
Go to WooCommerce -> Settings -> Shipping -> Local Pickup and activate Local Pickup. Ensure you have added a couple of locations.
Add an item to your cart and go to the Checkout block.
Select Local Pickup and ensure the options you set up in step 1 are visible.
Add a product to the Cart and go to the Checkout block page.
Select United Kingdom (UK) as country.
Verify that the postcode AA9A 9AA passes the validation.
Verify that the postcode 9999 999 fails the validation.
Verify that it's not possible to have spaces before the postcode, .e.g. AA9A 9AA.
Verify that lowercase letters, e.g. aa9A 9aa, are automatically converted to uppercase letters, e.g. AA9A 9AA.
Display pickup location details in order confirmations. (8727)
Place an order using the Checkout block, selecting Local Pickup as your shipping method.
Check the order confirmation page shows pickup details.
Confirm the order confirmation page hides the "shipping address".
Check the order email confirmation shows the same pickup details.
Local Pickup: Merge country and state into same field in location modal. (8408)
Enable local pickup in WooCommerce -> Settings -> Shipping -> Local pickup -> General.
Under Pickup locations, click on Add pickup location. The Pickup location modal should open
Choose a country with a state. Ensure it's displayed in one field
Fill in the other fields of the modal form, click on done, then save changes
Go to your store, add a product to the cart, then go to the Checkout Block page
Under the Shipping method section, select Local Pickup
Ensure the correct country and state you previously selected are correctly showing under Pickup options
Go back to the local pickup settings from step 1. Follow the same steps from 2 to 7, but in step 3, choose a country without a state (e.g., Cameroon) and ensure that the State text field is displayed. Fill in the form and continue with the rest of the instructions.
Before
After
Enable users to migrate to the blockified Single Product template. (8324)
Enter the Single Product template.
Check that the placeholder description says "This block serves as a placeholder for your WooCommerce Single Product Block. We recommend upgrading to the Single Products block for more features to edit your products visually. Don't worry, you can always revert back.".
Click the Upgrade to Blockified Single Product Template button.
See new templates work in the Site Editor and on the front end.
Before
After
Screen.Capture.on.2023-03-23.at.09-43-02.mp4
Fix border styles not visible in the editor in Featured Product and Featured Category blocks. (8838)
Add a Featured Item (Featured Category or Featured Product) block to a page or post.
Select the border controls and add a border style. Add a color and give it some width.
You should see the border you set dynamically display on the featured item.
Now click on the Unlink button on the border controls and try setting different values for color and width for each of the border sides (top,right,bottom,left).
Ensure this is working by visually seeing the changes to the featured item.
Save and make sure this is also displaying correctly on the frontend.
Test both Featured Category and Featured Product blocks.
Add decoding to product names titles that are in HTML entities. (8824)
Create a product with special characters in its name (ie: Hat & sticker or Shirt - Green).
In the Page editor, add a Featured Product, Hand-Picked Products or Reviews by Product block.
Notice in the selector the names of the products with special characters looks correct and not in the HTML entity form.
Fix react 18 error in the Site editor when using cart/checkout blocks. (8820)
Install and activate WordPress Beta Tester plugin.
Go to wp-admin -> Tools -> Beta testing.
Select Bleeding edge radio option under Select the update channel you would like this website to use.
Select Release Candidates Only radio option under Select one of the stream options below.