${function() {
const variantData = data.variant || {"id":"f525d7a2-3ad0-4403-a444-01ce7a4a39f5","product_id":"3afeb1e6-0c9a-4ad2-a5c6-e156787e96b0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230614-E05-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8d3a6e31fb592e56e083f80d3362aa3.jpg","path":"e8d3a6e31fb592e56e083f80d3362aa3.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-womens-sleeveless-round-neck-pressed-pleated-tie-dye-graffiti-print-tank-top-halter-girl-wind-dress?variant=f525d7a2-3ad0-4403-a444-01ce7a4a39f5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.