Joomla Templates, WordPress Themes - HotThemes
Welcome, Guest
Username: Password: Remember me
Discussion about "Furniture Store" VirtueMart/Joomla template
  • Page:
  • 1

TOPIC: How show more related products?

How show more related products? 2 years 4 months ago #4716

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)

example.jpg

.

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

Ashley.
Last Edit: 2 years 4 months ago by ashleybroadhurst.
The administrator has disabled public write access.

Re: How show more related products? 2 years 4 months ago #4725

  • ivan.milic
  • ivan.milic's Avatar
  • OFFLINE
  • Support Staff
  • Posts: 8238
  • Thank you received: 890
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.
The administrator has disabled public write access.

Re: How show more related products? 2 years 3 months ago #4745

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.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.123 seconds
Powered by Kunena Forum

Forum Rules

Allow our support staff to help you:

  • Average response time is 12-24h. Please don't ask the same question twice.
  • Always post your site link so we can check your problem.
  • If you prefer, you can send link and site login details privately if you click "Report to moderator" link.

You are welcome to post if you have fair Joomla/WordPress knowledge and your question is related to:

  • Finding and resolving errors in our products
  • Problems with installation of our products on your server
  • Instructions how to use our products - please read documentation and search this Forum before posting!
  • General questions about our products

In the following cases, support staff may not reply your question or may delete your post without prior notice:

  • Total Joomla/WordPress beginners - Please find some literature for Joomla or literature for WordPress.
  • Modifications of our products: Beside Joomla/WordPress knowledge, you must also understand CSS and HTML, and/or have some PHP experience. Purpose of this Forum is not teaching HTML, CSS or PHP.

 

Promo code?
Newsletter
Sign up!
FacebookTwitter
Google+Youtube
PinterestRSS
Follow us!