${function() {
const variantData = data.variant || {"id":"4ba0c507-6b87-49f6-98c2-c9e8a3589a08","product_id":"f9c1cf5b-2230-4689-a3f7-ad5fc6e783d7","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00424035","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eccf2dda8e8cc48a0d90600cc398ff19.jpeg","path":"eccf2dda8e8cc48a0d90600cc398ff19.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-set-9o86?variant=4ba0c507-6b87-49f6-98c2-c9e8a3589a08","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"4ba0c507-6b87-49f6-98c2-c9e8a3589a08","product_id":"f9c1cf5b-2230-4689-a3f7-ad5fc6e783d7","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00424035","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eccf2dda8e8cc48a0d90600cc398ff19.jpeg","path":"eccf2dda8e8cc48a0d90600cc398ff19.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-set-9o86?variant=4ba0c507-6b87-49f6-98c2-c9e8a3589a08","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}