I WANT TO ADD TAB TO THE PRODUCT DETAIL PAGE IN VIRTUEMART.
I PURCHASED THE TEMPLATE SCARF, THAT DEFAULT HAS A TAB TO BE FULLY IN RESPECT TO NORMAL, AND CALL ADDITIONAL INFO.
SEE IN PHOTOS.
I NEED MORE TAB, ALWAYS A DECINE, TO CREATE A FUNCTION OF MENU ACCORDION .. SIMILAR EFFECT ...
THIS AND THE PART OF CODE THE CODE WHERE TO MAKE THE MODIFICATION.
THIS AND THE PART OF THE TAB DESCRIPTION:
<div class="panel-group accordion_info tiva-accordion" id="accordion">
<div class="item panel panel-default tab-description">
<div class="accordion-title panel-heading active">
<h4 class="panel-title">
<a>Description</a>
</h4>
</div>
<div class="accordion-content active">
<div class="panel-body">
<?php echo $product->product_desc; ?>
</div>
</div>
</div>
THIS AND THE PART OF THE ADDRESSING INFO TAB YOU MUST INCLUDE ON YOUR TEMPLATE.
<div class="item panel panel-default">
<div class="accordion-title panel-heading">
<h4 class="panel-title">
<a>Additional info</a>
</h4>
</div>
<div class="accordion-content">
<div class="panel-body">
<?php echo shopFunctionsF::renderVmSubLayout('customfields', array('product'=>$this->product, 'position'=>'normal')); ?>
<!-- Product Packaging -->
<?php $product_packaging = ''; ?>
<?php if ($this->product->product_box) { ?>
<div class="product-box">
<?php echo vmText::_('COM_VIRTUEMART_PRODUCT_UNITS_IN_BOX') .$this->product->product_box; ?>
</div>
<?php } ?>
<?php echo shopFunctionsF::renderVmSubLayout('customfields', array('product'=>$this->product, 'position'=>'onbot')); ?>
<?php echo shopFunctionsF::renderVmSubLayout('customfields', array('product'=>$this->product, 'position'=>'related_products', 'class'=> 'product-related-products', 'customTitle' => true )); ?>
<?php echo shopFunctionsF::renderVmSubLayout('customfields', array('product'=>$this->product, 'position'=>'related_categories', 'class'=> 'product-related-categories')); ?>
</div>
</div>
</div>
TO ME NOT INTERESTED THE TAB REVIEWS.INFATTI I ELIMINATED
I TESTED TO COPY AND INCREASE THE PART OF THE CODE RELATING TO ADDITIONAL INFO, AND I CREATE ANY OTHER TAB SPECULAR, IDENTIFIED, BUT CONTAINING THE SAME IDENTICAL INFORMATION WHEN I WANT TO INSERT CUSTOMIZED FIELDS IN THE PRODUCT IN VIRTUEMART.
I use Regular Labs tag plugin. https://www.regularlabs.com/extensions/tabs Works with all Joomla content, including VM product description. It is easy to use but may not be compatible with all templates.
Thanks, but if I wanted to use tabs as main voices and not use them in the descriptor field as I can do?