${function() {
const variantData = data.variant || {"id":"e86c731b-fa85-4320-b673-c3a3e6f840f0","product_id":"6f72a522-5301-442f-93a7-4d8c16181b02","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH281489-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b0e5b7b0c708d8466489dde0a5fdbc60.jpeg","path":"b0e5b7b0c708d8466489dde0a5fdbc60.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.31","price":"25.99","retail_price":"34.31","available":true,"url":"\/products\/womens-nerd-glasses-moose-print-sweatshirt?variant=e86c731b-fa85-4320-b673-c3a3e6f840f0","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":24,"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":"e86c731b-fa85-4320-b673-c3a3e6f840f0","product_id":"6f72a522-5301-442f-93a7-4d8c16181b02","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH281489-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b0e5b7b0c708d8466489dde0a5fdbc60.jpeg","path":"b0e5b7b0c708d8466489dde0a5fdbc60.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.31","price":"25.99","retail_price":"34.31","available":true,"url":"\/products\/womens-nerd-glasses-moose-print-sweatshirt?variant=e86c731b-fa85-4320-b673-c3a3e6f840f0","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}