Here are the different callback functions that can be used to get the data required for different shopper experiences e.g. Add to cart functions, get a recommended size, size availability, etc.
There are 3 possible callbacks that can be used to trigger different experiences for your shoppers on both the PDP and PLP.
- alternatives (if the size is unavailable or not produced, you can use this to re-direct or initiate another CTA)
// CALLBACKS HANDLERS EXAMPLE