Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Furniture Store" VirtueMart/Joomla template

Topic-icon How show more related products?

6 years 6 days ago - 6 years 6 days ago #4716 by ashleybroadhurst
Hi there.

This may be an obvious question but could someone please explain how more "related products" can be displayed at the bottom of virtuemart pages? I appreciate this is related to Virtuemart, as opposed to the template itself, but thought to enquire here as it must be common to have more than four related items; how do you folks get around that problem?

At present, it appears only four (4) products can be displayed at any one time. Is there any way to have more than one row of related products, or even some sort of product slider?

A second question - if you're feeling particularly altruistic - relates to the formatting of products displayed in the related products section. Is there any way to lengthen the space of the product description and image, in the related product section. If too long, the names of related products seem to cause the price to be superimposed over the thumbnail (see image)


Thank you in advance for any help you may be able to offer.

Last Edit: 6 years 6 days ago by ashleybroadhurst.

Please Log in to join the conversation.

6 years 5 days ago #4725 by ivan.milic
In the file administrator\components\com_virtuemart\html\shop.product_details.php

in 92th line that look like this:
$q .= "AND FIND_IN_SET(#__{vm}_product.product_id, REPLACE(related_products, '|', ',' )) LIMIT 0, 4";

Change 4 to number you want.

Please Log in to join the conversation.

6 years 4 days ago #4745 by ashleybroadhurst
Thank you! That did the job. I also had to fiddle with that section to get the products to flip around in a second row but managed to get there in the end.

Thank you again.

Please Log in to join the conversation.

Time to create page: 0.106 seconds

Links, Partners and Social Media