${function() {
const variantData = data.variant || {"id":"c4688de0-ecc9-4bc0-bb17-fa6893246efc","product_id":"fc97d478-7f51-4e00-a054-3a5dfc94b4a8","title":"colorful-S","weight_unit":"kg","inventory_quantity":997,"sku":"103A-240509-27-MS0006GQ88-white-S","barcode":"","position":1,"option1":"colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/627eb85c1c40c17d86d9af4b0f3ded77.jpeg","path":"627eb85c1c40c17d86d9af4b0f3ded77.jpeg","width":1200,"height":1500,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-rainbow-stripe-gay-polo-shirt-8unx?variant=c4688de0-ecc9-4bc0-bb17-fa6893246efc","available_quantity":999999999,"options":[{"name":"Color","value":"colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":67};
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.