${function() {
const variantData = data.variant || {"id":"b09f8279-203f-45cd-84b4-ae48d921355e","product_id":"d552c022-2323-4306-81cb-c99927762deb","title":"Brown-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHjM7BKl1-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ae0c6fe63ba36fdc678665e27d9c1f1.jpeg","path":"3ae0c6fe63ba36fdc678665e27d9c1f1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/street-vintage-patchwork-printed-denim?variant=b09f8279-203f-45cd-84b4-ae48d921355e","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":7};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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.
Sku : XHjM7BKl1-Brown-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"b09f8279-203f-45cd-84b4-ae48d921355e","product_id":"d552c022-2323-4306-81cb-c99927762deb","title":"Brown-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHjM7BKl1-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ae0c6fe63ba36fdc678665e27d9c1f1.jpeg","path":"3ae0c6fe63ba36fdc678665e27d9c1f1.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"39.89","retail_price":"88","available":true,"url":"\/products\/street-vintage-patchwork-printed-denim?variant=b09f8279-203f-45cd-84b4-ae48d921355e","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":55,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}