${function() {
const variantData = data.variant || {"id":"b3a843f2-8c4c-4236-bc23-6ac98906271e","product_id":"0735df84-418b-42ce-9195-9c893c81468e","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230607-E11-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/17bb397351b20db386c492d55ebe180f.jpg","path":"17bb397351b20db386c492d55ebe180f.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/summer-bohemian-temperament-commuter-new-floral-print-strapless-ruffle-decorative-knot-front-placket-shirt?variant=b3a843f2-8c4c-4236-bc23-6ac98906271e","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"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.