${function() {
const variantData = data.variant || {"id":"0621db62-0dc5-4112-a894-25a9a4fd6947","product_id":"0c29b443-64dd-4cea-8e2b-133a9d682bb3","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"S957015000009","barcode":"","position":7,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/038e9dda628404a8fe102f2a40b92870.jpeg","path":"038e9dda628404a8fe102f2a40b92870.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=0621db62-0dc5-4112-a894-25a9a4fd6947","available_quantity":999999999,"options":[{"name":"COLOR","value":"White"},{"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.