${function() {
const variantData = data.variant || {"id":"6fe3b1a4-8eb5-4e8e-814b-233777c8eb5a","product_id":"fecd6840-d3d7-4f5f-a229-1ae997c7bea3","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHrPlN8Mv-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2dfa191bbdba795b00d53143247d09c.jpeg","path":"d2dfa191bbdba795b00d53143247d09c.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"400","compare_at_price":"40","price":"30.89","retail_price":"40","available":true,"url":"\/products\/casual-personalized-lapel-zipper-shirt?variant=6fe3b1a4-8eb5-4e8e-814b-233777c8eb5a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":23,"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 : XHrPlN8Mv-Green-S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"6fe3b1a4-8eb5-4e8e-814b-233777c8eb5a","product_id":"fecd6840-d3d7-4f5f-a229-1ae997c7bea3","title":"Green-S","weight_unit":"g","inventory_quantity":999,"sku":"XHrPlN8Mv-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2dfa191bbdba795b00d53143247d09c.jpeg","path":"d2dfa191bbdba795b00d53143247d09c.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"400","compare_at_price":"40","price":"30.89","retail_price":"40","available":true,"url":"\/products\/casual-personalized-lapel-zipper-shirt?variant=6fe3b1a4-8eb5-4e8e-814b-233777c8eb5a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}