Handle Customer Specific Catalogs

Customer-specific catalogs allow you to restrict product visibility, display tailored assortments, or serve unique category taxonomies based on customer segments or account roles. Implementing customer-specific catalogs ensures B2B buyers or segmented customer groups only interact with relevant, authorized products and category trees.

For basic setup instructions, see Data: How to support customer-specific catalogs.

Use the parameter

In the examples we take this as a starting point:

  • Attribute name: allow_customer
  • Current customer identifier: 10005

Use the parameters option to filter on the current customer:

window.addEventListener("twn.starter.ready", function () {
  var api = tweakwiseListerPage({
    cid: "1000",
    parameters: 'allow_customer=10005'
  });
});

Read more about Use request parameters in Tweakwise API.