${function() {
const variantData = data.variant || {"id":"f802b116-e3fe-4684-bbfc-29ea396a3f7a","product_id":"6e05b067-d6b6-4e1b-9a36-9e45243f6002","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"K521586173984862208","barcode":"","position":6,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f3fe9c630575ba9c849183eb94cc113f.jpeg","path":"f3fe9c630575ba9c849183eb94cc113f.jpeg","width":530,"height":650,"alt":"","aspect_ratio":0.8153846153846154},"wholesale_price":[{"price":47.79,"min_quantity":1}],"weight":"0","compare_at_price":"47.79","price":"47.79","retail_price":"47.79","available":true,"url":"\/products\/casual-knitted-polo-collar-t-shirt-shorts-2pcs-set60d006a9-3767-463a-be7a-d25287896115?variant=f802b116-e3fe-4684-bbfc-29ea396a3f7a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":12};
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.