Too many variants?

  • Posts: 104
  • Thank you received: 0
11 years 8 months ago #94206

Hi, few weeks ago I asked about filters and variants and the solutions was: create characteristics and set the filter to those characeristics. Now I have another problem.

I have a product, this product can be mounted on aprodximately 20 diferent motorbikes depending on brand, model, year, capacity and type (motorbike or quad)

I have created those five characteristics.
- 20 brands
- 20 years
- 7 capacity ranges
- 2 types
- maybe 200 models or more

Now I have a white page when I try to manage variants. I have no problem with year, capacity and type but when a I add model or brand I have the white page. The same way I have no problem only whith brand or only with model.

- brand and model simultaneously = white page
- year, capacity, type and brand simultaneously = white page
- year, capacity, type and model simultaneously = white page
- brand and model simultaneously = whte page
- year, capacity, type = ok
- only brand = ok
- only model =ok

Could it be because when I add all the characteristics I have too many variants? I have another problem?

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 8 months ago #94217

Hi,

Yes, that's too much variants for one product and your server cannot handle the load.

I would actually recommend you to not use characteristics but instead custom product fields.
Create one custom product field per characteristic with all the values in them via the menu Display->Custom fields.
Then, in each product select the valid values for each custom product field.
And finally, create filters to use the custom fields instead of the characteristics.
The resulting filters will be equivalent but you won't be limited as there is no variants system for product fields. However, that means that the user cannot choose the values on the product page but it doesn't seem to be something you need (at least you didn't talk about that in your posts).

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 8 months ago #94279

dyvymtvar wrote: In the front end I should have a brand filter. When you choose Honda should be able to choose Honda models and when you choose Yamaha you should be able to choose yamaha models. The same with the year, and when you have chosen brand, model and year you can see the correct product for your bike. (In the other post about filters)


The user should be able to choose the filter values ​​in the frontend. I will try to explain better.

I have an oil filter (HF145). This filter can be mounted on aprodximatelly 20 diferent models from difirents brands, years, etc.

The user know what motorbike model he has but he does not know what it is the correct oil filter. The idea is to allow the user to use filters (brand, model, etc) to choose the correct one for his motorbike. Like in this page

Is it possible to modify the code to do not generate all the variants automatically? I do not need all the variants, if I can add manually only the necessary variants is enough for me.

What it is the limit of variants?

Last edit: 11 years 8 months ago by dyvymtvar.

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 8 months ago #94281

Well, on that page www.puig.tv/tuning-bikes/yamaha-x-max-12...1en/f251-r313-m3271/ I see that you can select the variant of the product to be added to the cart.
If that's something you need to do, then you need variants and characteristics and not custom product fields.

From the tests you made, it seems that over 300 variants for a product, your server cannot handle the load anymore.

If you don't need all the variants on a product, click on the "manage variants" button of the product and delete the ones you don't need. The best is to add the characteristics one by one and deleting the variants you don't need after each characteristic. Otherwise, if you add all the characteristics at once, it will generate all the possible variants and you won't be able to access the variants management listing page.

The following user(s) said Thank You: dyvymtvar

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 8 months ago #94298

Ok thats right, now it works.

I tried to do the same, add a characteristic and delete variants, but I eliminated all variants and did not work. I have to keep at least one variant and add a new characteristic.

Thanks Nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 7 months ago #94307

Now I have another question that I had not thought.

The same product.

It is suitable for a brand, model,type and capacity in a range of 8 years (2005-2012)
And it is suitable for another brand, model, type and capacity in a range of 4 years (1998-2001)

I have to create 8 variants for the first case and 4 for the second?

There's a way to simplify this?

Something like



About filters

The same product. Suitable for:

Brand: Derbi Model: Mulhacen 660
Brand: Aprilia Model: Pegaso 660

In the back end I set filters as dynamic display.

In the front end brand filter I choose Aprilia but in the model filter I can choose Pegaso (right) and Mulhacen (this is not an Aprilia model).

I only want to see Aprlia models If I choose Aprilia brand. Is this possible?

Maybe I need something a little more complicated than that the filters were designed

Last edit: 11 years 7 months ago by dyvymtvar. Reason: One more question

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 7 months ago #94582

Hi,

Yes, you will need 8 variants.
You can't have ranges like you would like.

The dynamic display should actually do what you want unless I'm missing something.
Did you set it in all your filters ?
Could you give a link so that we can see that ?

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 7 months ago #94590

Something is wrong. I take a look in the filters configuration and all are set as dynamic display and asigned to the root category including subcategories.



Ok now you have access to de front end to see how it works, if you will need access to the back-end just tell me and I will give you a new account with new privileges.

User: nicolas
Pass: nicolas

Last edit: 11 years 7 months ago by dyvymtvar.

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 7 months ago #94726

Could you give a direct link to the page with the filters displayed as well as a backend access please ?

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 7 months ago #94743

Sorry I forget to attach the link www.motosjuancortes.com

Ok I gave you a backend access I sent you a private message with your loging.

Last edit: 11 years 7 months ago by dyvymtvar.

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 7 months ago #95094

Ok, I got the backend access and I was able to see your setup and understand what you want.

Actually, it's not possible to display only the values of the characteristic which match with the possible variants of the products already filtered. That's would require heavy modifications in the filtering system.

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 7 months ago #95218

Ok thanks a lot nicolas, is a pity that can not be.

Maybe you don't know some extension or something to do that?

I have searched in JED but I did not find it.

Please Log in or Create an account to join the conversation.

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 7 months ago #95226

No I don't know of such extension. A third party developer could potentially develop such dropdown as a custom project for you.

The following user(s) said Thank You: dyvymtvar

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 7 months ago #95241

Ok thanks a lot for all your work.

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum