PDA

View Full Version : How can I change related products from 5, to 4?


donnelyj
01-07-2010, 06:36 PM
if you look here:

http://www.pearlypleasure.co.uk/products/Black-Velvet-Bustier-Set.html

at the bottom the related products, there is 5. I only want there to be 4 related products as I dont like the one on its own , and think 4 will look neater.

How can I do this? any ideas

MarkSKell
01-10-2010, 07:27 PM
I dug this up from the graveyard. It may not be completely accurate.

/includes/display/SideProductRelated.php

change:

ORDER BY prodsortorder ASC

To:

ORDER BY prodsortorder ASC LIMIT 4

cupargarden
01-10-2010, 09:07 PM
On the Store Settings > Display Settings page, there is a setting for everything but related products. :rolleyes:

donnelyj
01-10-2010, 09:10 PM
I dug this up from the graveyard. It may not be completely accurate.

/includes/display/SideProductRelated.php

change:

ORDER BY prodsortorder ASC

To:

ORDER BY prodsortorder ASC LIMIT 4

THIS WORKED, thank you very much

cupargarden
01-11-2010, 09:19 AM
Glad to know you got it working.

Out of interest, I had a look at your site (pearlypleasure.co.uk) and liked the menu - was this custom built or is it one of the free/paid menu add-ons and if so, do you know which menu it was? I'm looking for a similar menu.

Thanks ;)

donnelyj
01-11-2010, 11:39 AM
hi,

if you mean the side "Category" Menu ? it is the Free Accordin menu found here:

https://www.interspire.com/forum/showthread.php?t=14057&highlight=menu

is that the menu you mean?

cupargarden
01-11-2010, 11:40 AM
That's the one - thank you :)