Strange behavior when choosing a manufetrurer

More
11 years 9 months ago #30528 by yonishobby
Hi,

I'm using the latest J 2.5 and VM with the hot_commerce template installed from the "Hot Start" installation.
When browsing to an item, then pressing the manufacturer name and then "show all products..." link I see the products on the buttom of the page while on top there is always the store categories and the bred crumbs shows always the same (in my case it shows Home page -> Helicopters -> Electric Helicopters).
For example:
www.yonishobby.co.il/manufacturer/traxxas
www.yonishobby.co.il/manufacturer/himoto
www.yonishobby.co.il/manufacturer/seagull

Also the page title shows the manufacture name together with "Electric Helicopters" (It's in Hebrew).

Is there a way to show only the manufacturer products without any store category?

Thanks,
Yoni

Please Log in to join the conversation.

More
11 years 9 months ago #30532 by ivan.milic
You can edit:

templates\hot_ecommerce\html\com_virtuemart\category\defaut.php to remove first part of code for children

Please Log in to join the conversation.

More
11 years 9 months ago #30536 by yonishobby
Can you be more accurate as I'm not a programer.
Please point me to the lines I need to comment.

Thanks

Please Log in to join the conversation.

More
11 years 9 months ago #30540 by ivan.milic
Line ~70:

if ($this->category->haschildren) {

change to:

if ($this->category->haschildren && false) {
The following user(s) said Thank You: yonishobby

Please Log in to join the conversation.

More
11 years 9 months ago #30542 by yonishobby
Thanks, that solved the main problem.

Can you think of a reason why I always see the manufacture products under the same product category?
If you'll press the 3 links in the first post you can see that they all appear in the same category on the right "מסוקים -> מסוקים חשמליים" (Helicopters -> Electric Helicopters) and the page title starts with "מסוקים" for all manufacturers.

Thanks again,
Yoni

Please Log in to join the conversation.

More
11 years 9 months ago #30548 by ivan.milic
Can you describe that better please?

Please Log in to join the conversation.

Time to create page: 0.157 seconds
Powered by Kunena Forum