${function() {
const variantData = data.variant || {"id":"52704f88-ca78-403c-8a36-5d39c4494d6c","product_id":"8974f75d-a083-4a78-b68e-eca601428b84","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053234751","barcode":"","position":1,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9853664bd6cbe8eb971291cf5f7d82c1.jpeg","path":"9853664bd6cbe8eb971291cf5f7d82c1.jpeg","width":800,"height":800,"alt":"Fashion Long Lantern Sleeve Plain Pocket Cardigans","aspect_ratio":1},"wholesale_price":[{"price":20.95,"min_quantity":1}],"weight":"0","compare_at_price":"20.95","price":"20.95","retail_price":"20.95","available":true,"url":"\/products\/fashion-long-lantern-sleeve-plain-pocket-cardigans-2462?variant=52704f88-ca78-403c-8a36-5d39c4494d6c","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"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":"52704f88-ca78-403c-8a36-5d39c4494d6c","product_id":"8974f75d-a083-4a78-b68e-eca601428b84","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053234751","barcode":"","position":1,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9853664bd6cbe8eb971291cf5f7d82c1.jpeg","path":"9853664bd6cbe8eb971291cf5f7d82c1.jpeg","width":800,"height":800,"alt":"Fashion Long Lantern Sleeve Plain Pocket Cardigans","aspect_ratio":1},"wholesale_price":[{"price":20.95,"min_quantity":1}],"weight":"0","compare_at_price":"20.95","price":"20.95","retail_price":"20.95","available":true,"url":"\/products\/fashion-long-lantern-sleeve-plain-pocket-cardigans-2462?variant=52704f88-ca78-403c-8a36-5d39c4494d6c","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"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}
`
}()}