${function() {
const variantData = data.variant || {"id":"9aa1a65d-a3fd-4141-88ef-36755c6cd4b0","product_id":"ab19b6ab-34d5-4d99-88a9-5f4ed8b1d62e","title":"Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122531-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9bce1fec0c0fd530bd66d39abf9e462.png","path":"c9bce1fec0c0fd530bd66d39abf9e462.png","width":600,"height":800,"alt":"Women's Casual \u201cWestern Love Cowboy\" Print Top","aspect_ratio":0.75},"wholesale_price":[{"price":26.47,"min_quantity":1}],"weight":"0.4","compare_at_price":"30","price":"26.47","retail_price":"30","available":true,"url":"\/products\/womens-casual-western-love-cowboy-print-top?variant=9aa1a65d-a3fd-4141-88ef-36755c6cd4b0","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":12,"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.