Developer
Overview
These settings tell HidePrice Pro where in your theme to place the price replacement, the Add to Cart replacement and the price request button. The defaults fit the Luma theme. Change them only with your developer. You find them in Stores → Configuration → MageMe Extensions → HidePrice → Developer.
Settings
Price Replacement
| Setting | Scope | Default | Description |
|---|---|---|---|
| Product Listing Price Selector | Store View | .product-item-details:nth-of-type(2) | CSS selector for price elements on product listing pages (e.g., category pages, search results) |
| Product View Price Selector | Store View | .product-info-price | CSS selector for price elements on individual product view pages. |
Add To Cart Button Replacement
| Setting | Scope | Default | Description |
|---|---|---|---|
| Product Listing Price Request Button Selector | Store View | .actions-primary | CSS selector for Price Request buttons on product listing pages (e.g., category pages, search results) |
| Product View Price Request Button Selector | Store View | .product-add-form | CSS selector for Price Request button on individual product view pages. |
Price Request Form
| Setting | Scope | Default | Description |
|---|---|---|---|
| Product Listing Price Request Button Selector | Store View | .product-item-details:nth-of-type(2) | CSS selector for Price Request buttons on product listing pages (e.g., category pages, search results) |
| Product View Price Request Button Selector | Store View | .product-add-form | CSS selector for Price Request button on individual product view pages. |
| Custom Request Button CSS Classes | Store View | — | CSS classes for the Request Price button, separated by spaces. |
Notes
- Theme integration: what each selector does and how to find the right one for your theme, and the request button CSS classes.
- The replacement is in the wrong place: the checks to run first.
Was this page helpful?