${function() {
const variantData = data.variant || {"id":"21d0768c-9bf5-4a0c-bf6c-73cdc543019e","product_id":"94c97094-7ab9-4412-a437-285211ceffde","title":"pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UR0316-pink-S","barcode":"","position":3,"option1":"pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3429a7b6e9c7f277980cfcad4b36067c.jpeg","path":"3429a7b6e9c7f277980cfcad4b36067c.jpeg","width":560,"height":674,"alt":"","aspect_ratio":0.8308605341246291},"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=21d0768c-9bf5-4a0c-bf6c-73cdc543019e","available_quantity":1000,"options":[{"name":"color","value":"pink"},{"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-pink-S
Weight : 0.35kg
${function(){
const variantData = data.variant || {"id":"21d0768c-9bf5-4a0c-bf6c-73cdc543019e","product_id":"94c97094-7ab9-4412-a437-285211ceffde","title":"pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UR0316-pink-S","barcode":"","position":3,"option1":"pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3429a7b6e9c7f277980cfcad4b36067c.jpeg","path":"3429a7b6e9c7f277980cfcad4b36067c.jpeg","width":560,"height":674,"alt":"","aspect_ratio":0.8308605341246291},"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=21d0768c-9bf5-4a0c-bf6c-73cdc543019e","available_quantity":1000,"options":[{"name":"color","value":"pink"},{"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}
`
}()}