${function() {
const variantData = data.variant || {"id":"7b3e2bec-da71-4e3d-be1e-b73bf954bbae","product_id":"047efc02-15a7-4063-b2c2-87331dda12d5","title":"Orange-m","weight_unit":"kg","inventory_quantity":999,"sku":"5034646","barcode":"5034646","position":1,"option1":"Orange","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a5a49a4c12c4f09b2bd6f249d41eb599.jpeg","path":"a5a49a4c12c4f09b2bd6f249d41eb599.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.79,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.79","retail_price":"0","available":true,"url":"\/products\/mx7ffb591ea69f?variant=7b3e2bec-da71-4e3d-be1e-b73bf954bbae","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"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 : 5034646
Barcode : 5034646
${function(){
const variantData = data.variant || {"id":"7b3e2bec-da71-4e3d-be1e-b73bf954bbae","product_id":"047efc02-15a7-4063-b2c2-87331dda12d5","title":"Orange-m","weight_unit":"kg","inventory_quantity":999,"sku":"5034646","barcode":"5034646","position":1,"option1":"Orange","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a5a49a4c12c4f09b2bd6f249d41eb599.jpeg","path":"a5a49a4c12c4f09b2bd6f249d41eb599.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.79,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.79","retail_price":"0","available":true,"url":"\/products\/mx7ffb591ea69f?variant=7b3e2bec-da71-4e3d-be1e-b73bf954bbae","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"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}
`
}()}