${function() {
const variantData = data.variant || {"id":"9f7a3958-4eaf-490b-841e-f409be20b81f","product_id":"94eaea0e-076a-41eb-8a33-869b990c43b5","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"WB23081720-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c4d98fa7b561fcee021344ca9e595cd.jpeg","path":"4c4d98fa7b561fcee021344ca9e595cd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"49.99","price":"49.99","retail_price":"49.99","available":true,"url":"\/products\/vintage-men-loose-dungarees-jumpsuit-cargo-pants-pocket-oliver?variant=9f7a3958-4eaf-490b-841e-f409be20b81f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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":"9f7a3958-4eaf-490b-841e-f409be20b81f","product_id":"94eaea0e-076a-41eb-8a33-869b990c43b5","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"WB23081720-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c4d98fa7b561fcee021344ca9e595cd.jpeg","path":"4c4d98fa7b561fcee021344ca9e595cd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"49.99","price":"49.99","retail_price":"49.99","available":true,"url":"\/products\/vintage-men-loose-dungarees-jumpsuit-cargo-pants-pocket-oliver?variant=9f7a3958-4eaf-490b-841e-f409be20b81f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}