${function() {
const variantData = data.variant || {"id":"88bd15ba-e2e4-4329-90f4-62f3ece06ae0","product_id":"e6cb98a1-5717-4e0a-90bf-e94d0fe0a4b7","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MPS313294-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aaa8d0eb3812f55ac1a286ef2b1f5f88.jpeg","path":"aaa8d0eb3812f55ac1a286ef2b1f5f88.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.63","price":"26.99","retail_price":"35.63","available":true,"url":"\/products\/womens-floral-design-print-lace-up-with-elastic-waist-loose-casual-pants-l0ef?variant=88bd15ba-e2e4-4329-90f4-62f3ece06ae0","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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":"88bd15ba-e2e4-4329-90f4-62f3ece06ae0","product_id":"e6cb98a1-5717-4e0a-90bf-e94d0fe0a4b7","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MPS313294-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aaa8d0eb3812f55ac1a286ef2b1f5f88.jpeg","path":"aaa8d0eb3812f55ac1a286ef2b1f5f88.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.63","price":"26.99","retail_price":"35.63","available":true,"url":"\/products\/womens-floral-design-print-lace-up-with-elastic-waist-loose-casual-pants-l0ef?variant=88bd15ba-e2e4-4329-90f4-62f3ece06ae0","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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}
`
}()}