${function() {
const variantData = data.variant || {"id":"cb6a355c-637e-4a14-917c-f1836cd05e00","product_id":"c76b1059-3edc-4360-9220-170a33b37cce","title":"camel-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210922728-camel-L","barcode":"","position":9,"option1":"camel","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aceca3d7fb40b359b655e38a60c911db.jpeg","path":"aceca3d7fb40b359b655e38a60c911db.jpeg","width":800,"height":1000,"alt":"Sexy V-neck plush short vest trousers three-piece suit","aspect_ratio":0.8},"wholesale_price":[{"price":53.73,"min_quantity":1}],"weight":"0","compare_at_price":"105.35","price":"53.73","retail_price":"105.35","available":true,"url":"\/products\/sexy-v-neck-plush-short-vest-trousers-three-piece-suit?variant=cb6a355c-637e-4a14-917c-f1836cd05e00","available_quantity":999999999,"options":[{"name":"color","value":"camel"},{"name":"size","value":"L"}],"off_ratio":49,"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.