${function() {
const variantData = data.variant || {"id":"02f9a6b3-ca34-461f-aa05-e55c2c90deaa","product_id":"ea38f70b-9422-4bac-8511-bc3f8b96bcf8","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"NC0109-Grey-S","barcode":"","position":3,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/17f929e0a91577f0781d90c7d61289f4.jpeg","path":"17f929e0a91577f0781d90c7d61289f4.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.9,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.9","price":"27.9","retail_price":"39.9","available":true,"url":"\/products\/cotton-linen-round-neck-irregular-half-sleeve-blouse?variant=02f9a6b3-ca34-461f-aa05-e55c2c90deaa","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":30,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : NC0109-Grey-S
Weight : 0.2kg
${function(){
const variantData = data.variant || {"id":"02f9a6b3-ca34-461f-aa05-e55c2c90deaa","product_id":"ea38f70b-9422-4bac-8511-bc3f8b96bcf8","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"NC0109-Grey-S","barcode":"","position":3,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/17f929e0a91577f0781d90c7d61289f4.jpeg","path":"17f929e0a91577f0781d90c7d61289f4.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.9,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.9","price":"27.9","retail_price":"39.9","available":true,"url":"\/products\/cotton-linen-round-neck-irregular-half-sleeve-blouse?variant=02f9a6b3-ca34-461f-aa05-e55c2c90deaa","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}