${function() {
const variantData = data.variant || {"id":"696fe604-fc90-4ba6-bd00-16df63945911","product_id":"025b2f03-6444-4be4-8f36-25248a232be2","title":"yellow-L","weight_unit":"kg","inventory_quantity":0,"sku":"662109251020-yellow-L","barcode":"","position":5,"option1":"yellow","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3201c534f0ae026eddb3cd9024c38d43.jpeg","path":"3201c534f0ae026eddb3cd9024c38d43.jpeg","width":800,"height":800,"alt":"Fashion casual professional suit suit","aspect_ratio":1},"wholesale_price":[{"price":58.65,"min_quantity":1}],"weight":"0","compare_at_price":"70.66","price":"58.65","retail_price":"70.66","available":true,"url":"\/products\/fashion-casual-professional-suit-suit-f5yf?variant=696fe604-fc90-4ba6-bd00-16df63945911","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"L"}],"off_ratio":17,"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.