${function() {
const variantData = data.variant || {"id":"6b8f6bb2-5b2b-49af-a334-cd076cb8250b","product_id":"2079e6b5-51a8-48f5-9d8e-5b92b5ceb723","title":"Orange-L","weight_unit":"g","inventory_quantity":999,"sku":"XHO5qpb3e-Orange-L","barcode":"","position":2,"option1":"Orange","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60ae157785fb0c763768f3de1025a52f.jpeg","path":"60ae157785fb0c763768f3de1025a52f.jpeg","width":1276,"height":1275,"alt":"","aspect_ratio":1.0007843137254901},"wholesale_price":[{"price":7.89,"min_quantity":1}],"weight":"50","compare_at_price":"10","price":"7.89","retail_price":"10","available":true,"url":"\/products\/glow-in-the-dark-outdoor-skeleton-hand-paw-fluorescent-gloves?variant=6b8f6bb2-5b2b-49af-a334-cd076cb8250b","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"L"}],"off_ratio":21,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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 : XHO5qpb3e-Orange-L
Weight : 50g
${function(){
const variantData = data.variant || {"id":"6b8f6bb2-5b2b-49af-a334-cd076cb8250b","product_id":"2079e6b5-51a8-48f5-9d8e-5b92b5ceb723","title":"Orange-L","weight_unit":"g","inventory_quantity":999,"sku":"XHO5qpb3e-Orange-L","barcode":"","position":2,"option1":"Orange","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60ae157785fb0c763768f3de1025a52f.jpeg","path":"60ae157785fb0c763768f3de1025a52f.jpeg","width":1276,"height":1275,"alt":"","aspect_ratio":1.0007843137254901},"wholesale_price":[{"price":7.89,"min_quantity":1}],"weight":"50","compare_at_price":"10","price":"7.89","retail_price":"10","available":true,"url":"\/products\/glow-in-the-dark-outdoor-skeleton-hand-paw-fluorescent-gloves?variant=6b8f6bb2-5b2b-49af-a334-cd076cb8250b","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"L"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}