${function() {
const variantData = data.variant || {"id":"ec68792e-1b39-4189-bd26-b129233be667","product_id":"ecf8ff5a-71de-4539-a108-c7ada2f47cf1","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XH7TtgEHU-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ba49ed15086fb4428f257def4bfc70f.jpeg","path":"1ba49ed15086fb4428f257def4bfc70f.jpeg","width":2867,"height":2867,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.89,"min_quantity":1}],"weight":"600","compare_at_price":"59","price":"43.89","retail_price":"59","available":true,"url":"\/products\/vintage-leaf-print-vintage-street-trousers?variant=ec68792e-1b39-4189-bd26-b129233be667","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":5};
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 : XH7TtgEHU-Green-S
Weight : 600g
${function(){
const variantData = data.variant || {"id":"ec68792e-1b39-4189-bd26-b129233be667","product_id":"ecf8ff5a-71de-4539-a108-c7ada2f47cf1","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XH7TtgEHU-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ba49ed15086fb4428f257def4bfc70f.jpeg","path":"1ba49ed15086fb4428f257def4bfc70f.jpeg","width":2867,"height":2867,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.89,"min_quantity":1}],"weight":"600","compare_at_price":"59","price":"43.89","retail_price":"59","available":true,"url":"\/products\/vintage-leaf-print-vintage-street-trousers?variant=ec68792e-1b39-4189-bd26-b129233be667","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}