${function() {
const variantData = data.variant || {"id":"a6d21a82-710f-4a80-87ef-5679e1b53837","product_id":"c3582309-79f0-42ea-badc-f7b2fcceea03","title":"Light blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1633313133531545602","barcode":"","position":1,"option1":"Light blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33e0b114253b864e6efc25de94f2b16f.jpeg","path":"33e0b114253b864e6efc25de94f2b16f.jpeg","width":974,"height":973,"alt":"","aspect_ratio":1.0010277492291881},"wholesale_price":[{"price":33.89,"min_quantity":1}],"weight":"0","compare_at_price":"31.69","price":"33.89","retail_price":"31.69","available":true,"url":"\/products\/mens-short-sleeve-casual-printed-shirt?variant=a6d21a82-710f-4a80-87ef-5679e1b53837","available_quantity":999999999,"options":[{"name":"Color","value":"Light blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"a6d21a82-710f-4a80-87ef-5679e1b53837","product_id":"c3582309-79f0-42ea-badc-f7b2fcceea03","title":"Light blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1633313133531545602","barcode":"","position":1,"option1":"Light blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33e0b114253b864e6efc25de94f2b16f.jpeg","path":"33e0b114253b864e6efc25de94f2b16f.jpeg","width":974,"height":973,"alt":"","aspect_ratio":1.0010277492291881},"wholesale_price":[{"price":33.89,"min_quantity":1}],"weight":"0","compare_at_price":"31.69","price":"33.89","retail_price":"31.69","available":true,"url":"\/products\/mens-short-sleeve-casual-printed-shirt?variant=a6d21a82-710f-4a80-87ef-5679e1b53837","available_quantity":999999999,"options":[{"name":"Color","value":"Light blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}