Front Load Machine, 2.7 Cu. Ft, Space Saving Unit with 20-Minute Quick, 12 Washing Cycles, Quiet Inverter Motor [120V], Medium (24
${function() {
const variantData = data.variant || {"id":"dc3edefa-e3cd-47c3-99e6-4c206eb6df9a","product_id":"716a28ca-4f49-40bf-b9f5-c2b7d928e3d8","title":"Washer-X-Large (27\")","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838910241","barcode":"","position":1,"option1":"Washer","option2":"X-Large (27\")","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b766fe9eab267d22e5ded550db970b3.jpeg","path":"3b766fe9eab267d22e5ded550db970b3.jpeg","width":1500,"height":1479,"alt":"","aspect_ratio":1.0141987829614605},"wholesale_price":[{"price":43.12,"min_quantity":1}],"weight":"0","compare_at_price":"999","price":"43.12","retail_price":"999","available":true,"url":"\/products\/koolmore-flw-3cwh-front-load-machine-2-7-cu-ft-space-saving-unit-with-20-minute-quick-12-washing-cycles-quiet-inverter-motor-120v-medium-24-white?variant=dc3edefa-e3cd-47c3-99e6-4c206eb6df9a","available_quantity":1000,"options":[{"name":"Size","value":"Washer"},{"name":"style","value":"X-Large (27\")"}],"off_ratio":96,"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 `
`;
}()}
Size:
Washer
${function(){
const optName = "Size";
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}
`
}()}
Style:
X-Large (27")
${function(){
const optName = "style";
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
$43.12
${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":"dc3edefa-e3cd-47c3-99e6-4c206eb6df9a","product_id":"716a28ca-4f49-40bf-b9f5-c2b7d928e3d8","title":"Washer-X-Large (27\")","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838910241","barcode":"","position":1,"option1":"Washer","option2":"X-Large (27\")","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b766fe9eab267d22e5ded550db970b3.jpeg","path":"3b766fe9eab267d22e5ded550db970b3.jpeg","width":1500,"height":1479,"alt":"","aspect_ratio":1.0141987829614605},"wholesale_price":[{"price":43.12,"min_quantity":1}],"weight":"0","compare_at_price":"999","price":"43.12","retail_price":"999","available":true,"url":"\/products\/koolmore-flw-3cwh-front-load-machine-2-7-cu-ft-space-saving-unit-with-20-minute-quick-12-washing-cycles-quiet-inverter-motor-120v-medium-24-white?variant=dc3edefa-e3cd-47c3-99e6-4c206eb6df9a","available_quantity":1000,"options":[{"name":"Size","value":"Washer"},{"name":"style","value":"X-Large (27\")"}],"off_ratio":96,"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":"dc3edefa-e3cd-47c3-99e6-4c206eb6df9a","product_id":"716a28ca-4f49-40bf-b9f5-c2b7d928e3d8","title":"Washer-X-Large (27\")","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838910241","barcode":"","position":1,"option1":"Washer","option2":"X-Large (27\")","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b766fe9eab267d22e5ded550db970b3.jpeg","path":"3b766fe9eab267d22e5ded550db970b3.jpeg","width":1500,"height":1479,"alt":"","aspect_ratio":1.0141987829614605},"wholesale_price":[{"price":43.12,"min_quantity":1}],"weight":"0","compare_at_price":"999","price":"43.12","retail_price":"999","available":true,"url":"\/products\/koolmore-flw-3cwh-front-load-machine-2-7-cu-ft-space-saving-unit-with-20-minute-quick-12-washing-cycles-quiet-inverter-motor-120v-medium-24-white?variant=dc3edefa-e3cd-47c3-99e6-4c206eb6df9a","available_quantity":1000,"options":[{"name":"Size","value":"Washer"},{"name":"style","value":"X-Large (27\")"}],"off_ratio":96,"flashsale_info":[],"sales":0};
return `
`
}()}