${function() {
const variantData = data.variant || {"id":"80812025-e2cf-4637-a771-f50c53ee9435","product_id":"a6eb0e0a-b1aa-42e3-b1e0-4ac3ed69933f","title":"19cm-Gold-Yellow","weight_unit":"kg","inventory_quantity":680,"sku":"","barcode":"","position":2,"option1":"19cm","option2":"Gold","option3":"Yellow","note":"","image":{"src":"\/\/img.staticdj.com\/1b0fc86f72fafb63dd524641feb2a83b.jpg","path":"1b0fc86f72fafb63dd524641feb2a83b.jpg","width":859,"height":1074,"alt":"","aspect_ratio":0.7998137802607076},"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=80812025-e2cf-4637-a771-f50c53ee9435","available_quantity":680,"options":[{"name":"Size","value":"19cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"Yellow"}],"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":"80812025-e2cf-4637-a771-f50c53ee9435","product_id":"a6eb0e0a-b1aa-42e3-b1e0-4ac3ed69933f","title":"19cm-Gold-Yellow","weight_unit":"kg","inventory_quantity":680,"sku":"","barcode":"","position":2,"option1":"19cm","option2":"Gold","option3":"Yellow","note":"","image":{"src":"\/\/img.staticdj.com\/1b0fc86f72fafb63dd524641feb2a83b.jpg","path":"1b0fc86f72fafb63dd524641feb2a83b.jpg","width":859,"height":1074,"alt":"","aspect_ratio":0.7998137802607076},"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=80812025-e2cf-4637-a771-f50c53ee9435","available_quantity":680,"options":[{"name":"Size","value":"19cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"Yellow"}],"off_ratio":15,"flashsale_info":[],"sales":12};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}