Developer forum

Forum » Templates » Product variants in productlist

Product variants in productlist


Reply
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?

Replies

 
Nicolai Høeg Pedersen
Reply
Which version are you running? There have been a lot of improvements in this area with 7.2.
 
Reply
19.2.0.4
 
Reply

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
 
Reply
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

 

You must be logged in to post in the forum