Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • gringo211985 Friend
    #189280

    Hi people,

    I was wondering how I would go about adding more tabs like the “description” and “reviews” tabs. Let me show you,

    Is it possible to create more like this as I think it would be a good way to add additional product information.

    Thanks in advance to anyone that can help


    1. Tabs
    phong nam Friend
    #500355

    Hi gringo211985,

    You will need to customize our overriden layout of Virtuemart product details page in templatesja_hawkstorehtmlcom_virtuemartproductdetails to reach your requirements. In this case, I suggest you to hire an experienced developer to handle this task if you are not quitely familiar with PHP and Javascripts.

    gringo211985 Friend
    #500455

    <em>@Leo Burnetts 382464 wrote:</em><blockquote>Hi gringo211985,

    You will need to customize our overriden layout of Virtuemart product details page in templatesja_hawkstorehtmlcom_virtuemartproductdetails to reach your requirements. In this case, I suggest you to hire an experienced developer to handle this task if you are not quitely familiar with PHP and Javascripts.</blockquote>

    Hi Leo,

    Thanks for the reply. Just wondering how much it would cost for you to come in and do this for me, you can send me a PM if you like.

    Thanks,
    Richard

    phong nam Friend
    #500527

    Hi Richard,

    Thank you for your offer. I want to spend more time on my daily support task that I can help more JA members with their problems on our products. But in your case, I think if you just want to display simple additional information (content), you can open templatesja_hawkstorehtmlcom_virtuemartproductdetailsdefault.php file. Then find lines:

    <ul class="nav nav-tabs">
    <li class="active"><a href="#desc" data-toggle="tab"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE') ?></a></li>
    <li><a href="#review" data-toggle="tab">Reviews</a></li>
    <li><a href="#new_tab" data-toggle="tab">New_tab</li>
    </ul>

    Then add the codes for loading the content of new tab into this default.php file:
    i.e:

    </div>
    <div id="new_tab" class="tab-pane fade">
    <?php
    echo $this->loadTemplate('new_tab');
    ?>
    </div>

    At this step, you need to create a default_new_tab.php containing the functions to display additional information (content). Put new file into templatesja_hawkstorehtmlcom_virtuemartproductdetails path.

    Note: I suggest you to raise a bid on http://www.joomlancers.com/ if you need an experienced developer to help you to code the compliacted feature of the new tab.

    You can change new_tab with your desired name if needed.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  phong nam 11 years, 3 months ago.

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