${function() {
const variantData = data.variant || {"id":"501564de-125f-4043-b104-596e26422fd3","product_id":"0c29b443-64dd-4cea-8e2b-133a9d682bb3","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"S957015000003","barcode":"","position":13,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd51a5a828ba2041008e43d394c4d6f3.jpeg","path":"dd51a5a828ba2041008e43d394c4d6f3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"40","retail_price":"40","available":true,"url":"\/products\/mens-shirt-linen-shirt-floral-graphic-prints-turndown-apricot-white-blue-khaki-outdoor-street-short-sleeves-print-clothing-apparel-linen-fashion-designer-casual-soft?variant=501564de-125f-4043-b104-596e26422fd3","available_quantity":999999999,"options":[{"name":"COLOR","value":"Blue"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.