${function() {
const variantData = data.variant || {"id":"88f01442-3890-4258-8448-147422d5ba95","product_id":"051ed236-6784-4e46-ab02-4c3b8ebdfee6","title":"S-green","weight_unit":"kg","inventory_quantity":1000,"sku":"S green-43110215","barcode":"","position":1,"option1":"S","option2":"green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9dafbd45bbe0d097a7e88cbbd69ef255.jpeg","path":"9dafbd45bbe0d097a7e88cbbd69ef255.jpeg","width":800,"height":800,"alt":"Women Long Sleeve Knitted Sweaters","aspect_ratio":1},"wholesale_price":[{"price":34.71,"min_quantity":1}],"weight":"0","compare_at_price":"34.71","price":"34.71","retail_price":"34.71","available":true,"url":"\/products\/women-long-sleeve-knitted-sweaters-208529818740?variant=88f01442-3890-4258-8448-147422d5ba95","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"green"}],"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":"88f01442-3890-4258-8448-147422d5ba95","product_id":"051ed236-6784-4e46-ab02-4c3b8ebdfee6","title":"S-green","weight_unit":"kg","inventory_quantity":1000,"sku":"S green-43110215","barcode":"","position":1,"option1":"S","option2":"green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9dafbd45bbe0d097a7e88cbbd69ef255.jpeg","path":"9dafbd45bbe0d097a7e88cbbd69ef255.jpeg","width":800,"height":800,"alt":"Women Long Sleeve Knitted Sweaters","aspect_ratio":1},"wholesale_price":[{"price":34.71,"min_quantity":1}],"weight":"0","compare_at_price":"34.71","price":"34.71","retail_price":"34.71","available":true,"url":"\/products\/women-long-sleeve-knitted-sweaters-208529818740?variant=88f01442-3890-4258-8448-147422d5ba95","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}