${function() {
const variantData = data.variant || {"id":"68ebf3ff-017e-454f-8843-df65b0042005","product_id":"580c1dd1-d23b-4664-8678-5d2f293446d8","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHcyG0xKJ-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4457912f59d0291860e14f74b8682ca.jpeg","path":"c4457912f59d0291860e14f74b8682ca.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"49.89","retail_price":"77","available":true,"url":"\/products\/leather-embroidered-casual-street-shirt?variant=68ebf3ff-017e-454f-8843-df65b0042005","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
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 : XHcyG0xKJ-Red-S
Weight : 666g
${function(){
const variantData = data.variant || {"id":"68ebf3ff-017e-454f-8843-df65b0042005","product_id":"580c1dd1-d23b-4664-8678-5d2f293446d8","title":"Red-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHcyG0xKJ-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4457912f59d0291860e14f74b8682ca.jpeg","path":"c4457912f59d0291860e14f74b8682ca.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.89,"min_quantity":1}],"weight":"666","compare_at_price":"77","price":"49.89","retail_price":"77","available":true,"url":"\/products\/leather-embroidered-casual-street-shirt?variant=68ebf3ff-017e-454f-8843-df65b0042005","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}