K-Cafe Single-Serve K-Cup Coffee Maker, Latte Maker and Cappuccino Maker, Comes with Dishwasher Safe Milk Frother, Coffee Shot Capability, Compatible With all K-Cup Pods, Dark Charcoal
${function() {
const variantData = data.variant || {"id":"6b60b8ba-a299-4045-a0f7-018704f531f2","product_id":"c4021112-735e-465e-95b7-5f6978860afb","title":"Dark Charcoal","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838553615","barcode":"","position":1,"option1":"Dark Charcoal","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/759968146b83436f3717d8875b8796c9.jpeg","path":"759968146b83436f3717d8875b8796c9.jpeg","width":1500,"height":1476,"alt":"","aspect_ratio":1.016260162601626},"wholesale_price":[{"price":9.97,"min_quantity":1}],"weight":"0","compare_at_price":"90","price":"9.97","retail_price":"90","available":true,"url":"\/products\/k-cafe-single-serve-k-cup-coffee-maker-latte-maker-and-cappuccino-maker-comes-with-dishwasher-safe-milk-frother-coffee-shot-capability-compatible-with-all-k-cup-pods-dark-charcoal-w104107_77dbf5d9?variant=6b60b8ba-a299-4045-a0f7-018704f531f2","available_quantity":1000,"options":[{"name":"Color","value":"Dark Charcoal"}],"off_ratio":89,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
Color:
Dark Charcoal
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$9.97
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"6b60b8ba-a299-4045-a0f7-018704f531f2","product_id":"c4021112-735e-465e-95b7-5f6978860afb","title":"Dark Charcoal","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838553615","barcode":"","position":1,"option1":"Dark Charcoal","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/759968146b83436f3717d8875b8796c9.jpeg","path":"759968146b83436f3717d8875b8796c9.jpeg","width":1500,"height":1476,"alt":"","aspect_ratio":1.016260162601626},"wholesale_price":[{"price":9.97,"min_quantity":1}],"weight":"0","compare_at_price":"90","price":"9.97","retail_price":"90","available":true,"url":"\/products\/k-cafe-single-serve-k-cup-coffee-maker-latte-maker-and-cappuccino-maker-comes-with-dishwasher-safe-milk-frother-coffee-shot-capability-compatible-with-all-k-cup-pods-dark-charcoal-w104107_77dbf5d9?variant=6b60b8ba-a299-4045-a0f7-018704f531f2","available_quantity":1000,"options":[{"name":"Color","value":"Dark Charcoal"}],"off_ratio":89,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"6b60b8ba-a299-4045-a0f7-018704f531f2","product_id":"c4021112-735e-465e-95b7-5f6978860afb","title":"Dark Charcoal","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838553615","barcode":"","position":1,"option1":"Dark Charcoal","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/759968146b83436f3717d8875b8796c9.jpeg","path":"759968146b83436f3717d8875b8796c9.jpeg","width":1500,"height":1476,"alt":"","aspect_ratio":1.016260162601626},"wholesale_price":[{"price":9.97,"min_quantity":1}],"weight":"0","compare_at_price":"90","price":"9.97","retail_price":"90","available":true,"url":"\/products\/k-cafe-single-serve-k-cup-coffee-maker-latte-maker-and-cappuccino-maker-comes-with-dishwasher-safe-milk-frother-coffee-shot-capability-compatible-with-all-k-cup-pods-dark-charcoal-w104107_77dbf5d9?variant=6b60b8ba-a299-4045-a0f7-018704f531f2","available_quantity":1000,"options":[{"name":"Color","value":"Dark Charcoal"}],"off_ratio":89,"flashsale_info":[],"sales":0};
return `
`
}()}