JOYOR Y Model Universal Accessory Front double shock absorber
${function(){
const variantData = data.variant || {"id":"6c6c490e-f4fc-46bb-b310-dffc9e8d8714","product_id":"4e8943d1-c354-41aa-b164-a5abc0aec306","title":"Y6 -Left","weight_unit":"kg","inventory_quantity":3997,"sku":"Y6 \u5de6 \u524d\u53cc\u51cf\u9707\u5668","barcode":"","position":1,"option1":"Y6 ","option2":"Left","option3":"","note":"","image":null,"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"48.99","price":"28","retail_price":"48.99","available":true,"url":"\/products\/y-model-universal-accessory-front-double-shock-absorber-kae2?variant=6c6c490e-f4fc-46bb-b310-dffc9e8d8714","available_quantity":999999999,"options":[{"name":"style","value":"Y6 "},{"name":"Model","value":"Left"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const variantData = data.variant || {"id":"6c6c490e-f4fc-46bb-b310-dffc9e8d8714","product_id":"4e8943d1-c354-41aa-b164-a5abc0aec306","title":"Y6 -Left","weight_unit":"kg","inventory_quantity":3997,"sku":"Y6 \u5de6 \u524d\u53cc\u51cf\u9707\u5668","barcode":"","position":1,"option1":"Y6 ","option2":"Left","option3":"","note":"","image":null,"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"48.99","price":"28","retail_price":"48.99","available":true,"url":"\/products\/y-model-universal-accessory-front-double-shock-absorber-kae2?variant=6c6c490e-f4fc-46bb-b310-dffc9e8d8714","available_quantity":999999999,"options":[{"name":"style","value":"Y6 "},{"name":"Model","value":"Left"}],"off_ratio":43,"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}
`
}()}
Model
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
€28.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":"6c6c490e-f4fc-46bb-b310-dffc9e8d8714","product_id":"4e8943d1-c354-41aa-b164-a5abc0aec306","title":"Y6 -Left","weight_unit":"kg","inventory_quantity":3997,"sku":"Y6 \u5de6 \u524d\u53cc\u51cf\u9707\u5668","barcode":"","position":1,"option1":"Y6 ","option2":"Left","option3":"","note":"","image":null,"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"48.99","price":"28","retail_price":"48.99","available":true,"url":"\/products\/y-model-universal-accessory-front-double-shock-absorber-kae2?variant=6c6c490e-f4fc-46bb-b310-dffc9e8d8714","available_quantity":999999999,"options":[{"name":"style","value":"Y6 "},{"name":"Model","value":"Left"}],"off_ratio":43,"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.