Optional parameters

Category (tn_cid)

To determine the appropriate categoryid, navigate to the demo shop and select the desired category. The categoryid will be shown in the URL as the parameter tn_cid.

Example:

tn_cid={categoryid}

Additional Parameters

In recommendations, the Parameters tab offers the same functionality as the Selection tab. The big difference is that the values of the attribute aren't determined by Tweakwise, but by your platform. The specific values can be added to the recommendations request using the tn_parameters parameter.

This functionality is particularly useful for shops that offer a large number of products or brands. Without this functionality, you would need to create many different variants in the 'Selection' tab. By using this feature, you can simplify and streamline this process significantly.

Example:
To filter on the attribute 'brand' with the value 'Coca Cola', the parameter should be URL-encoded as follows:

tn_parameters=brand%3DCoca%20Cola