${function() {
const variantData = data.variant || {"id":"b1a9601c-adc6-4ff2-aba0-b4344b6bcca2","product_id":"343e99ae-4799-4cc0-8363-8728feece2f5","title":"bright color-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SBB311678-XCS00S","barcode":"","position":1,"option1":"bright color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cedb08db0871a477595d51f6cbfc4d32.jpeg","path":"cedb08db0871a477595d51f6cbfc4d32.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/womens-striped-design-loose-pocket-patchwork-casual-pants?variant=b1a9601c-adc6-4ff2-aba0-b4344b6bcca2","available_quantity":999999999,"options":[{"name":"Color","value":"bright color"},{"name":"Size","value":"S"}],"off_ratio":33,"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":"b1a9601c-adc6-4ff2-aba0-b4344b6bcca2","product_id":"343e99ae-4799-4cc0-8363-8728feece2f5","title":"bright color-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SBB311678-XCS00S","barcode":"","position":1,"option1":"bright color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cedb08db0871a477595d51f6cbfc4d32.jpeg","path":"cedb08db0871a477595d51f6cbfc4d32.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/womens-striped-design-loose-pocket-patchwork-casual-pants?variant=b1a9601c-adc6-4ff2-aba0-b4344b6bcca2","available_quantity":999999999,"options":[{"name":"Color","value":"bright color"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}