- Posts: 107
- Thank you received: 0
questions ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Normally, the system should have created all the variants automatically based on the characteristics. It seems it didn't work for that product. In that case, you can create the variants manually with the new button. You just have the set both characteristics value and a product name for the variants you need.
I'm coming back on what I said a few days ago :
- What I want to achive (I'll get there
I don't see how I can achieve this .. because when I click on 'new' from the "variants" screen I get the variants I chose showing me all the differents values in a dropdown no way to choose from them .... ?
So is it actually possible ? else it would be great as I said previously to have a display name for variants and being able to show only this one ...
Please Log in or Create an account to join the conversation.
You need to create one variant per combination of characteristics value.
For example, suppose that you sell tshirts with different colors, motifs and sizes.
You would create two characteristics: color and size. With all the possible values.
Then you create one product per motif with the image and add the 2 characteristics to each of them. That should automatically create one variant per combination of values. S and blue, S and red, S and brown, L and blue, L and red, L and brown. You can always create the variants manually and select the characteristics value for each) or delete variants you don't need for a product, etc.
Then, on each product page, you will have a dropdown for the user to select the color and size. That will about the price and the other information corresponding to the variant of the values selected.
Please Log in or Create an account to join the conversation.
I created characteristics,and wanted to manage the variants so I clicked on it : that was the url index.php?option=com_hikashop&ctrl=product and I get an error 500 .. so as you told me before .. the system should be working creating different variants ... and that's probably my error 500 ... that takes too much time to create all the different variants...
So what's this error 500 .. any clue ?
Please Log in or Create an account to join the conversation.
Could you give us an FTP access + a backup access to your website so that we can try to trace down the problem and possibly fix it ?
You can also live with the problem and manually create the variants for each combination of values for your products.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Debugging such errors takes some time so we will get bakc to you tomorrow.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The problem comes from the fact that your product has 3 characteristics with roughly 20 values each. That means a total of 20*20*20 variants to be created automatically when you save your product. We need to optimize that process. currently it has to do more than 8000 queries for that and it takes too much time for the restrictions on your website. we are confident that we can reduce that number to less than 100 queries which shouldn't be a problem for your server... We'll work on that and test the solution on your website.
Please Log in or Create an account to join the conversation.
Don't worry about testing it on this website, just let us know for the improvements ... I was just worried I did something wrong ....
Thanks again !
Please Log in or Create an account to join the conversation.
More importantly, the problem is the display of the product page and the variants listing... On the product page, the system has to load all the variants data in memory and with so much data, that is just not possible.
It would indeed be better to use a different approach to what you want to do.
Please Log in or Create an account to join the conversation.
The hosting company is 1&1 so I guess loads of people will have this problem some day ...
I think it would be a great idea as i said previously to have a display name for characteristics ... that will solve loads of problems.
Please Log in or Create an account to join the conversation.
This way, you won't need any variants.
Please Log in or Create an account to join the conversation.
Don't understand me wrong ... your characteristics system is really good, and well thought ... but it might be over complicated and take lots of ressources when it can be achieved another way
thanks for the help
(I didn't want to create so many variants in the same characteristics at the beginning... you told me it was the best way to do .)
Please Log in or Create an account to join the conversation.
Anyway, I hope you manage to do it differently.
Please Log in or Create an account to join the conversation.
Anyway thanks for ansering on such a short time !
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
so i'll explain a bit more : (I joined a picture to explain this a bit more)
Even if I'm not a coder : I've got a good understanding on how it's working :
with a display name and a database name .. the problem would be solved ... and for people wanted to use the older system that's no problem ... database name and displayed name could be the same ..
This way the system wouldn't have to process so much datas at the same time because there would have less variants in the characteristics ... (it's just an idea)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.