${function() {
const variantData = data.variant || {"id":"7a851788-e258-417e-be7e-715695bd2e24","product_id":"c0e0e938-01f0-4259-a651-48bf687986b6","title":"As picture-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LUH0028404RTUS","barcode":"","position":1,"option1":"As picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00611573b55c0c346c06b7b29a7fdc0d.jpeg","path":"00611573b55c0c346c06b7b29a7fdc0d.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-abstract-print-camisole-top?variant=7a851788-e258-417e-be7e-715695bd2e24","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.