Virtuemart shows the unnecessary Joomla modules

Posted on 2012-08-21
Last Modified: 2012-12-05

My test webshop is available at:

The problem is that if I click on any product on the main page then not only the product can be seen but the main modules (of the main page) - as the slider.

How can I set it so as these won't be shown?

Thank you
Question by:starhu
    LVL 13

    Expert Comment

    by:Abhijeet Rananaware
    Go to to module manager > Edit respective modules> Select pages in each module on which you want to show modules.

    Author Comment

    The modules are set correcly - only on the main page but when I click on a VirtueMart product, Joomla somehow thinks that it is still the main page...

    If it's faster I can email you a login name and password for the site...

    Thank you
    LVL 13

    Accepted Solution

    You have got itemid issue.Products on home page are taking homepage itemid which is 1.

    They need to take shop's Itemid.

    ROOT DIR/administrator/components/com_virtuemart/classes/ps_session.php

    Comment out following code..It should work:
    $Itemid = “&Itemid=” . ($tmp_Itemid ? $tmp_Itemid : $this->getShopItemid());

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
    The viewer will learn how to count occurrences of each item in an array.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now