${function() {
const variantData = data.variant || {"id":"e7fb1135-09fd-4ec8-b459-908884ff3193","product_id":"817ec09a-5154-4312-96ac-0e6861cbb258","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHdRVSqnw-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/58af4b60139410da1f25045299f6947a.jpeg","path":"58af4b60139410da1f25045299f6947a.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-irregular-loose-t-shirt?variant=e7fb1135-09fd-4ec8-b459-908884ff3193","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":141};
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 : XHdRVSqnw-Green-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"e7fb1135-09fd-4ec8-b459-908884ff3193","product_id":"817ec09a-5154-4312-96ac-0e6861cbb258","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHdRVSqnw-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/58af4b60139410da1f25045299f6947a.jpeg","path":"58af4b60139410da1f25045299f6947a.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-irregular-loose-t-shirt?variant=e7fb1135-09fd-4ec8-b459-908884ff3193","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":141};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}