${function() {
const variantData = data.variant || {"id":"67fc37bf-38a9-42b2-9e89-55150735f1fb","product_id":"8b23637c-5fd2-4558-9b4b-510bd5593cc5","title":"White-M","weight_unit":"kg","inventory_quantity":1000,"sku":"SH2404178668-White-M","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d532a5dbcaf7fe530924d645611e40e2.png","path":"d532a5dbcaf7fe530924d645611e40e2.png","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.95","price":"52.99","retail_price":"59.95","available":true,"url":"\/products\/mens-v-neck-luxury-independence-day-color-block-textured-print-shorts-set-009f608df34-de96-4faf-99a3-80d32eac7863?variant=67fc37bf-38a9-42b2-9e89-55150735f1fb","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":12,"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.