${function() {
const variantData = data.variant || {"id":"aaab4a9a-a18c-4666-a0a0-c8ed27deb9a0","product_id":"1e503351-a118-40ae-b4c8-8df065431deb","title":"black-m","weight_unit":"kg","inventory_quantity":999,"sku":"4671108","barcode":"4671108","position":1,"option1":"black","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6dde20b06a03d5cd9e5ea0870b55b44.webp","path":"a6dde20b06a03d5cd9e5ea0870b55b44.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":20.2,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"20.2","retail_price":"0","available":true,"url":"\/products\/round-neck-belt-plain-t-shirts?variant=aaab4a9a-a18c-4666-a0a0-c8ed27deb9a0","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"m"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 : 4671108
Weight : 0.2kg
Barcode : 4671108
${function(){
const variantData = data.variant || {"id":"aaab4a9a-a18c-4666-a0a0-c8ed27deb9a0","product_id":"1e503351-a118-40ae-b4c8-8df065431deb","title":"black-m","weight_unit":"kg","inventory_quantity":999,"sku":"4671108","barcode":"4671108","position":1,"option1":"black","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6dde20b06a03d5cd9e5ea0870b55b44.webp","path":"a6dde20b06a03d5cd9e5ea0870b55b44.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":20.2,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"20.2","retail_price":"0","available":true,"url":"\/products\/round-neck-belt-plain-t-shirts?variant=aaab4a9a-a18c-4666-a0a0-c8ed27deb9a0","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"m"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}