${function() {
const variantData = data.variant || {"id":"38418421-8e06-479a-87d5-b697e52abe35","product_id":"0331f26f-94a5-4c1e-8c30-4540ca2231be","title":"gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428464-gray-S","barcode":"","position":8,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3fc5dd0d0156b08f964a09ce4a121a5f.jpeg","path":"3fc5dd0d0156b08f964a09ce4a121a5f.jpeg","width":800,"height":800,"alt":"Literary loose high waist dress","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"58","price":"48.99","retail_price":"58","available":true,"url":"\/products\/literary-loose-high-waist-dress-zp64?variant=38418421-8e06-479a-87d5-b697e52abe35","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"S"}],"off_ratio":16,"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.