${function() {
const variantData = data.variant || {"id":"9256c386-d4f3-46be-a20a-dc273de3016a","product_id":"ced69c7e-beb5-456c-a921-273127ffacaa","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027640549","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/886971505b46c6d6d9edec471f6dc368.jpeg","path":"886971505b46c6d6d9edec471f6dc368.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.72,"min_quantity":1}],"weight":"0","compare_at_price":"34.72","price":"34.72","retail_price":"34.72","available":true,"url":"\/products\/women-turtlenecks-striped-long-sleeve-knitted-pullovers-1713?variant=9256c386-d4f3-46be-a20a-dc273de3016a","available_quantity":1000,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"9256c386-d4f3-46be-a20a-dc273de3016a","product_id":"ced69c7e-beb5-456c-a921-273127ffacaa","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027640549","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/886971505b46c6d6d9edec471f6dc368.jpeg","path":"886971505b46c6d6d9edec471f6dc368.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.72,"min_quantity":1}],"weight":"0","compare_at_price":"34.72","price":"34.72","retail_price":"34.72","available":true,"url":"\/products\/women-turtlenecks-striped-long-sleeve-knitted-pullovers-1713?variant=9256c386-d4f3-46be-a20a-dc273de3016a","available_quantity":1000,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}