Hi there
Joomla! 3.4.8
Virtuemart 3.0.12
Linux PHP 5.6.18
Which file is to be altered to increase the default number of related products?
-I have seen previously it was the file shop.product_details.php located at: administrator/components/com_virtuemart/html
-but this folder no longer exists, and the file is not like this anymore. The only file that has "related" involved doesn't have any number limits section etc.
Hello
I don´t think there is a limit, I just add as much related products that I want.
Isn´t it a custom field like any other, search for a customfield template.
regards
Jörgen @ Kreativ Fotografi
Interesting... I changed to default template of Beez3.
And still no change... which implies something else is going on.
In the development version VM3.0.13.4 I can add multiple related products. In the default template they show as blocks of 3 but that can be overriden.
Ok... so any clues as to which file I can attack to get more than just 3 related products showing?
There is no limit to the number that should be "read" into the product page
Debug the product page to see the array
$this->product->customfieldsSorted['related_products']
Hm... well, I turned on the debug.
Big mistake, white page of death.
Ok, fixed that, and turned on the error messaging to max. That revealed no problems, at least none that I would count as a fault.
But ok, this is just a minor issue, not exactly critical.
I am wondering if this actually started after the last few Joomla updates... because this was actually working last time I had this many related products...