test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • 7of9 Friend
    #204015

    Hi,

    There is a problem a with the VM product details page, when the category that it belongs has subcategories. The subcategories are positioned before the product’s description at Product details page. You can see an example here: http://dogbows.gr/j30/en/shop/all-categories-en-gb/dogbows-en-gb/dog-bow-s-365-detail
    I tried to uncheck “Show Children Category” from the VM configuration at the template tab, but, once you do that, then all categories are disappearing from the VM’s main page and VM’s root category.
    I also attach a screen shot that shows the problem:

    Please advise.


    1. CategoriesProblem
    Saguaros Moderator
    #560467

    Hi

    It looks like product shot description rather than subcategories:


    1. shotdesproduct
    7of9 Friend
    #560552

    Hi Saguaros,

    Do you see the red arrow on my screen shot? This is where the subcategories are shown. In the product details page. This is wrong. They should be shown under the product details. Not in between, because they confuse the users.

    Saguaros Moderator
    #560799

    Could you switch to default Joomla template and see how it looks?

    or PM me admin login info of your site, I will take a look.

    7of9 Friend
    #560850

    PM sent. Thanks in advance.

    Saguaros Moderator
    #560904

    You can move the block code that displays the children category to underneath the tabs as default of Virtuemart:
    – Go to file: templatesja_hawkstorehtmlcom_virtuemartproductdetailsdefault.php

    – Find and move this snippet of code:


    <?php>
    //Show child categories
    if (VmConfig::get('showCategory', 1)) {
    echo $this->loadTemplate('showcategory');
    }
    ?>

    and paste it under the code for tabs. It will look like this:


    1. VMdetails
    7of9 Friend
    #561572

    Thanks Saguaros,

    That resolved it! 🙂

    I uploaded the updated php, just in case someone wants to use it, without the need to go through the changes. 🙂


    1. default.php
Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  7of9 9 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum