${function() {
const variantData = data.variant || {"id":"f2b79fb2-d052-4ed4-8e53-ef3c2fcf2dca","product_id":"6631aa3d-bf68-43ce-8af3-a35e8b13cb93","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHbZ338xd-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e5891ae3461a37e42731a55c83d1aa2.jpeg","path":"5e5891ae3461a37e42731a55c83d1aa2.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"30.89","retail_price":"45","available":true,"url":"\/products\/fashionable-personalized-printed-casual-shirt?variant=f2b79fb2-d052-4ed4-8e53-ef3c2fcf2dca","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":6};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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 : XHbZ338xd-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"f2b79fb2-d052-4ed4-8e53-ef3c2fcf2dca","product_id":"6631aa3d-bf68-43ce-8af3-a35e8b13cb93","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHbZ338xd-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e5891ae3461a37e42731a55c83d1aa2.jpeg","path":"5e5891ae3461a37e42731a55c83d1aa2.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"30.89","retail_price":"45","available":true,"url":"\/products\/fashionable-personalized-printed-casual-shirt?variant=f2b79fb2-d052-4ed4-8e53-ef3c2fcf2dca","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":6};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}