${function() {
const variantData = data.variant || {"id":"8ef1fbfb-f95f-4f1d-9b53-0853291a4a51","product_id":"d84429f6-a543-4a58-bda2-0a558e8ffedc","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662209011937-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2249675d4ce9cd1cdb974caf092bfb9a.jpeg","path":"2249675d4ce9cd1cdb974caf092bfb9a.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=8ef1fbfb-f95f-4f1d-9b53-0853291a4a51","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.