${function() {
const variantData = data.variant || {"id":"cb167467-23bb-47bb-8d1c-6ad5adbdd48f","product_id":"c0c3426b-fe19-4f1b-a100-6b738bf1bc27","title":"blue-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662212092475-blue-one size","barcode":"","position":1,"option1":"blue","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f8bdd10eb6a4d2e82b94f765a7d84e8.jpeg","path":"4f8bdd10eb6a4d2e82b94f765a7d84e8.jpeg","width":800,"height":800,"alt":"Winter French V-neck Mermaid Knit Dress","aspect_ratio":1},"wholesale_price":[{"price":52.25,"min_quantity":1}],"weight":"0.4","compare_at_price":"70","price":"52.25","retail_price":"70","available":true,"url":"\/products\/winter-french-v-neck-mermaid-knit-dress?variant=cb167467-23bb-47bb-8d1c-6ad5adbdd48f","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"one size"}],"off_ratio":25,"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.