GKTaps used in VM2

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Mon Jun 25, 2012 12:42 pm
Hi,
In the new version of the Mystore, in VM ´detail product information´ the option ´ask question about product´ is included as a´tabs´ item together with Product description
(see http://demo.gavick.com/joomla15/may2010 ... Itemid=203)

This is not the case in the previous version of Mystore (see http://www.sucuisine.com/index.php/vlee ... kruidenmix)

Can I copy the new versions of the files?
Which files?
What are the destination folders?

Regards
HGC developer
User avatar
Senior Boarder

Konrad M
Mon Jun 25, 2012 12:58 pm
Hi,
In 2.0 and higher VM version Ask question was moved to popup window. This is the reason why there is no Ask question in Tab. This demo isn't new version but old one. It is vm 1.9 .
User avatar

GK User
Mon Jun 25, 2012 11:04 pm
Hi Konrad,
Thanks, indeed I have a VM 2.06.
But integrated in the TAB looks better.

How can I move the Ask question button next to the tab items Product desc and Evaluation?

Regards
Hans
User avatar
Senior Boarder

Konrad M
Tue Jun 26, 2012 9:22 am
If you want to add tab you need to go to html/com_virtuemart/productdetails and edit default.php file.
Here find:
Code: Select all
// Ask a question about this product
      if (VmConfig::get('ask_question', 1) == '1') { ?>
            <div class="ask-a-question">
            <a class="ask-a-question" href="<?php echo $url ?>" ><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a>
            <!--<a class="ask-a-question modal" rel="{handler: 'iframe', size: {x: 700, y: 550}}" href="<?php echo $url ?>"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a>-->
            </div>
                <?php }
      ?>

remove it than find:

Code: Select all
 <ul id="gkProductTabs">
    <li class="gkProductTabActive"><span><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE') ?></span></li>
    <li><span><?php echo JText::_('COM_VIRTUEMART_REVIEWS') ?></span></li>
    </ul>


and change to:
Code: Select all
 <ul id="gkProductTabs">
    <li class="gkProductTabActive"><span><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE') ?></span></li>
    <li><span><?php echo JText::_('COM_VIRTUEMART_REVIEWS') ?></span></li>
if (VmConfig::get('ask_question', 1) == '1') { ?>
            <li><span>
            <a class="ask-a-question" href="<?php echo $url ?>" ><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a>
            <!--<a class="ask-a-question modal" rel="{handler: 'iframe', size: {x: 700, y: 550}}" href="<?php echo $url ?>"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a>-->
            </span></li>
                <?php }
      ?>
   
    </ul>

This will let you have it in tab but still it will be popup. But how to change it to regular form please ask on VM community forum. Becasue this is extra customization and we don't support it.
User avatar


cron