${function() {
const variantData = data.variant || {"id":"1e51e34b-9c3a-4100-bfa6-0fef1239d040","product_id":"5391083e-edb5-4451-9fba-6b2933696f6f","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"White S-7566112","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d7a0910d7b6e80e15d85a48bb133027a.jpeg","path":"d7a0910d7b6e80e15d85a48bb133027a.jpeg","width":667,"height":890,"alt":"Long Sleeve Star Sweater","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":27.3,"min_quantity":1}],"weight":"0","compare_at_price":"27.3","price":"27.3","retail_price":"27.3","available":true,"url":"\/products\/long-sleeve-star-sweater-208529871630?variant=1e51e34b-9c3a-4100-bfa6-0fef1239d040","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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":"1e51e34b-9c3a-4100-bfa6-0fef1239d040","product_id":"5391083e-edb5-4451-9fba-6b2933696f6f","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"White S-7566112","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d7a0910d7b6e80e15d85a48bb133027a.jpeg","path":"d7a0910d7b6e80e15d85a48bb133027a.jpeg","width":667,"height":890,"alt":"Long Sleeve Star Sweater","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":27.3,"min_quantity":1}],"weight":"0","compare_at_price":"27.3","price":"27.3","retail_price":"27.3","available":true,"url":"\/products\/long-sleeve-star-sweater-208529871630?variant=1e51e34b-9c3a-4100-bfa6-0fef1239d040","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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}
`
}()}