Skip to content

How to Keep the 'Add to Cart' Button Text from Changing to 'View Cart' in Neve ​

By default, WooCommerce automatically changes the Add to Cart button label to View Cart after a product is added to the cart. This is standard WooCommerce behavior and is not controlled by Neve. There is no built-in theme option to prevent this change, but you can override it using custom CSS.

📝 Note: This behavior is part of WooCommerce core, not the Neve theme. The CSS workaround below applies to Neve and most WooCommerce-compatible themes.

Add Custom CSS to Keep the Button Text Persistent ​

You can prevent the button from showing View Cart by hiding the link WooCommerce adds after a product is placed in the cart, so only the original Add to Cart button remains visible.

  1. Navigate to Appearance > Customize in your WordPress dashboard.
  2. Click Additional CSS at the bottom of the left panel.
  3. Paste the following CSS:
css
.added_to_cart {
    display: none !important;
}
  1. Click Publish to save your changes.

This hides the View Cart link that WooCommerce inserts next to the button after a product is added, so the Add to Cart button continues to appear as the primary call to action on the shop page.

💡 Tip: If you are using a child theme, you can also add the CSS to your child theme's style.css file for better portability.

Verify the Change ​

  1. Open your shop page in a browser.
  2. Add any product to the cart.
  3. Confirm that the button still displays Add to Cart and no View Cart link appears next to it.

⚠️ Note: If you are using the WooCommerce Booster module or a custom loop template, the button markup may differ. In that case, inspect the button using your browser's developer tools and adjust the CSS selector as needed.

Was this helpful?