${function() {
const variantData = data.variant || {"id":"23809345-b820-4ae6-b253-55441b669415","product_id":"58613193-5aac-483e-8a44-7f0af9326322","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHuDjUc62-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4e9ab0a7371d2c1c6342dce20ffe8c6.jpeg","path":"b4e9ab0a7371d2c1c6342dce20ffe8c6.jpeg","width":1440,"height":1489,"alt":"","aspect_ratio":0.9670920080591001},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-round-neck-short-sleeved-t-shirt?variant=23809345-b820-4ae6-b253-55441b669415","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":4};
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 : XHuDjUc62-Brown-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"23809345-b820-4ae6-b253-55441b669415","product_id":"58613193-5aac-483e-8a44-7f0af9326322","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHuDjUc62-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4e9ab0a7371d2c1c6342dce20ffe8c6.jpeg","path":"b4e9ab0a7371d2c1c6342dce20ffe8c6.jpeg","width":1440,"height":1489,"alt":"","aspect_ratio":0.9670920080591001},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-round-neck-short-sleeved-t-shirt?variant=23809345-b820-4ae6-b253-55441b669415","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}