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

📝Note: This feature, alongside many more, is already bundled in the premium version of Neve.

⏪ 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, all you need to do is 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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.