${function() {
const variantData = data.variant || {"id":"e09f3705-27da-4a9a-b8a7-e660522953c2","product_id":"f672cc02-da2d-40f4-917a-bbed97ac6da8","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"K610725511552147456","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6105d36c7be865898f0b1f93bb9dd8b1.jpeg","path":"6105d36c7be865898f0b1f93bb9dd8b1.jpeg","width":750,"height":920,"alt":"","aspect_ratio":0.8152173913043478},"wholesale_price":[{"price":59.79,"min_quantity":1}],"weight":"0","compare_at_price":"59.79","price":"59.79","retail_price":"59.79","available":true,"url":"\/products\/casual-striped-loose-long-sleeve-shirt-pant-2pcs-set7dd748c0-1380-4e90-ad02-551f1b4fe748?variant=e09f3705-27da-4a9a-b8a7-e660522953c2","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.