${function() {
const variantData = data.variant || {"id":"2f448f74-557b-4bfd-9cc8-482c6840194e","product_id":"94c97094-7ab9-4412-a437-285211ceffde","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UR0316-grey-S","barcode":"","position":2,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/35337264a2866cecdafae4ad56084776.jpeg","path":"35337264a2866cecdafae4ad56084776.jpeg","width":500,"height":666,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":30.98,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"30.98","retail_price":"0","available":true,"url":"\/products\/buckle-striped-casual-blouse?variant=2f448f74-557b-4bfd-9cc8-482c6840194e","available_quantity":1000,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.
Sku : UR0316-grey-S
Weight : 0.35kg
${function(){
const variantData = data.variant || {"id":"2f448f74-557b-4bfd-9cc8-482c6840194e","product_id":"94c97094-7ab9-4412-a437-285211ceffde","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UR0316-grey-S","barcode":"","position":2,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/35337264a2866cecdafae4ad56084776.jpeg","path":"35337264a2866cecdafae4ad56084776.jpeg","width":500,"height":666,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":30.98,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"30.98","retail_price":"0","available":true,"url":"\/products\/buckle-striped-casual-blouse?variant=2f448f74-557b-4bfd-9cc8-482c6840194e","available_quantity":1000,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}