${function() {
const variantData = data.variant || {"id":"4e90a90e-af65-4db2-af8a-a736ead8e898","product_id":"6d6007f0-b098-4a4e-8dbd-6bc75652b943","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHl6dtMxd-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/264e9ccf8989f0e567b283528c50d78b.jpeg","path":"264e9ccf8989f0e567b283528c50d78b.jpeg","width":1246,"height":1246,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/personalized-street-style-round-neck-printed-t-shirt?variant=4e90a90e-af65-4db2-af8a-a736ead8e898","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":28};
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 : XHl6dtMxd-Black-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"4e90a90e-af65-4db2-af8a-a736ead8e898","product_id":"6d6007f0-b098-4a4e-8dbd-6bc75652b943","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHl6dtMxd-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/264e9ccf8989f0e567b283528c50d78b.jpeg","path":"264e9ccf8989f0e567b283528c50d78b.jpeg","width":1246,"height":1246,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"19.89","retail_price":"32","available":true,"url":"\/products\/personalized-street-style-round-neck-printed-t-shirt?variant=4e90a90e-af65-4db2-af8a-a736ead8e898","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":28};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}