${function() {
const variantData = data.variant || {"id":"2ff32650-96f3-422c-9fd3-7346f156062f","product_id":"c2c87fc7-c2f8-4088-bfe7-d4cb678efb7c","title":"Black-40-41","weight_unit":"kg","inventory_quantity":1000,"sku":"SH40862-C001-S382","barcode":"","position":1,"option1":"Black","option2":"40-41","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf383e925e76b6d8b10c11fdc08ef9a2.jpeg","path":"bf383e925e76b6d8b10c11fdc08ef9a2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"17.99","retail_price":"0","available":true,"url":"\/products\/removable-dual-purpose-slippers?variant=2ff32650-96f3-422c-9fd3-7346f156062f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"40-41"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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.