${function() {
const variantData = data.variant || {"id":"65022ff6-66a2-473c-ba01-56a67af62e1b","product_id":"27ce1a0e-6d91-47d6-a4ad-818bfe7c0859","title":"C-S","weight_unit":"kg","inventory_quantity":1000,"sku":"C S-46168712","barcode":"","position":9,"option1":"C","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30bb45fb915ee0dce31b4694bfef76c8.jpeg","path":"30bb45fb915ee0dce31b4694bfef76c8.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.17,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.17","retail_price":"0","available":true,"url":"\/products\/womens-cotton-linen-high-waist-bohemian-floral-loose-straight-pants-208565321952?variant=65022ff6-66a2-473c-ba01-56a67af62e1b","available_quantity":999999999,"options":[{"name":"Color","value":"C"},{"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":"65022ff6-66a2-473c-ba01-56a67af62e1b","product_id":"27ce1a0e-6d91-47d6-a4ad-818bfe7c0859","title":"C-S","weight_unit":"kg","inventory_quantity":1000,"sku":"C S-46168712","barcode":"","position":9,"option1":"C","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30bb45fb915ee0dce31b4694bfef76c8.jpeg","path":"30bb45fb915ee0dce31b4694bfef76c8.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.17,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.17","retail_price":"0","available":true,"url":"\/products\/womens-cotton-linen-high-waist-bohemian-floral-loose-straight-pants-208565321952?variant=65022ff6-66a2-473c-ba01-56a67af62e1b","available_quantity":999999999,"options":[{"name":"Color","value":"C"},{"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}
`
}()}