${function() {
const variantData = data.variant || {"id":"2d2035fa-1d69-4a45-9f57-72d0b56b09b3","product_id":"0318b1dd-1fb9-4b8d-962a-17938087b35f","title":"yellow-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210929133-yellow-L","barcode":"","position":11,"option1":"yellow","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e344b4e4707c7267ffabf263da64fa7.jpeg","path":"2e344b4e4707c7267ffabf263da64fa7.jpeg","width":800,"height":800,"alt":"Women's Street Graffiti Print Tracksuit Set","aspect_ratio":1},"wholesale_price":[{"price":40.55,"min_quantity":1}],"weight":"0","compare_at_price":"50.06","price":"40.55","retail_price":"50.06","available":true,"url":"\/products\/ladies-street-print-casual-suit?variant=2d2035fa-1d69-4a45-9f57-72d0b56b09b3","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"L"}],"off_ratio":19,"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.