Moving your site from the old shortcode system to the new WooCommerce Blocks (Gutenberg editor) is certainly a smart upgrade. With blocks, you can get more visual control of your store’s design and features. All without needing custom code.
Step-by-Step WooCommerce Blocks Migration Made Simple
1. Preparation and Compatibility Check
- Backup Your Site: Before making any major changes, create a full backup of your website. This includes your database and files. This is a critical step that allows you to restore your site if anything goes wrong.
- Update Everything: Make sure that your WordPress core, WooCommerce plugin, and any other plugins and themes are updated to the latest versions. WooCommerce 7.0 and later, and especially 8.3 and later, have blocks as the default experience for new sites.
- Choose a Block-Compatible Theme: While you can use blocks on any theme, you’ll get the full site-editing experience (which allows you to customize templates like the Shop page) with a “block theme.” Popular options include Storefront Blocks, Twenty Twenty-Two, and Astra. You can find block themes in the WordPress theme directory by filtering for “Block Themes.”
2. Implement Blocks
The core of the process involves replacing the old shortcodes on your pages with new WooCommerce blocks. This is done page by page, especially for key store pages, such as the Shop, Cart, and Checkout.
- Shop Page: The Shop page is where your products are displayed.
- Navigate to Pages > All Pages and open your Shop page in the editor.
- Remove any existing shortcodes or content that displays your products.
- Use the block inserter (represented by the ‘+’ icon) to locate and add the ‘All Products’ (Product Collection) block.
You can then customize the block’s settings in the sidebar to control the number of columns, rows, and which products are displayed. You can also add other blocks like Product Search, Product Categories List, or Product Filters. This will help improve the shopping experience.
Before Blocks:

After Blocks:


Focus on your business – We’ll handle your website’s speed, security, uptime, and updates.
Cart and Checkout Pages: These are two of the most important pages for conversions.
- Go to your Cart page and remove the [woocommerce_cart] shortcode.
- Add the Cart block from the block inserter.
- Do the same for your Checkout page, replacing the [woocommerce_checkout] shortcode with the Checkout block.
- The blocks provide a live preview of the page and allow you to customize the layout, fields, and other settings from the right-hand sidebar.
- After adding the blocks, you need to ensure that these pages are correctly assigned as the Cart and Checkout pages in your WooCommerce settings: WooCommerce > Settings > Advanced.

Before Cart:

After Cart:
3. Customization and Optimization
- Customize Block Settings: Once you add a block, you can easily adjust how it looks and works using the block toolbar and settings sidebar. You can change colors, fonts, button styles, and even control how many products show up. This gives you full control to match your store design without touching code.
- Optimize for Performance: WooCommerce Blocks are faster than the old shortcodes, but you should still optimize your site. Use a caching plugin, compress your images, and make sure your hosting/server is up-to-date. This will keep your store running smoothly and help improve SEO rankings.
- Test Your Store After Switching: After moving to WooCommerce Blocks, test your store carefully. Check product pages, the cart, checkout, and all other features. Make sure everything looks right, loads fast, and works correctly. Don’t forget to test plugins, especially those that affect checkout, to confirm they’re compatible.
How to Go Back to Shortcodes (If Needed)
If something doesn’t work or you prefer the old setup, WooCommerce makes it easy to switch back. Just select the block, click “Transform” in the toolbar, and choose “Classic Shortcode.” This way, you always have a backup option while trying out blocks.

Build, Customize, and Scale Your WooCommerce Store with WooNinjas
Common WooCommerce Blocks Mistakes to Avoid
- Skipping the Backup Step: No backup means no quick recovery if something fails.
- Using an incompatible theme: Older themes may not style blocks properly.
- Not Testing on a Staging Site First: Live changes can break your store in front of customers.
- Mixing Shortcodes and Blocks: Leads to inconsistent styling and layout problems.
- Ignoring Plugin Compatibility: Some extensions aren’t yet block-ready.
- Forgetting to Update WooCommerce Page Assignments: Without this, the checkout may fail.
- Overlooking Mobile Responsiveness: Always test your new design on phones and tablets.
- Skipping Performance Optimization: Blocks won’t fix slow loading caused by unoptimized assets.
The Key Takeaway
Migrating to WooCommerce Blocks isn’t just about giving your store a new look. It’s about creating an online shop that’s easier to manage, more flexible, and ready for the future of WordPress.
If you prepare properly, test carefully, and avoid common mistakes, the move to blocks can be smooth and stress-free. Once set up, WooCommerce Blocks let you design your store visually no coding needed while giving your customers a modern, faster, and more enjoyable shopping experience.
This upgrade is an investment in your store’s growth and flexibility. You’ll get faster launches, more control over your design, and a shopping experience that matches today’s e-commerce trends.
Do you want to go deeper? Check out our detailed guide: “What the Shift to WooCommerce Blocks Means for Your Theme, Checkout, and Plugins” for insights on how this change impacts your design, checkout flow, and plugin setup.
Ready to Switch to WooCommerce Blocks Without the Stress?
Migrating your store to WooCommerce Blocks can feel like a big project but you don’t have to do it alone. At WooNinjas, our certified WooCommerce experts handle everything for you: from theme and plugin compatibility checks to custom block setup and performance optimization.
Let us take care of the technical side so you can focus on growing your sales.
So, what are you waiting for? Partner with WooNinjas today and make your WooCommerce Blocks migration smooth and stress-free.


