${function() {
const variantData = data.variant || {"id":"db4a6a16-5eb8-496d-912b-46e1255a7c4e","product_id":"1bd20a9a-a67f-4a41-a218-453eba80c367","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH273053-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45b0c7da6ea31e4084452e57865a2130.jpeg","path":"45b0c7da6ea31e4084452e57865a2130.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"25.99","retail_price":"50","available":true,"url":"\/products\/womens-cat-print-casual-long-sleeve-sweatshirt-7?variant=db4a6a16-5eb8-496d-912b-46e1255a7c4e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":1};
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.