JOYOR Y Model Universal Accessory 48V Charger
${function(){
const variantData = data.variant || {"id":"350d9d8e-ecf7-4dfb-a3ac-4afdfa244d66","product_id":"51d9e8ce-608a-480e-9b99-2cb9d33ecc62","title":"Y6","weight_unit":"kg","inventory_quantity":3996,"sku":"Y6 \u5145\u7535\u5668","barcode":"","position":1,"option1":"Y6","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"65.99","price":"45","retail_price":"65.99","available":true,"url":"\/products\/y-model-universal-accessory-48v-charger-md76?variant=350d9d8e-ecf7-4dfb-a3ac-4afdfa244d66","available_quantity":999999999,"options":[{"name":"style","value":"Y6"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const variantData = data.variant || {"id":"350d9d8e-ecf7-4dfb-a3ac-4afdfa244d66","product_id":"51d9e8ce-608a-480e-9b99-2cb9d33ecc62","title":"Y6","weight_unit":"kg","inventory_quantity":3996,"sku":"Y6 \u5145\u7535\u5668","barcode":"","position":1,"option1":"Y6","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"65.99","price":"45","retail_price":"65.99","available":true,"url":"\/products\/y-model-universal-accessory-48v-charger-md76?variant=350d9d8e-ecf7-4dfb-a3ac-4afdfa244d66","available_quantity":999999999,"options":[{"name":"style","value":"Y6"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
style
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
€45.00
${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":"350d9d8e-ecf7-4dfb-a3ac-4afdfa244d66","product_id":"51d9e8ce-608a-480e-9b99-2cb9d33ecc62","title":"Y6","weight_unit":"kg","inventory_quantity":3996,"sku":"Y6 \u5145\u7535\u5668","barcode":"","position":1,"option1":"Y6","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"65.99","price":"45","retail_price":"65.99","available":true,"url":"\/products\/y-model-universal-accessory-48v-charger-md76?variant=350d9d8e-ecf7-4dfb-a3ac-4afdfa244d66","available_quantity":999999999,"options":[{"name":"style","value":"Y6"}],"off_ratio":32,"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.