${function() {
const variantData = data.variant || {"id":"a852ccce-4d83-41a4-8d5c-71d6c75b77d5","product_id":"6c596907-1520-4ec0-8665-72dec33f0e25","title":"Pink-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"SYV003738_LP_XS","barcode":"","position":8,"option1":"Pink","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/882b0aa96517cbf27ec861e7c227b57b.jpeg","path":"882b0aa96517cbf27ec861e7c227b57b.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":46.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"46.99","retail_price":"46.99","available":true,"url":"\/products\/coofandy-cotton-linen-short-sleeve-shirt?variant=a852ccce-4d83-41a4-8d5c-71d6c75b77d5","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XS"}],"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.