VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: plastique on April 11, 2012, 18:56:20 PM

Title: Product Detail View Problem
Post by: plastique on April 11, 2012, 18:56:20 PM
Hello everyone,

I'm having a problem the last two days, i have many Menu Items with type "VirtueMart ยป Category Layout".
So, when i enter one of these menus i have to choose a category, then a product.

The problem is that in every Product Detail page at the end before the comments, it shows the categories again.

I'm using VirtueMart 2.0.4, Joomla 2.5.4.

I've attach a screenshot.

Maybe someone has the same problem or is a config that i've missed ?

Thank you!  :)

[attachment cleanup by admin]
Title: Re: Product Detail View Problem
Post by: slutsker on April 11, 2012, 21:44:59 PM
maybe in virtuemart panel in setting tab option "show categories" is selected?
Title: Re: Product Detail View Problem
Post by: plastique on April 12, 2012, 11:01:02 AM
Hey slutsker,

Thanks for your reply.
Can you be more specific please ?

Where do you see such an option ?

Thanks.
Title: Re: Product Detail View Problem
Post by: Rajiii4u on April 12, 2012, 14:21:30 PM
In back end  virtuemart: select configuration choose templates and unselect the Show Children Category check box..... Dude
Title: Re: Product Detail View Problem
Post by: plastique on April 12, 2012, 16:57:16 PM
If a uncheck "Show Children Category" then i can't see any of my categories, anywhere, not even in category layout.

Title: Re: Product Detail View Problem
Post by: PRO on April 12, 2012, 17:57:05 PM
Or, do a template override

productdetails/tmpl/default.php


Remove

if (VmConfig::get('showCategory', 1)) {
   echo $this->loadTemplate('showcategory');
    }



Title: Re: Product Detail View Problem
Post by: plastique on April 12, 2012, 18:10:35 PM
Hey BanquetTables.pro,

Yes, i finally ended up to this.

Thanks for your reply.

Title: Re: Product Detail View Problem
Post by: slutsker on April 29, 2012, 11:56:35 AM
i recomend you to copy your productdetails/tmpl/default.php
to your_template/html/com_virtuemart/productdetails

so it won't change in case of update
Title: Re: Product Detail View Problem
Post by: lipes on June 06, 2012, 01:55:36 AM
Quote from: plastique on April 12, 2012, 16:57:16 PM
If a uncheck "Show Children Category" then i can't see any of my categories, anywhere, not even in category layout.
Same problem with me...

For me it's not a "Product Detail View Problem"... its a problem in the browsing Categories images... the Category product browse layout it's working correct...
But in the Categories browsing it's not.. and we cant see any image...
Even in unchecked or checked "Show Children Category" it's the same... i cant see any of my categories images...

I removed the
if (VmConfig::get('showCategory', 1)) {
   echo $this->loadTemplate('showcategory');
    }

but it's still the same thing... no images...
what can i do to solve this?