${function() {
const variantData = data.variant || {"id":"7949e05e-7a55-436c-ba5c-4581889e5673","product_id":"56491af2-6e56-4b94-b476-0589351def79","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHeLBPmTV-Green-S","barcode":"","position":6,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d60e1456c623694a940c49ee14fff06.jpeg","path":"0d60e1456c623694a940c49ee14fff06.jpeg","width":983,"height":983,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/trendy-and-fashionable-retro-gradient-zipper-hoodie?variant=7949e05e-7a55-436c-ba5c-4581889e5673","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":3};
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 : XHeLBPmTV-Green-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"7949e05e-7a55-436c-ba5c-4581889e5673","product_id":"56491af2-6e56-4b94-b476-0589351def79","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHeLBPmTV-Green-S","barcode":"","position":6,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d60e1456c623694a940c49ee14fff06.jpeg","path":"0d60e1456c623694a940c49ee14fff06.jpeg","width":983,"height":983,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.89,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"31.89","retail_price":"45","available":true,"url":"\/products\/trendy-and-fashionable-retro-gradient-zipper-hoodie?variant=7949e05e-7a55-436c-ba5c-4581889e5673","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}