${function() {
const variantData = data.variant || {"id":"3b0b2b51-a69f-43e8-b095-b8e973d8c32b","product_id":"de5189c4-72a9-473a-a305-e0aa96fdc150","title":"Light Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"F1100364-Light Green-S","barcode":"","position":1,"option1":"Light Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c2fc18aa43c65e3f13dcb26269a0bcb.png","path":"1c2fc18aa43c65e3f13dcb26269a0bcb.png","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"29.99","retail_price":"39.99","available":true,"url":"\/products\/mens-fashionable-casual-green-cotton-shirts-a5zw-z50l-rx8s-k9xh-tzpw-bxa8-t0gn-uyyx-lhg0-34y3-4pau-q172-gg8f-iguk6bb63d61-db49-4dff-ba66-dfe37264f937?variant=3b0b2b51-a69f-43e8-b095-b8e973d8c32b","available_quantity":999999999,"options":[{"name":"Color","value":"Light Green"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.