To show different prices for a product based on regional or store-based price differences you can add variations to each product for each price you'd like to represent.
Let's walk through an example of a company that has 3 different stores, each with different product prices:
- First, upload your product catalog in Constructor's recommended format. For each product, include a variation that includes a store identifier as a facet and the product price for that store as metadata. For instance, the variations for a single item could look like this:
variation_id item_id facet:store_id metadata:price 100 1 A1 9.99 101 1 B1 8.99 102 1 C1 10.99
- Next, query Constructor's search or browse service using the store identifier as a filter. In the example above, you'd use a parameter like
filters[store_id]=A1. In the response, the price of the product will be returned in the standard response format with the price of the product at store A1 in the
In this way, users will see prices specific to the store or region that they're interacting with.