${function() {
const variantData = data.variant || {"id":"458e7dd5-b6e2-4430-9747-2d777bbea921","product_id":"2b64e517-a742-4b2d-b61a-fab287f7e143","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Green-S-A00159344","barcode":"","position":9,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3975ccf2b0edfb30cd22695bd1e60d77.jpeg","path":"3975ccf2b0edfb30cd22695bd1e60d77.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"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\/casual-color-block-printed-long-sleeve-sweatshirt?variant=458e7dd5-b6e2-4430-9747-2d777bbea921","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"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.
Sku : QF-Green-S-A00159344
${function(){
const variantData = data.variant || {"id":"458e7dd5-b6e2-4430-9747-2d777bbea921","product_id":"2b64e517-a742-4b2d-b61a-fab287f7e143","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Green-S-A00159344","barcode":"","position":9,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3975ccf2b0edfb30cd22695bd1e60d77.jpeg","path":"3975ccf2b0edfb30cd22695bd1e60d77.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"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\/casual-color-block-printed-long-sleeve-sweatshirt?variant=458e7dd5-b6e2-4430-9747-2d777bbea921","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"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}
`
}()}