${function() {
const variantData = data.variant || {"id":"c960e0e5-b0df-43c3-a695-59e5b0795473","product_id":"652960fb-7af4-45b5-a8db-88b74938feec","title":"25cm-Gold-3Q Pink","weight_unit":"kg","inventory_quantity":4999,"sku":"","barcode":"","position":2,"option1":"25cm","option2":"Gold","option3":"3Q Pink","note":"","image":{"src":"\/\/img.staticdj.com\/b95daaad27a63ad9f7cf97b65abe0fc6.jpg","path":"b95daaad27a63ad9f7cf97b65abe0fc6.jpg","width":1440,"height":1920,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":168,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"168","retail_price":"198","available":true,"url":"\/products\/k-25cm-28cm-classic-bags-8bjr-prbb-ulue-2r6q-n0h0-qnpk-tgmu?variant=c960e0e5-b0df-43c3-a695-59e5b0795473","available_quantity":4999,"options":[{"name":"Size","value":"25cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"3Q Pink"}],"off_ratio":15,"flashsale_info":[],"sales":34};
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":"c960e0e5-b0df-43c3-a695-59e5b0795473","product_id":"652960fb-7af4-45b5-a8db-88b74938feec","title":"25cm-Gold-3Q Pink","weight_unit":"kg","inventory_quantity":4999,"sku":"","barcode":"","position":2,"option1":"25cm","option2":"Gold","option3":"3Q Pink","note":"","image":{"src":"\/\/img.staticdj.com\/b95daaad27a63ad9f7cf97b65abe0fc6.jpg","path":"b95daaad27a63ad9f7cf97b65abe0fc6.jpg","width":1440,"height":1920,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":168,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"168","retail_price":"198","available":true,"url":"\/products\/k-25cm-28cm-classic-bags-8bjr-prbb-ulue-2r6q-n0h0-qnpk-tgmu?variant=c960e0e5-b0df-43c3-a695-59e5b0795473","available_quantity":4999,"options":[{"name":"Size","value":"25cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"3Q Pink"}],"off_ratio":15,"flashsale_info":[],"sales":34};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}