JOYOR Model Universal Accessory Brake handle
${function(){
const variantData = data.variant || {"id":"b9a198fd-eb40-49a1-bc5c-d90defdb5665","product_id":"3f59b741-4f4b-43ac-b21e-c432d510ede1","title":"S5-left","weight_unit":"kg","inventory_quantity":3999,"sku":"S5 \u5de6 \u5239\u628a","barcode":"","position":1,"option1":"S5","option2":"left","option3":"","note":"","image":null,"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"25","retail_price":"45.99","available":true,"url":"\/products\/joyor-model-universal-accessory-brake-handle-3ppv?variant=b9a198fd-eb40-49a1-bc5c-d90defdb5665","available_quantity":999999999,"options":[{"name":"Model","value":"S5"},{"name":"style","value":"left"}],"off_ratio":46,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const variantData = data.variant || {"id":"b9a198fd-eb40-49a1-bc5c-d90defdb5665","product_id":"3f59b741-4f4b-43ac-b21e-c432d510ede1","title":"S5-left","weight_unit":"kg","inventory_quantity":3999,"sku":"S5 \u5de6 \u5239\u628a","barcode":"","position":1,"option1":"S5","option2":"left","option3":"","note":"","image":null,"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"25","retail_price":"45.99","available":true,"url":"\/products\/joyor-model-universal-accessory-brake-handle-3ppv?variant=b9a198fd-eb40-49a1-bc5c-d90defdb5665","available_quantity":999999999,"options":[{"name":"Model","value":"S5"},{"name":"style","value":"left"}],"off_ratio":46,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Model
Model
S5
S10S/S10S-Z
S8S
S5 ABE
S5 PRO
Y6
Y8
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
style
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
€25.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":"b9a198fd-eb40-49a1-bc5c-d90defdb5665","product_id":"3f59b741-4f4b-43ac-b21e-c432d510ede1","title":"S5-left","weight_unit":"kg","inventory_quantity":3999,"sku":"S5 \u5de6 \u5239\u628a","barcode":"","position":1,"option1":"S5","option2":"left","option3":"","note":"","image":null,"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"25","retail_price":"45.99","available":true,"url":"\/products\/joyor-model-universal-accessory-brake-handle-3ppv?variant=b9a198fd-eb40-49a1-bc5c-d90defdb5665","available_quantity":999999999,"options":[{"name":"Model","value":"S5"},{"name":"style","value":"left"}],"off_ratio":46,"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.