${function() {
const variantData = data.variant || {"id":"acfa2573-e10f-44f4-a750-ee1228f96edf","product_id":"8b66d457-9724-4ae1-b9e4-5068dc2b65ef","title":"purple-S","weight_unit":"kg","inventory_quantity":0,"sku":"662306263379-purple-S","barcode":"","position":1,"option1":"purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e7aa8567cc6e53b5cf1b6ad9c36fb51.jpeg","path":"2e7aa8567cc6e53b5cf1b6ad9c36fb51.jpeg","width":1600,"height":1600,"alt":"Sexy Backpack Hip Pleated Camisole Dress","aspect_ratio":1},"wholesale_price":[{"price":43.81,"min_quantity":1}],"weight":"0.15","compare_at_price":"55","price":"43.81","retail_price":"55","available":true,"url":"\/products\/sexy-backpack-hip-pleated-camisole-dress?variant=acfa2573-e10f-44f4-a750-ee1228f96edf","available_quantity":999999999,"options":[{"name":"color","value":"purple"},{"name":"size","value":"S"}],"off_ratio":20,"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.