Hi,
In my productlist i display a dropdown with variants (fi. size+color). The reason for this is to create a quckorder list for my customer, but this feature provides great performance issues (30 sec.) when entering the productlist.
Does anyone have some knowledge on working around this issue templatewise?
Developer forum
E-mail notifications
Product variants in productlist
Posted on 26/01/2011 18:02:58
Replies
Nicolai Høeg Pedersen
Posted on 26/01/2011 19:28:12
Which version are you running? There have been a lot of improvements in this area with 7.2.
Posted on 26/01/2011 19:56:33
19.2.0.4
Posted on 26/01/2011 19:57:59
If the site has already been upgraded to the latest version, here is a few things you might want to check...
How many possible variant combinations do you have?
number of colors * number of sizes = ?
I once experienced the same problem and the reason was that there was actually about 1000 possible combinations (size,color,material) for each of the 100 products displayed in the list. The xml output was huge :)
If you save the xml output, by adding the savetemplatexml=true in the querystring,how many lines are there in this file?
Another reason could be some bad performing xpath expressions or non-optimal use of xslt.
Maybe you could post your productlist template so we could take a look at it?
BR.
Morten
Posted on 26/01/2011 21:59:51
Thanks for your replies.
Here's the xslt.
I think the main problem is the amount of variant combinations.
The xslt may be bad performing. Stuff has been added to it and changed many times
Here's a link to an example: http://www.bolind.dk/webshop/arbejdsbeklaedning/arbejdstoej.aspx
Here's the xslt.
I think the main problem is the amount of variant combinations.
The xslt may be bad performing. Stuff has been added to it and changed many times
Here's a link to an example: http://www.bolind.dk/webshop/arbejdsbeklaedning/arbejdstoej.aspx
You must be logged in to post in the forum