Skip to content

How to enable the Add to Cart button on the Shop page in Neve

By default, Neve does not display the Add to Cart button on the shop listing page, so visitors have to open individual product pages to buy. You can enable it directly on the shop page using a code snippet or a plugin.

📝Note: This feature, alongside many more, is available in the premium version of Neve. If you have Neve Pro, enable it under Customize > WooCommerce > Product Card instead of using the snippet below.

Before

By default, the Add to cart button is not visible on the Shop page in Neve. Users can add products in the cart from the single product pages after they've viewed the details of the products.


After

If you want to have the Add to Cart button visible on the Shop page as well, you can download, install and activate the plugin available on this page.

Alternatively, you can create a child theme and add the following code in the child theme's functions.php file:

add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 20);

That's all! The Add to cart button should be visible under each product.

Was this helpful?