${function() {
const variantData = data.variant || {"id":"9949b05a-841a-46cd-95ec-a917b3f60410","product_id":"2118781d-eb60-4cf7-baf7-56243f10192d","title":"BU-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BU S-41431639","barcode":"","position":6,"option1":"BU","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd499b2e7ee93350f010e7264df8280b.jpeg","path":"fd499b2e7ee93350f010e7264df8280b.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.19,"min_quantity":1}],"weight":"0","compare_at_price":"26.19","price":"26.19","retail_price":"26.19","available":true,"url":"\/products\/womens-boho-stretch-loose-wide-leg-high-waist-straight-print-pants-208565337819?variant=9949b05a-841a-46cd-95ec-a917b3f60410","available_quantity":999999999,"options":[{"name":"Color","value":"BU"},{"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":"9949b05a-841a-46cd-95ec-a917b3f60410","product_id":"2118781d-eb60-4cf7-baf7-56243f10192d","title":"BU-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BU S-41431639","barcode":"","position":6,"option1":"BU","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd499b2e7ee93350f010e7264df8280b.jpeg","path":"fd499b2e7ee93350f010e7264df8280b.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.19,"min_quantity":1}],"weight":"0","compare_at_price":"26.19","price":"26.19","retail_price":"26.19","available":true,"url":"\/products\/womens-boho-stretch-loose-wide-leg-high-waist-straight-print-pants-208565337819?variant=9949b05a-841a-46cd-95ec-a917b3f60410","available_quantity":999999999,"options":[{"name":"Color","value":"BU"},{"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}
`
}()}