virtuemart category layout problem

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Jun 25, 2017 3:02 pm
Reply with quote
Report this post
Hi,
in a fresh copy of joomla 3.7.2 and virtuemart 3.2.2 the problem is that is not showing virtuemat category layout. The mesage that is showing is "Call to a member function displayMediaThumb() on null". Anybody knows what is going on?
User avatar
Fresh Boarder

teitbite
Tue Jun 27, 2017 8:26 am
Reply with quote
Report this post
Hi

Templates has not been updated to VM 3.2.2 yet.

I would advice to downgrade VM and wait for the updated template version.
User avatar
Moderator

GK User
Tue Jun 27, 2017 3:40 pm
Reply with quote
Report this post
Thanks ;)
User avatar
Fresh Boarder

teitbite
Fri Jun 30, 2017 1:53 pm
Reply with quote
Report this post
Hi

Apparently most of the VM updates cannot be covered for all templates at the same time, so a fix to this particular problem will be to edit html/com_virtuemart/productdetails/default.php and replace:
Code: Select all
if (VmConfig::get('showCategory', 1)) {

to:
Code: Select all
if ($this->cat_productdetails) {
User avatar
Moderator

GK User
Fri Jun 30, 2017 2:51 pm
Reply with quote
Report this post
i'll try it. You are the best!
User avatar
Fresh Boarder

teitbite
Sat Jul 01, 2017 11:10 am
Reply with quote
Report this post
Hi

Ok. Please let me know how it worked.
User avatar
Moderator


cron