${function() {
const variantData = data.variant || {"id":"d276ae05-c733-4803-85b3-09f706d81816","product_id":"2abcf69c-e9fe-479a-aae3-cca2bef5f1eb","title":"As picture-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LUH0029186RTUS","barcode":"","position":1,"option1":"As picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d6b2619f9979b824afcfa6fcd3fed32f.jpeg","path":"d6b2619f9979b824afcfa6fcd3fed32f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"19.99","retail_price":"33","available":true,"url":"\/products\/unisex-fantasy-cat-art-illustration-print-casual-tank-top?variant=d276ae05-c733-4803-85b3-09f706d81816","available_quantity":999999999,"options":[{"name":"Color","value":"As picture"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
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.