${function() {
const variantData = data.variant || {"id":"cb7312f8-194d-486a-8480-171c59cde15b","product_id":"122f73e6-61ea-4061-a8d6-8c6c0e39cb28","title":"As shown-S","weight_unit":"kg","inventory_quantity":993,"sku":"SWH287543-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62b824a8ea0f2c2f849070249bf94cd5.jpeg","path":"62b824a8ea0f2c2f849070249bf94cd5.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"29.99","retail_price":"40.99","available":true,"url":"\/products\/womens-winter-funny-cute-wonderland-clothing-clipart-cat-coffee-printed-hooded-sweatshirt?variant=cb7312f8-194d-486a-8480-171c59cde15b","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":28};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.