${function() {
const variantData = data.variant || {"id":"61d0b83f-7a59-4232-89b8-f84a236c0cbf","product_id":"7f5fc28a-1485-4cca-bb9f-136d32a76cef","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"SYV005287_B_M","barcode":"","position":11,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d62de5d1e63da8ba6f3195beb82b7d79.jpeg","path":"d62de5d1e63da8ba6f3195beb82b7d79.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"33.99","retail_price":"33.99","available":true,"url":"\/products\/casual-tank-top-set?variant=61d0b83f-7a59-4232-89b8-f84a236c0cbf","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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.