Website Building » WooCommerce » How Do I Display Add to Cart Button on Shop Page WooCommerce?

How Do I Display Add to Cart Button on Shop Page WooCommerce?

Last updated on October 1, 2022 @ 5:25 am

If you want to display the add to cart button on the shop page in WooCommerce, there are a few things you need to do. First, you need to make sure that your theme supports WooCommerce.

If it doesn’t, you’ll need to switch to a theme that does or find a plugin that will add WooCommerce support to your current theme.

Once you’ve ensured that your theme supports WooCommerce, you need to go to the Customizer and navigate to the WooCommerce section. In here, you’ll find an option called ‘Enable Cart Fragments’. You need to make sure that this is enabled so that the add to cart button appears on the shop page.

If you’re still not seeing the add to cart button on the shop page, it’s likely because your theme is not displaying it correctly. In this case, you’ll need to add some code to your child theme’s functions.php file or use a plugin like WooCommerce Custom Add To Cart Button.

Once you’ve added the code or installed the plugin, you should see the add to cart button appearing on the shop page correctly.

Conclusion: Enabling the ‘Enable Cart Fragments’ option in the WooCommerce Customizer should make the add to cart button appear on the shop page.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.