${function() {
const variantData = data.variant || {"id":"c3adb84e-562c-48dc-9b7f-4510f0adaed9","title":"Light grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"SDWU1434Q-Light grey-S","barcode":"","position":1,"option1":"Light grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66b8f93386314c5c67214c1a832c0f64.jpeg","path":"66b8f93386314c5c67214c1a832c0f64.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.65","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/printed-leisure-bag-hip-two-piece-set-1?variant=c3adb84e-562c-48dc-9b7f-4510f0adaed9","available_quantity":999999999,"options":[{"name":"Color","value":"Light grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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 : SDWU1434Q-Light grey-S
Weight : 0.65kg
${function(){
const variantData = data.variant || {"id":"c3adb84e-562c-48dc-9b7f-4510f0adaed9","title":"Light grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"SDWU1434Q-Light grey-S","barcode":"","position":1,"option1":"Light grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66b8f93386314c5c67214c1a832c0f64.jpeg","path":"66b8f93386314c5c67214c1a832c0f64.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.65","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/printed-leisure-bag-hip-two-piece-set-1?variant=c3adb84e-562c-48dc-9b7f-4510f0adaed9","available_quantity":999999999,"options":[{"name":"Color","value":"Light grey"},{"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}
`
}()}