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.
Check that is centered on the page (like the "after" banner in the screenshot 👇).
Check it works well on mobile as well.
Move RadioControland RadioControlAccordion components to components package 11312
Install Multiple Packages for WooCommerce and go to WooCommerce > Settings > Multiple Packages. Set the "Group by" option to Product (individual).
Create at least 2 pickup locations (WooCommerce > Settings > Shipping > Local Pickup)
Add multiple products to your cart. Ensure you add one product more than once (so you have 2+ of a single item in the cart)
Visit the checkout
In the shipping options section, switch between different options and make sure the right option is selected and they are greyed out while the http request is in progress.
In the shipping method section, switch to Local Pickup
Select one of the other pickup locations and make sure the right option is selected.
Scroll down to the Payment Options section.
Change the payment method and make sure the right option is selected.
Fill in all the other details, place the order and make sure it goes through ok.
[Store Customization] Fix pattern spacing in homepage template 3 11279
Create a new page or post.
Add all the patterns mentioned above in order.
Check there is a margin of exactly 80px between all of them.
[Store Customization] Fix pattern spacing in homepage template 2 11278
Create a new page or post.
Add all the patterns mentioned above in order.
Check there is a margin of exactly 80px between all of them.
[Store Customization] Fix pattern spacing in homepage template 1 11268
Create a new page or post.
Add all the patterns mentioned above in order.
Check there is a margin of exactly 80px between all of them.
Add: menu-order orderby option for Product Attribute Terms route 11232
Edit or create a new page contain Attribute Filter block.
See the attribute terms list sorted by custom order in the Editor.
Check the page on the front end, confirm the terms are also sorted by custom ordering.
Move FormattedMonetaryAmount to the components package 11230
Set a product to be on sale in your store.
Install Multiple Packages for WooCommerce and go to WooCommerce > Settings > Multiple Packages. Set the "Group by" option to Product (individual).
Set up local pickup (WooCommerce -> Settings -> Shipping -> Local Pickup) and add a couple of locations. Add a price to this.
Set up a couple of shipping options with a price.
Add the Filter by Price and Products (Beta) blocks to a page on your site.
Go to the page and ensure the Filter by Price block is displaying the correct range of product prices.
Check the product that you set to be on sale, it should be showing the correct sale price, and all other products should be showing the correct price too.
Add 2 products to your cart.
Go to the Cart block. Ensure all products listed in the order summary sidebar show the correct prices.
Ensure the shipping options shown in the Cart block show the correct prices.
Ensure all totals in the Cart block are show the correct price.
Go to the Checkout block.
Ensure the Local Pickup/Shipping selector shows the correct "From" price in the buttons
Select Shipping and scroll down to the shipping section. Ensure all shipping options show the correct price.
Change to Local Pickup and ensure the correct price is shown alongside the pickup location's name.
Ensure the totals are correct in the checkout sidebar.
Repeat steps 5, 6, 7 but with the All Products block.
Cart and Checkout block transforms for classic shortcodes 11228
Prerequisite: Ensure you're already using cart and checkout blocks and you have an incompatible extension installed. You can use WooCommerce Checkout Field Editor as an example.
Go to WooCommece > Home. There should be a task list item "Review your shopper's checkout experience". Click it. You should be taken to the page editor.
Edit the cart page
Edit the cart page
Focus on the parent cart block and click its icon. You should be able to transform to "classic cart"
Refresh the editor
Focus on the cart block. See the incompatibility notice in the sidebar. Click the "switch to classic cart" button.
Modal should open. Click switch. Block should be replaced.
In the snackbar bottom left, click "undo". Should revert back to blocks.
Repeat above tests for checkout block. Pay attention to wording and ensure any references to "cart" are updated with "checkout" during the process.
Move Chip and RemovableChip to components package 11223
Create a coupon
Add the Active Filters block to a page, add the Filter by Attribute block, the Filter by Stock block, and the Products (Beta) block too.
Visit the page, apply some filters, ensure the chips show up correctly in the Active Filters block. Remove the filters by pressing the x on the chip.
Visit the Cart block. Apply the coupon you created in step 1. Ensure the coupon shows correctly:
Remove the coupon.
Proceed to the Checkout block and re-apply the coupon, ensure it shows correctly and ensure it can be removed.
Move CheckboxList and create new blocksComponents package 11214
Add the Filter by Rating, Filter by Attribute, Filter by Stock, and Products (Beta) blocks to a page.
View the page and ensure all the checkboxes work correctly on each of the filter blocks.
View the Cart and then Checkout blocks. Ensure they render correctly.
Check out and ensure the Checkout form works correctly (Should not be affected by this PR but run this test anyway to make sure we didn't miss anything)
[Store Customization MVP] Add fallbacks to all the pattern titles, descriptions and buttons 11208
Create a new page or post.
Insert all the patterns in the dictionary.json file.
Make sure they work as expected both on the editor side and on the front end.
Check your PHP error log and confirm you don't see any errors related to any pattern.
Insert the blocks mentioned on the PR description.
Make sure they are Full width and look good on the editor and the front end.
Test the homepage templates
Compare the 3 templates show below to the designs: Mrk6SERPZ4KrFHSjM0a8TK-fi-5716_46688
Homepage 1
Homepage 2
Homepage 3
Product Collection 5 Columns pattern - Update title and price to be rows instead of columns 11205
Create post or page.
Insert the Product Collection 5 Columns pattern and check that the title and price are stacked rather than side-by-side.
Ensure the spacing between the title and price is consistent with other Product Collection patterns. You can check by searching Product Collection under the patterns tab to find others.
Before
After
Product Collection: Featured Products 5 Columns - Remove no results block. 11198
Create new page or post
add Product Collection: Featured Products 5 Columns pattern
Ensure the wp:query-no-results block isn't rendered and that the text Add text or blocks that will display when a query returns no results. isn't present.
Before
After
Bug Fixes
Remove hardcoded queryIds from patterns that include Product Collection 11290
Go to Editor
Add patterns:
Product Collection Full Grid
Product Collection Grid
Product Collection Rows
Product Collection Simple Grid
Product Gallery
Save and go to frontend
Change the pages of each Product Collection
Expected: Each Product Collection changes pages independently and layout of Product Collection doesn't change
Fix: Mini-Cart block shows wrong total if theres multiple installs on the same domain 11257
Setup Site B on domain.com/test and use USD as the currency
See the Site B Mini Cart works as expected.
Setup Site A on domain.com, lets use EUR as the currency
Add something to the cart on Site A
Go to Site B and don't see its mini-cart affected by site A.
Create a test page and add the Checkout block to it.
Go to the frontend and add a product to the cart.
Go to the checkout and select these fields: Text input, Textarea, Radio input, and Checkbox input.
Verify that the border focus styles of the Text input and Textarea are identical.
Verify that the border focus styles of the Radio input and Checkbox input are identical.
Important
Only the border focus styles of the Radio input and Textarea were adjusted in this PR, as the Text input and Checkbox input focus styles were already correct.
Radio input
Before:
After:
Textarea
Before:
After:
Product Gallery pattern: Use the Product Collection block 11194
Create a page and add the woocommerce-blocks/product-query-product-gallery pattern.
Ensure that Add "remove more" link text doesn't appear in the editor above the price.
Ensure that it looks accurate on the frontend based on what you see in the editor.
Increase number of visible products when cart is empty 11182
Ensure that you are using the Twenty Twenty-Four theme.
Ensure that you have at least four products of which at least one of the most recent ones has a discounted price.
Create a test page and add the Cart block to it.
Switch the view from Filled Cart to Empty Cart.
Verify that four products are visible and that the sales badge is shown within the product image.
Go to the frontend.
Do not add a product to the cart and go directly to the test page with the cart block.
Verify that four products are visible and that the sales badge is shown within the product image.
Before:
After:
Note
Depending on the screen size, the sales badge might overlap or be visible next to the product image.
Copy shipping phone to billing phone if sync is checked 10603
In Checkout, make sure the "use shipping as billing" is filled.
Fill out the phone number.
Uncheck the checkbox, the value should be copied.
Update shipping, it shouldn't keep syncing.
Always show the Enable the shipping calculator on the cart page option in WC Admin 11421
Go to WooCommerce -> Settings -> Advanced - set the Cart page to one containing the Cart Block. Save.
Go to WooCommerce -> Settings -> Shipping -> Shipping Options - confirm the Enable the shipping calculator on the cart page option is displayed.
Check the Enable the shipping calculator on the cart page option and save.
Add a product to the cart and go to the Cart page. Confirm the shipping calculator is displayed
Go to WooCommerce -> Settings -> Shipping -> Shipping Options - Uncheck the Enable the shipping calculator on the cart page option and save.
Go to the Cart page on the front-end. Confirm the shipping calculator is hidden.
Before
After
Add a safe guard that the variable is set before accessing it 11424
Go to Editor
Add Product Collection block
Enter Code Editor mode
Find and remove "shrinkColumns":false" - it will mimic the case it's undefined
Save the page/template and go to frontend
Make sure there's no warning and Product Collection is rendered in non-responsive mode (when you narrow down the screen it will preserve the number of columns and finally collapse to single one for mobile view)
Documentation
Add order and checkout order endpoint documentation 11157
Check that the docs look complete
Should be tested by the development team exclusively
Use the main tag in Cart and Checkout templates 11224
Install and activate a blocks theme eg TT3/TT4
Go to Appearance > Editor > Templates > Manage All Templates
Ensure Page: Cart and Page: Checkout do not have customizations (or delete them if so), and enter edition mode for each one
On List View select Group after the Header (Checkout Header on Page: Checkout template), open Block > Advanced pane and ensure HTML ELEMENT is set to <main>
Do a test purchase, and on the cart and checkout pages verify the content is wrapped under a <main> tag
Update wording on checkout error message to try to prevent retries 10888