${function() {
const variantData = data.variant || {"id":"e28d9409-1760-4e9d-b20f-1652fcbacd0b","product_id":"c2b4be5f-4bfd-4c54-8d64-8794964b5a83","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053891284","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/46c8c4d847eb754700c87a0bcfdf9eef.jpeg","path":"46c8c4d847eb754700c87a0bcfdf9eef.jpeg","width":819,"height":819,"alt":"Fashion Women Plaid Hooded Drawstring Loose Casual Jackets","aspect_ratio":1},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"0","compare_at_price":"25.98","price":"25.98","retail_price":"25.98","available":true,"url":"\/products\/fashion-women-plaid-hooded-drawstring-loose-casual-jackets-5026?variant=e28d9409-1760-4e9d-b20f-1652fcbacd0b","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"e28d9409-1760-4e9d-b20f-1652fcbacd0b","product_id":"c2b4be5f-4bfd-4c54-8d64-8794964b5a83","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053891284","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/46c8c4d847eb754700c87a0bcfdf9eef.jpeg","path":"46c8c4d847eb754700c87a0bcfdf9eef.jpeg","width":819,"height":819,"alt":"Fashion Women Plaid Hooded Drawstring Loose Casual Jackets","aspect_ratio":1},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"0","compare_at_price":"25.98","price":"25.98","retail_price":"25.98","available":true,"url":"\/products\/fashion-women-plaid-hooded-drawstring-loose-casual-jackets-5026?variant=e28d9409-1760-4e9d-b20f-1652fcbacd0b","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}