Page:
Release Testing Instructions WooCommerce 6.4
Pages
3.6.x notes FAQ
API Critical Flows
Adding Actions and Filters
COT Upgrade Recipe Book
Common Issues
Contributing to the WooCommerce REST API
Core Profiler Testing Instructions
Critical Flows
Customizing image sizes in 3.3
Declaring WooCommerce support in themes
End to end Testing
Extra VVV Configurations
HPOS CLI commands
HPOS: new order querying APIs
High Performance Order Storage Upgrade Recipe Book
High perfromance Order Storage Upgrade Recipe Book
Home
How to set up WooCommerce development environment
Minification of SCSS and JS
Naming conventions
Puppeteer to Playwright Migration Guide for e2e Testing
Release Testing Instructions WooCommerce 3.8
Release Testing Instructions WooCommerce 3.9
Release Testing Instructions WooCommerce 4.0
Release Testing Instructions WooCommerce 4.1
Release Testing Instructions WooCommerce 4.2
Release Testing Instructions WooCommerce 4.3
Release Testing Instructions WooCommerce 4.4
Release Testing Instructions WooCommerce 4.5
Release Testing Instructions WooCommerce 4.6
Release Testing Instructions WooCommerce 4.7
Release Testing Instructions WooCommerce 4.8
Release Testing Instructions WooCommerce 4.9
Release Testing Instructions WooCommerce 5.0
Release Testing Instructions WooCommerce 5.1
Release Testing Instructions WooCommerce 5.2
Release Testing Instructions WooCommerce 5.3
Release Testing Instructions WooCommerce 5.4
Release Testing Instructions WooCommerce 5.5
Release Testing Instructions WooCommerce 5.6
Release Testing Instructions WooCommerce 5.7
Release Testing Instructions WooCommerce 5.8
Release Testing Instructions WooCommerce 5.9
Release Testing Instructions WooCommerce 6.0
Release Testing Instructions WooCommerce 6.1
Release Testing Instructions WooCommerce 6.2
Release Testing Instructions WooCommerce 6.3
Release Testing Instructions WooCommerce 6.4
Release Testing Instructions WooCommerce 6.5
Release Testing Instructions WooCommerce 6.6
Release Testing Instructions WooCommerce 6.7
Release Testing Instructions WooCommerce 6.8
Release Testing Instructions WooCommerce 6.9
Release Testing Instructions WooCommerce 7.0
Release Testing Instructions WooCommerce 7.1
Release Testing Instructions WooCommerce 7.2
Release Testing Instructions WooCommerce 7.3
Release Testing Instructions WooCommerce 7.4
Release Testing Instructions WooCommerce 7.5
Release Testing Instructions WooCommerce 7.6
Release Testing Instructions WooCommerce 7.7
Release Testing Instructions WooCommerce 7.8
Release Testing Instructions WooCommerce 7.9
Release Testing Instructions WooCommerce 8.0
Release Testing Instructions WooCommerce 8.1
Release Testing Instructions
Roadmap and release process
Select2 fields not working in 3.0.x
Structured data for products
Testing Action Scheduler
Testing Backlog
Testing the Core Profiler
Thumbnail Image Regeneration in 3.3
Translating WooCommerce
Upgrading the database using WP CLI
Using WP_DEBUG_LOG to log errors
WC_Queue WooCommerce Worker Queue
WooCommerce Git Flow
Writing high quality testing instructions
wc_get_orders and WC_Order_Query
wc_get_products and WC_Product_Query
8
Release Testing Instructions WooCommerce 6.4
rodelgc edited this page 2022-03-24 15:22:58 +08:00
Table of Contents
- WooCommerce Admin Updates
- Prompt a modal to save any unsaved changes in OBW
- Fix Google Listings plugin is always shown in free features despite already activated
- Fix view logic for Setup additional payment providers task
- Fix setup wizard title and flash of content
- OBW: fix copy on Business Details when "WooCommerce Shipping" is not listed
- Show single success message for theme install and activation
- WooCommerce Blocks Updates
- Add Global Styles support to the Product Price block. (5950)
- Add Global Styles support to the Add To Cart Button block. (5816)
- Store API - Introduced wc/store/v1 namespace. (5911)
- Renamed WooCommerce block templates to more e-commerce related names. (5935)
- Featured Product block: Add the ability to reset to a previously set custom background image. (5886)
- Blocks 7.2.0
- WooCommerce Core Updates
WooCommerce 6.4 includes:
WooCommerce Admin Updates
Prompt a modal to save any unsaved changes in OBW
- Start with a fresh install.
- Navigate to WooCommerce -> Home to start the OBW.
- Complete a few steps.
- Click any of the previous steps and make some changes.
- Click the next/previous step. You should be prompted by the modal to save your changes. Click the save button.
- Go back to the step and confirm the changes.
- Repeat the step, but click the disregard button for this time.
- Confirm the changes are not saved for this time.
Fix Google Listings plugin is always shown in free features despite already activated
- Make sure the fallback payment suggestions file is used:
- turn off
woocommerce_show_marketplace_suggestions
option usingwp-cli
:wp option set woocommerce_show_marketplace_suggestions no
- turn off
- Go to setup wizard's business details step -> free features tab
- Observe that "Google Listings and Ads plugin" is displayed
- Install and activate Google Listings and Ads plugin (https://woocommerce.com/products/google-listings-and-ads/)
- Go to setup wizard's business details step -> free features tab
- Observe the plugin is NOT present
Fix view logic for Setup additional payment providers task
- Start the onboarding wizard on a fresh install
- Choose a supported country like US
- Install WooCommerce Payments in the Business Details / Free Features step.
- Do not complete the WooCommerce Payments set up.
Case 1: WC Pay is not set up
- See that "Get paid with WooCommerce Payments" task is not ticked.
- See that "Setup additional payment providers" is not shown.
Case 2 WC Pay is set up
- Set up WooCommerce Payments or cheat by adding
return true
tosrc/Features/OnboardingTasks/Tasks/WooCommercePayments.php
line 128 - See that "Get paid with WooCommerce Payments" task is ticked.
- See that "Setup additional payment providers" is shown.
Fix setup wizard title and flash of content
- Navigate to
wp-admin/admin.php?page=wc-admin&path=%2Fsetup-wizard
directly via your browser's address bar - Note that the page content underneath (header, menu, etc) is not shown while the profile wizard is loading
- In your browser's console run
document.body.classList.remove('woocommerce-admin-full-screen');
- This will result in a broken layout, but the important item to note here is that the header title is now "Setup Wizard" instead of "/setup-wizardStoreDetails"
- Navigate to other pages to make sure no regressions have occurred
OBW: fix copy on Business Details when "WooCommerce Shipping" is not listed
- Create a test site using JN.
- Start OBW and enter an address that is not in the US.
- Choose "food and drink" from the Industry
- When you get to the "Business Details", click "Free features".
- Note that "WooCommerce Shipping" is not listed.
- Confirm that the copy under the plugin list says:
By installing Jetpack plugin for free you agree to our Terms of Service.
.
- No go to the first step and select an address in the US.
- Go back to the "Business Details" step and click "Free features".
- The text now should say:
By installing Jetpack and WooCommerce Shipping plugins for free you agree to our Terms of Service.
- Run the tests and confirm that everything is working well.
Show single success message for theme install and activation
- Navigate to the store setup wizard theme step
- Choose a new theme
- Note the single success toast notice
WooCommerce Blocks Updates
Add Global Styles support to the Product Price block. (5950)
- Be sure that you are on
WordPress 5.9
. - Install and enable the
Twenty Twenty-Two
theme. - Select Appearance > Editor (beta). On the Editor page click on the
Styles
icon in the top-right corner. - Edit some Global Styles e.g. color & font-size for the Product Price block in the Blocks section.
- Create a new post and add the All Products block.
- The Price component should reflect the changes made in Global Styles.
- Click the Edit icon in the block toolbar. Select the Price block and change its styles in the right sidebar. Click Done & save.
- Ensure the local styles override the Global Styles on the Frontend of your store.
Add Global Styles support to the Add To Cart Button block. (5816)
- Be sure that you are on
WordPress 5.9
. - Install and enable the
Twenty Twenty-Two
theme. - Add the
All Products
block (this block contains theAdd To Cart Button Block
) to a post. - Click the Edit icon in the block toolbar. Select the
Add To Cart Button
. - On the right sidebar, personalize the styles of the block. Click Done & save.
- View the post on the Frontend and confirm your changes.
- Reset to default using the
Reset
button from the different sections. - Go to Dashboard and select Appearance > Editor (beta). At the top of the screen, select Home > Browse all templates > Single Post. When the page is loaded, add the
All Products
block to the page. - On the Editor page click on the
Styles
icon in the top-right corner. - Verify that the
Add To Cart Button
is shown under theBlocks
section. Personalize the block again. - Save your changes.
- Go on the page created earlier and check if all styles are applied correctly.
- Edit your previous post/page again.
- Change the styles again and save your changes.
- Check if these new styles have priority over the global styles from the Site Editor.
Store API - Introduced wc/store/v1
namespace. (5911)
- Smoke test checkout process to highlight any problems with cart/checkout endpoints.
- Smoke test the All Products block to highlight any problems with product endpoints.
- Try accessing old endpoints, for example,
https://store.local/wp-json/wc/store/cart
. These should still work. - Try accessing new endpoints, for example,
https://store.local/wp-json/wc/store/v1/cart
.
Renamed WooCommerce block templates to more e-commerce related names. (5935)
- Be sure that you are on
WordPress 5.9
. - Install and enable the
Twenty Twenty-Two
theme. - Select Appearance > Editor (beta).
- Select the dropdown next to Home and click the "Browse all templates" button.
- Confirm that the WooCommerce block template names appear on the list according to the following table:
Old Title | New Title |
---|---|
Product Archive | Product Catalog |
Product Tag | Products by Tag |
Product Category | Products by Category |
Single Product | no change |
Featured Product block: Add the ability to reset to a previously set custom background image. (5886)
- Add a Featured Product block to a page, post, or template. Select a product that has a product image.
- In the block toolbar, click Replace and add custom background media.
- The button to Reset the image should become available in the block toolbar.
- Clicking the Reset button should remove the custom media.
- The original product image should show again.
Blocks 7.2.0
WooCommerce Core Updates
Fixed clear cart after payment for block-based themes (Twenty Twenty-Two) 31877
Preparation:
- Activate Twenty Twenty-Two theme.
- Install and setup any payment gateway plugin which does not clear the cart after payment (example: WooCommerce PayFast Gateway)
Prime the persistent cart:
- Login as a customer and add some items to the cart.
- Log out.
- Log back in.
Now to test:
- Your cart should already be populated; go ahead and check out (and be sure to use the noted payment gateway, or one that behaves in a similar fashion).
- After paying, you should be returned to the order-received page.
- Now navigate to the cart page:
- Using earlier code (ie, WooCommerce 6.2.1) you should notice that the cart remains populated ❌
- With this branch, the cart should have been successfully cleared ✅
Contribution
- Set up development environment
- Our Git Flow
- SCSS and JS minification
- Naming conventions
- CSS SASS coding guidelines and naming conventions
- Critical Flows
- API Critical Flows
- String localisation guidelines
- Translating WooCommerce
- Deprecation in core
- Adding Actions and Filters
- Common Issues
- Writing high-quality testing instructions
Release Notes
- Release Testing Instructions
- 3.6.x notes/FAQ
- 2.6.x to 3.0.0 Developer Migration Notes
- Select2 fields not working in 3.0.x
- Thumbnail Image Regeneration in 3.3+
- Customizing image sizes in 3.3+
REST API and CLI
CRUD & Data Descriptions
- Database Description
- CRUD Objects in 3.0
- Order and Order Line Item Data
- Coupon Data
- Customer Data
- Product Data
- Data Stores
Internal APIs
Theming
- Enabling product gallery features (zoom, swipe, lightbox)
- Template File Guidelines for Devs and Theme Authors
Examples / Guides
WooCommerce is an open source commerce platform built for WordPress and lovingly crafted by Automattic and the WooCommerce community 💜. Come and work with us!