${function() {
const variantData = data.variant || {"id":"75edc2fd-022d-4aac-9070-ac8b43406275","product_id":"a87155fb-1a16-452b-8ce6-7f8eae028c74","title":"Beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2086436968907","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"49.99","retail_price":"69.99","available":true,"url":"\/products\/beige-skull-printed-round-neck-men-kaftan-long-caftanee07ca68-24f5-4725-ad41-a336504b0678ee92b26f-bd6b-4726-bb14-975be6e83a53?variant=75edc2fd-022d-4aac-9070-ac8b43406275","available_quantity":999999999,"options":[{"name":"color","value":"Beige"},{"name":"size","value":"S"}],"off_ratio":29,"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.