${function() {
const variantData = data.variant || {"id":"e56a37c3-a210-4b3f-8608-7bd400f1f848","product_id":"406d2a07-cfad-427d-b637-490dd60772e7","title":"orange-L","weight_unit":"kg","inventory_quantity":0,"sku":"66220523732-orange-L","barcode":"","position":3,"option1":"orange","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f4abfd23e1eabce17c8e291e47ff6ba.jpeg","path":"4f4abfd23e1eabce17c8e291e47ff6ba.jpeg","width":990,"height":1533,"alt":"Literary Retro Cotton and Linen Double Skirt","aspect_ratio":0.6457925636007827},"wholesale_price":[{"price":33.09,"min_quantity":1}],"weight":"1","compare_at_price":"58","price":"33.09","retail_price":"58","available":true,"url":"\/products\/literary-retro-cotton-and-linen-double-skirt?variant=e56a37c3-a210-4b3f-8608-7bd400f1f848","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"name":"size","value":"L"}],"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.