${function() {
const variantData = data.variant || {"id":"78720318-9821-4356-b166-dab541159e3e","product_id":"a6388d2b-7af7-46ea-b3d4-ab0ff2ef4781","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"662307144255-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/735ce5ceaf43b8959d101b6f418636d4.jpeg","path":"735ce5ceaf43b8959d101b6f418636d4.jpeg","width":600,"height":900,"alt":"Fashion Floral Shirt Shorts Casual Two-piece Set","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":55.79,"min_quantity":1}],"weight":"0.4","compare_at_price":"68","price":"55.79","retail_price":"68","available":true,"url":"\/products\/fashion-floral-shirt-shorts-casual-two-piece-set?variant=78720318-9821-4356-b166-dab541159e3e","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.