${function() {
const variantData = data.variant || {"id":"18d6c8a1-6e56-48f5-bf5e-4e4767e06cae","product_id":"5c7785df-f36d-466d-8804-3bd3d8053a65","title":"Colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240415-8-MS0006CYMZ-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0fe70b516792ff25638e683d6deb6159.jpeg","path":"0fe70b516792ff25638e683d6deb6159.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-black-gay-polo-shirt?variant=18d6c8a1-6e56-48f5-bf5e-4e4767e06cae","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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.