${function() {
const variantData = data.variant || {"id":"1f121d81-1d2d-4bbd-af5e-d216ee63c7e9","product_id":"d32ec92d-6ce8-4e5b-b334-bb54e32b41b0","title":"Yellow-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056155932","barcode":"","position":1,"option1":"Yellow","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f235ed00bc0bc07793b6d1854af1b116.jpeg","path":"f235ed00bc0bc07793b6d1854af1b116.jpeg","width":396,"height":529,"alt":"Yellow Sweet Cotton-Blend Gloves & Mittens","aspect_ratio":0.7485822306238186},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"0","compare_at_price":"8.99","price":"8.99","retail_price":"8.99","available":true,"url":"\/products\/yellow-sweet-cotton-blend-gloves-mittens-7449?variant=1f121d81-1d2d-4bbd-af5e-d216ee63c7e9","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"One-size"}],"off_ratio":0,"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":"1f121d81-1d2d-4bbd-af5e-d216ee63c7e9","product_id":"d32ec92d-6ce8-4e5b-b334-bb54e32b41b0","title":"Yellow-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056155932","barcode":"","position":1,"option1":"Yellow","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f235ed00bc0bc07793b6d1854af1b116.jpeg","path":"f235ed00bc0bc07793b6d1854af1b116.jpeg","width":396,"height":529,"alt":"Yellow Sweet Cotton-Blend Gloves & Mittens","aspect_ratio":0.7485822306238186},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"0","compare_at_price":"8.99","price":"8.99","retail_price":"8.99","available":true,"url":"\/products\/yellow-sweet-cotton-blend-gloves-mittens-7449?variant=1f121d81-1d2d-4bbd-af5e-d216ee63c7e9","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}