${function() {
const variantData = data.variant || {"id":"bffa0129-de95-4432-948a-e823f75ca6df","product_id":"36ac0e73-e7f5-4182-85d9-0655cb2d469a","title":"35-Black","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"35","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6892f8ab45c0ccffd3d79d196460a52b.jpeg","path":"6892f8ab45c0ccffd3d79d196460a52b.jpeg","width":1040,"height":1040,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.1,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"69.1","retail_price":"0","available":true,"url":"\/products\/babakud-autumn-retro-ethnic-leather-womens-ankle-boots?variant=bffa0129-de95-4432-948a-e823f75ca6df","available_quantity":999999999,"options":[{"name":"Size","value":"35"},{"name":"Color","value":"Black"}],"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":"bffa0129-de95-4432-948a-e823f75ca6df","product_id":"36ac0e73-e7f5-4182-85d9-0655cb2d469a","title":"35-Black","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"35","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6892f8ab45c0ccffd3d79d196460a52b.jpeg","path":"6892f8ab45c0ccffd3d79d196460a52b.jpeg","width":1040,"height":1040,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.1,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"69.1","retail_price":"0","available":true,"url":"\/products\/babakud-autumn-retro-ethnic-leather-womens-ankle-boots?variant=bffa0129-de95-4432-948a-e823f75ca6df","available_quantity":999999999,"options":[{"name":"Size","value":"35"},{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}