${function() {
const variantData = data.variant || {"id":"4e636a90-f423-4cef-ba07-dd02287e2b9b","product_id":"ead6b5ee-24af-4513-b9af-be72041a0649","title":"Short Pink-XL","weight_unit":"kg","inventory_quantity":1000,"sku":"34851048-short-pink-xl","barcode":"","position":1,"option1":"Short Pink","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1bdd7ec5a47f0c5b6cf16c8d22a1f2d.jpeg","path":"e1bdd7ec5a47f0c5b6cf16c8d22a1f2d.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"32","price":"15","retail_price":"32","available":true,"url":"\/products\/push-up-high-waist-shorts-2?variant=4e636a90-f423-4cef-ba07-dd02287e2b9b","available_quantity":999999999,"options":[{"name":"Color","value":"Short Pink"},{"name":"Size","value":"XL"}],"off_ratio":53,"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.
Sku : 34851048-short-pink-xl
${function(){
const variantData = data.variant || {"id":"4e636a90-f423-4cef-ba07-dd02287e2b9b","product_id":"ead6b5ee-24af-4513-b9af-be72041a0649","title":"Short Pink-XL","weight_unit":"kg","inventory_quantity":1000,"sku":"34851048-short-pink-xl","barcode":"","position":1,"option1":"Short Pink","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1bdd7ec5a47f0c5b6cf16c8d22a1f2d.jpeg","path":"e1bdd7ec5a47f0c5b6cf16c8d22a1f2d.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"32","price":"15","retail_price":"32","available":true,"url":"\/products\/push-up-high-waist-shorts-2?variant=4e636a90-f423-4cef-ba07-dd02287e2b9b","available_quantity":999999999,"options":[{"name":"Color","value":"Short Pink"},{"name":"Size","value":"XL"}],"off_ratio":53,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}