${function() {
const variantData = data.variant || {"id":"d40e7ca6-43ec-45d1-9a10-05b88047d607","product_id":"d84429f6-a543-4a58-bda2-0a558e8ffedc","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662209011937-white-one size","barcode":"","position":3,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8f07117fddd528585dc465a698192e6.jpeg","path":"f8f07117fddd528585dc465a698192e6.jpeg","width":860,"height":860,"alt":"Retro simple skirt two piece set","aspect_ratio":1},"wholesale_price":[{"price":75.39,"min_quantity":1}],"weight":"0.4","compare_at_price":"134.63","price":"75.39","retail_price":"134.63","available":true,"url":"\/products\/retro-simple-skirt-two-piece-set?variant=d40e7ca6-43ec-45d1-9a10-05b88047d607","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"one size"}],"off_ratio":44,"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.