${function() {
const variantData = data.variant || {"id":"de26bccf-9d88-4339-bc58-4ca455d00982","product_id":"257d9943-bfd2-4b1f-b863-ec4016804075","title":"Black Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHp0JSHiN-BlackGray-S","barcode":"","position":1,"option1":"Black Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/121c131de9167bbcf5ebef173db3c63e.jpeg","path":"121c131de9167bbcf5ebef173db3c63e.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-and-personalized-round-neck-loose-long-sleeved-t-shirt?variant=de26bccf-9d88-4339-bc58-4ca455d00982","available_quantity":999999999,"options":[{"name":"Color","value":"Black Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":2};
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 : XHp0JSHiN-BlackGray-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"de26bccf-9d88-4339-bc58-4ca455d00982","product_id":"257d9943-bfd2-4b1f-b863-ec4016804075","title":"Black Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHp0JSHiN-BlackGray-S","barcode":"","position":1,"option1":"Black Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/121c131de9167bbcf5ebef173db3c63e.jpeg","path":"121c131de9167bbcf5ebef173db3c63e.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-and-personalized-round-neck-loose-long-sleeved-t-shirt?variant=de26bccf-9d88-4339-bc58-4ca455d00982","available_quantity":999999999,"options":[{"name":"Color","value":"Black Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}