Skip to main content

Add to Cart is still visible

Symptom​

The price is hidden, but the Add to Cart button still shows. You may see it on a product page, in a product list, in related products or in the sidebar. A related case: a product disappears from the cart after the customer signs in. That case is explained below, in A product left the cart after sign-in.

Checks​

Work through the checks in order. Stop at the first one that does not show the expected result.

  1. Check Elements to Hide (options). It is Both Price and Add to Cart or Add to Cart Only. With Price Only, the button stays on purpose.
  2. Open the product and check its HidePrice Scope (values). It is not Exclude From Config Scope. To hide only the button of one product, use Always Hide Buy Button.
  3. Check where you see the button. Some products are set to Always Hide Buy Button or Always Hide Price And Buy Button. With Price Only, HidePrice Pro 3.1.4 and earlier could leave their button visible in related products, product lists and the recently ordered sidebar. You run HidePrice Pro 3.1.5 or later. On a Hyvä theme, the fix for Always Hide Price And Buy Button in product lists came with the Hyvä package 2.1.5.
  4. If your store uses a Hyvä theme, check that the HidePrice Pro Hyvä package is installed (Installation). It is installed and enabled. Without it, HidePrice Pro does not control the Hyvä templates.
  5. If your store uses its own theme, check whether the theme prints its own Add to Cart button. The theme uses the standard Magento product templates. A button the theme adds by itself needs a developer (Theme integration).
  6. Clean the Magento cache after you save settings. Go to System → Tools → Cache Management and refresh the cache types marked Invalidated. The button is gone after you reload the page.

A product left the cart after sign-in​

This is expected behavior, not a fault. A guest adds a product to the cart, then signs in. Magento merges the guest cart into the customer's cart. Then the customer's group decides: products whose Add to Cart button is hidden from that group are taken out of the cart. This has worked since HidePrice Pro 3.1.5.

The same rule applies whenever the cart is read. A product whose button is hidden from the customer can't stay in the cart, and the customer can't order it. Items of an accepted EasyQuote offer are an exception: they stay in the cart (cart exemptions).

If the customer should be able to buy the product, show the button to their group (who sees prices). For the full list of places where HidePrice Pro keeps hidden products out of the cart, see Where hidden prices stay hidden.

Expected result​

Reload the page as the customer you tested with. The Add to Cart button is gone and the replacement you chose shows in its place. A direct attempt to add the product to the cart is refused.

Fix​

  • If check 1 failed: select the Elements to Hide value that includes Add to Cart.
  • If check 2 failed: set HidePrice Scope to Default or Always Hide Buy Button.
  • If check 3 failed: update HidePrice Pro, and the Hyvä package if you use one (Updating HidePrice Pro).
  • If check 4 failed: install the Hyvä package (Installation).
  • If check 5 failed: ask your developer to adapt the theme (Theme integration).
  • If check 6 failed: refresh the invalidated cache types, then reload the page.

If none of the checks helped, contact MageMe support at support@mageme.com. Say where the button shows and which theme you use.

Last reviewed November 28, 2026