JOYOR S Model Universal Accessory Rocker base cover (rear)
${function(){
const variantData = data.variant || {"id":"5abbde00-0001-4b3c-8ca9-5757148e8619","product_id":"2bbbb117-87df-4d65-be02-4061670c27ca","title":"S5\/S10-S ","weight_unit":"kg","inventory_quantity":3998,"sku":"S-\u6447\u81c2\u94dd\u76d6","barcode":"","position":1,"option1":"S5\/S10-S ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"22","retail_price":"42.99","available":true,"url":"\/products\/s-model-universal-accessory-rocker-base-cover-rear-txrj?variant=5abbde00-0001-4b3c-8ca9-5757148e8619","available_quantity":999999999,"options":[{"name":"style","value":"S5\/S10-S "}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const variantData = data.variant || {"id":"5abbde00-0001-4b3c-8ca9-5757148e8619","product_id":"2bbbb117-87df-4d65-be02-4061670c27ca","title":"S5\/S10-S ","weight_unit":"kg","inventory_quantity":3998,"sku":"S-\u6447\u81c2\u94dd\u76d6","barcode":"","position":1,"option1":"S5\/S10-S ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"22","retail_price":"42.99","available":true,"url":"\/products\/s-model-universal-accessory-rocker-base-cover-rear-txrj?variant=5abbde00-0001-4b3c-8ca9-5757148e8619","available_quantity":999999999,"options":[{"name":"style","value":"S5\/S10-S "}],"off_ratio":49,"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
€22.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":"5abbde00-0001-4b3c-8ca9-5757148e8619","product_id":"2bbbb117-87df-4d65-be02-4061670c27ca","title":"S5\/S10-S ","weight_unit":"kg","inventory_quantity":3998,"sku":"S-\u6447\u81c2\u94dd\u76d6","barcode":"","position":1,"option1":"S5\/S10-S ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"22","retail_price":"42.99","available":true,"url":"\/products\/s-model-universal-accessory-rocker-base-cover-rear-txrj?variant=5abbde00-0001-4b3c-8ca9-5757148e8619","available_quantity":999999999,"options":[{"name":"style","value":"S5\/S10-S "}],"off_ratio":49,"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.