Engwe X26 Folding E-Bike
${function() {
const variantData = data.variant || {"id":"177844db-4343-4385-9cd4-fc1805847c78","product_id":"e45f1d9b-eb26-4c5d-a00e-d02092baa8ed","title":"Gray-19.2Ah Single Battery","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"19.2Ah Single Battery","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4153ee3f546847b82a2f5df10d4c2ed4.jpeg","path":"4153ee3f546847b82a2f5df10d4c2ed4.jpeg","width":2048,"height":2853,"alt":"","aspect_ratio":0.7178408692604277},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/x26?variant=177844db-4343-4385-9cd4-fc1805847c78","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Style","value":"19.2Ah Single Battery"}],"off_ratio":0,"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 `
`;
}()}
${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":"177844db-4343-4385-9cd4-fc1805847c78","product_id":"e45f1d9b-eb26-4c5d-a00e-d02092baa8ed","title":"Gray-19.2Ah Single Battery","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"19.2Ah Single Battery","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4153ee3f546847b82a2f5df10d4c2ed4.jpeg","path":"4153ee3f546847b82a2f5df10d4c2ed4.jpeg","width":2048,"height":2853,"alt":"","aspect_ratio":0.7178408692604277},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/x26?variant=177844db-4343-4385-9cd4-fc1805847c78","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Style","value":"19.2Ah Single Battery"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}