${function() {
const variantData = data.variant || {"id":"0774b402-41c2-4f41-be5e-76a1c04db0d0","product_id":"0f094ebf-56ce-4930-9dcd-9685d0b69c8d","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Blue S-48575646","barcode":"","position":6,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1c73815b6294f18ef098e01ebf0c0f9.jpeg","path":"d1c73815b6294f18ef098e01ebf0c0f9.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.01,"min_quantity":1}],"weight":"0","compare_at_price":"25.01","price":"25.01","retail_price":"25.01","available":true,"url":"\/products\/womens-elastic-waist-drawstring-boho-beach-wide-leg-pants-208565312481?variant=0774b402-41c2-4f41-be5e-76a1c04db0d0","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"0774b402-41c2-4f41-be5e-76a1c04db0d0","product_id":"0f094ebf-56ce-4930-9dcd-9685d0b69c8d","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Blue S-48575646","barcode":"","position":6,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1c73815b6294f18ef098e01ebf0c0f9.jpeg","path":"d1c73815b6294f18ef098e01ebf0c0f9.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.01,"min_quantity":1}],"weight":"0","compare_at_price":"25.01","price":"25.01","retail_price":"25.01","available":true,"url":"\/products\/womens-elastic-waist-drawstring-boho-beach-wide-leg-pants-208565312481?variant=0774b402-41c2-4f41-be5e-76a1c04db0d0","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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}
`
}()}