${function() {
const variantData = data.variant || {"id":"9a708150-583e-44bb-a3f1-851e15f1d2f7","product_id":"a6eb0e0a-b1aa-42e3-b1e0-4ac3ed69933f","title":"19cm-Gold-Orange","weight_unit":"kg","inventory_quantity":678,"sku":"","barcode":"","position":1,"option1":"19cm","option2":"Gold","option3":"Orange","note":"","image":{"src":"\/\/img.staticdj.com\/3b37eee8bd150e1efb788f47872b8351.jpg","path":"3b37eee8bd150e1efb788f47872b8351.jpg","width":864,"height":1080,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":168,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"168","retail_price":"198","available":true,"url":"\/products\/19cm-23cm-classic-bag-p790-uf8i-xaws-dba4-ctso-dlpp-k3wu-1vd9-w6u2-cw8x?variant=9a708150-583e-44bb-a3f1-851e15f1d2f7","available_quantity":678,"options":[{"name":"Size","value":"19cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"Orange"}],"off_ratio":15,"flashsale_info":[],"sales":12};
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}
`
}()}
${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":"9a708150-583e-44bb-a3f1-851e15f1d2f7","product_id":"a6eb0e0a-b1aa-42e3-b1e0-4ac3ed69933f","title":"19cm-Gold-Orange","weight_unit":"kg","inventory_quantity":678,"sku":"","barcode":"","position":1,"option1":"19cm","option2":"Gold","option3":"Orange","note":"","image":{"src":"\/\/img.staticdj.com\/3b37eee8bd150e1efb788f47872b8351.jpg","path":"3b37eee8bd150e1efb788f47872b8351.jpg","width":864,"height":1080,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":168,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"168","retail_price":"198","available":true,"url":"\/products\/19cm-23cm-classic-bag-p790-uf8i-xaws-dba4-ctso-dlpp-k3wu-1vd9-w6u2-cw8x?variant=9a708150-583e-44bb-a3f1-851e15f1d2f7","available_quantity":678,"options":[{"name":"Size","value":"19cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"Orange"}],"off_ratio":15,"flashsale_info":[],"sales":12};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}