Display a secondary price grid
Expose an alternate product price (e.g., VIP grid) below the regular price.
Overview
Some Gezy catalogs define secondary price grids (for example: VIP, wholesale). When this feature is enabled, eligible products will display an additional price alongside the regular price. Requests to Gezy are enriched to fetch prices from the configured grid.
This behavior is disabled by default and can be activated per store.
Enable the feature
Enable the behavior and provide the secondary price grid identifier (globally or per shop):
- Global toggle
- Per-shop override
FRONT_COMMERCE_GEZY_SECONDARY_PRICE_GRID_IS_ENABLED=true
FRONT_COMMERCE_GEZY_SECONDARY_PRICE_GRID_ID=<secondary-price-grid-id>
If you have configured multiple stores, you can override the global toggle and grid identifier per store.
FRONT_COMMERCE_GEZY_SECONDARY_PRICE_GRID_IS_ENABLED_<SHOP_ID>=true
FRONT_COMMERCE_GEZY_SECONDARY_PRICE_GRID_ID_<SHOP_ID>=<secondary-price-grid-id>
Replace <SHOP_ID>
with your shop identifier (for example: default
,
default_en
, default_fr
).
What changes when enabled?
Product price display: on pages using the ProductPrice
component (PDP,
PLP, etc.), an additional line shows the secondary price as "{label}: <price>
"
when available.
Products without a secondary price for the configured grid are not affected and will render the regular pricing only.