${function() {
const variantData = data.variant || {"id":"568bed2b-d878-4022-934f-4a5be0fdaa86","product_id":"9091793c-f62a-441e-a724-7516779686d3","title":"gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1512001711015772162","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1861587d205040fc2ae88e958c5b5521.jpeg","path":"1861587d205040fc2ae88e958c5b5521.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.12,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.12","retail_price":"0","available":true,"url":"\/products\/mens-breathable-solid-color-short-sleeve-loose-cotton-shirt?variant=568bed2b-d878-4022-934f-4a5be0fdaa86","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"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":"568bed2b-d878-4022-934f-4a5be0fdaa86","product_id":"9091793c-f62a-441e-a724-7516779686d3","title":"gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1512001711015772162","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1861587d205040fc2ae88e958c5b5521.jpeg","path":"1861587d205040fc2ae88e958c5b5521.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.12,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.12","retail_price":"0","available":true,"url":"\/products\/mens-breathable-solid-color-short-sleeve-loose-cotton-shirt?variant=568bed2b-d878-4022-934f-4a5be0fdaa86","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}