Skip to main content

Add To Cart Replacement

Overview​

These settings decide what customers see in place of a hidden Add to Cart button and on which pages. You find them in Stores → Configuration → MageMe Extensions → HidePrice → General → Add To Cart Replacement.

The WebForms Hide Price add-on adds the option WebForms: Button With Popup to Replace Add To Cart With. With the add-on installed, this group shows four more settings for that option: Form, Button Text, Custom Button CSS Classes and Custom Popup CSS Classes. The same four appear in the other replacement group, eight in all. Without the add-on you don't see them. To set them up, see Price request through a WebForms form.

Settings​

Shown when Elements to Hide is Both Price and Add to Cart or Add to Cart Only.

Setting Scope Default Description
Replace Add To Cart With Store View N/A Replace Add To Cart with the selected element. Options: N/A, Text, Button With Alert, Authentication Button, WebForms: Button With Popup.
Show In Store View Product Listing, Product View Show the replacement element in selected areas. Options: Product View, Product Listing. Shown when Replace Add To Cart With is Text or Button With Alert or Authentication Button or WebForms: Button With Popup.
Form Store View — The WebForms form the popup opens. Shown when Replace Add To Cart With is WebForms: Button With Popup. Options: your forms. Appears when the WebForms Hide Price add-on is installed.
Button Text Store View Buy The text on the button. Shown when Replace Add To Cart With is WebForms: Button With Popup. Appears when the WebForms Hide Price add-on is installed.
Custom Button CSS Classes Store View — Extra CSS classes for the button, so it matches your theme's buttons. Shown when Replace Add To Cart With is WebForms: Button With Popup. Appears when the WebForms Hide Price add-on is installed.
Custom Popup CSS Classes Store View — Extra CSS classes for the popup window. Shown when Replace Add To Cart With is WebForms: Button With Popup. Appears when the WebForms Hide Price add-on is installed.

Shown when Replace Add To Cart With is Text.

Setting Scope Default Description
Text Store View — The text customers see in place of the hidden price or Add to Cart button.

Shown when Replace Add To Cart With is Authentication Button.

Setting Scope Default Description
Button Text Store View Sign In The text on the sign-in button.
Button Text Color Store View — The color of the button text as a hex code, such as FFFFFF. Leave it empty to keep the theme's color.
Button Background Color Store View — The background color of the button as a hex code, such as 1979C3. Leave it empty to keep the theme's color.

Shown when Replace Add To Cart With is Button With Alert.

Setting Scope Default Description
Button Text Store View Click For Info This text will display instead of default component.
Button Text Color Store View — The color of the button text as a hex code, such as FFFFFF. Leave it empty to keep the theme's color.
Button Background Color Store View — The background color of the button as a hex code, such as 1979C3. Leave it empty to keep the theme's color.
Alert Icon Store View Info This icon will be displayed on the popup. Options: None, Success, Error, Warning, Info, Question.
Alert Title Text Store View Info This title will be displayed inside popup.
Alert Text Store View MageMe HidePricePro This text will be displayed inside popup.
Alert Button Text Store View Close This text will be displayed on button inside popup.

Notes​

Last reviewed November 28, 2026