${function() {
const variantData = data.variant || {"id":"7e7a185f-eebc-4e39-bdc0-d0f9a0a085e1","product_id":"bc93a5f4-a6ab-4fe5-8558-cfef05ad86a0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BPT306700-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa40abc39c4a669830576f68e63f7750.jpeg","path":"aa40abc39c4a669830576f68e63f7750.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.35","price":"22.99","retail_price":"30.35","available":true,"url":"\/products\/womens-dog-paw-love-leggings-4l31?variant=7e7a185f-eebc-4e39-bdc0-d0f9a0a085e1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":24,"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":"7e7a185f-eebc-4e39-bdc0-d0f9a0a085e1","product_id":"bc93a5f4-a6ab-4fe5-8558-cfef05ad86a0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BPT306700-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa40abc39c4a669830576f68e63f7750.jpeg","path":"aa40abc39c4a669830576f68e63f7750.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.35","price":"22.99","retail_price":"30.35","available":true,"url":"\/products\/womens-dog-paw-love-leggings-4l31?variant=7e7a185f-eebc-4e39-bdc0-d0f9a0a085e1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}