A common question that comes up is if we support restricting products based on an "availability group" or can show different pricing based on a "price group". The short answer is "yes". There are a few different ways we can do it and I will outline a couple of them below.
The easiest way is to introduce a new field to your feed to support availability and/or price groups. Each availability group the product is assigned to would be comma separated in one field. Then additional fields would be created for each price group.
- Item XK49 is only available to groups 1 and 3. It's price is 4.99 for group 1 and 5.49 for group 3.
- Item JB23 is only available to group 1 and it's price is 12.99.
- Item PQ42 is available to all three groups. It's price is 9.99 for groups 1 and 3, and 8.99 for group2.
When executing a query, a predetermined background filter can be set to determine the customers availability and/or price group.