${function() {
const variantData = data.variant || {"id":"ad79f562-645b-4e87-96b4-21f0dde7e0ea","product_id":"2377ebbc-0a2c-475f-9f55-64295720f853","title":"Red-One-Size","weight_unit":"kg","inventory_quantity":1000,"sku":"QZKqmCtUn7-Red-One-Size","barcode":"","position":1,"option1":"Red","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e40f8c0f2453625824e89f3d7448556c.jpeg","path":"e40f8c0f2453625824e89f3d7448556c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.11,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"13.11","retail_price":"21.99","available":true,"url":"\/products\/long-sleeve-casual-v-neck-shift-sweater?variant=ad79f562-645b-4e87-96b4-21f0dde7e0ea","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"One-Size"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : QZKqmCtUn7-Red-One-Size
${function(){
const variantData = data.variant || {"id":"ad79f562-645b-4e87-96b4-21f0dde7e0ea","product_id":"2377ebbc-0a2c-475f-9f55-64295720f853","title":"Red-One-Size","weight_unit":"kg","inventory_quantity":1000,"sku":"QZKqmCtUn7-Red-One-Size","barcode":"","position":1,"option1":"Red","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e40f8c0f2453625824e89f3d7448556c.jpeg","path":"e40f8c0f2453625824e89f3d7448556c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.11,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"13.11","retail_price":"21.99","available":true,"url":"\/products\/long-sleeve-casual-v-neck-shift-sweater?variant=ad79f562-645b-4e87-96b4-21f0dde7e0ea","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"One-Size"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}