${function() {
const variantData = data.variant || {"id":"ad342c4f-63d9-49c8-b95d-20225768325e","product_id":"e192a95c-30d0-4c11-84e9-e365b5c23d0f","title":"Black","weight_unit":"kg","inventory_quantity":22,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/121f95faa00b37225352b5ed634f86ba.jpg","path":"121f95faa00b37225352b5ed634f86ba.jpg","width":1080,"height":1350,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":158,"min_quantity":1}],"weight":"0","compare_at_price":"188","price":"158","retail_price":"188","available":true,"url":"\/products\/get-a-20cm-the-straps-can-be-adjusted-to-be-worn-over-the-shoulder-or-across-the-body-ermm-0ac8-sz7j-bwrj-55lk-ngq1?variant=ad342c4f-63d9-49c8-b95d-20225768325e","available_quantity":22,"options":[{"name":"Color","value":"Black"}],"off_ratio":16,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"ad342c4f-63d9-49c8-b95d-20225768325e","product_id":"e192a95c-30d0-4c11-84e9-e365b5c23d0f","title":"Black","weight_unit":"kg","inventory_quantity":22,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/121f95faa00b37225352b5ed634f86ba.jpg","path":"121f95faa00b37225352b5ed634f86ba.jpg","width":1080,"height":1350,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":158,"min_quantity":1}],"weight":"0","compare_at_price":"188","price":"158","retail_price":"188","available":true,"url":"\/products\/get-a-20cm-the-straps-can-be-adjusted-to-be-worn-over-the-shoulder-or-across-the-body-ermm-0ac8-sz7j-bwrj-55lk-ngq1?variant=ad342c4f-63d9-49c8-b95d-20225768325e","available_quantity":22,"options":[{"name":"Color","value":"Black"}],"off_ratio":16,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}