${function() {
const variantData = data.variant || {"id":"e9ec4d9e-e358-461c-9424-37fee343fc2a","product_id":"568ed750-82b9-4ac2-8f00-e4a8eaad8188","title":"Yellow-S","weight_unit":"g","inventory_quantity":0,"sku":"Lin4301588228040-Yellow-S","barcode":"","position":4,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/581700fa685d1f224d4faeb14dc2d6e9.jpeg","path":"581700fa685d1f224d4faeb14dc2d6e9.jpeg","width":1200,"height":1600,"alt":"Chic Style One-shoulder Big Swing Loose Dresses","aspect_ratio":0.75},"wholesale_price":[{"price":38.48,"min_quantity":1}],"weight":"200","compare_at_price":"67.22","price":"38.48","retail_price":"67.22","available":true,"url":"\/products\/chic-style-one-shoulder-big-swing-loose-dresses?variant=e9ec4d9e-e358-461c-9424-37fee343fc2a","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":43,"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.