Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FlexibleMart (SKU# FLEX-00007)

TOPIC: Make Specification tab expanded default

Make Specification tab expanded default 11 years 3 weeks ago #4052

On my webshop with puremart template i dont' use the short description
i need to live expanded the specification tab whe i open the product page
how i can doo
Attachments:
The topic has been locked.

Make Specification tab expanded default 11 years 3 weeks ago #4057

hi Claudio,

need a url of the page to advise you

thanks
The topic has been locked.

Make Specification tab expanded default 11 years 3 weeks ago #4058

Just relised you've posted in the WRONG section of the forum - this isn't for PureMart support!! No wonder I couldn't find any tabs..

anyway - transfer the class selected from templates/your_template/html/com_virtuemart/productdetails/default.php ~ line 668
 
<ul id="FlexibleProductDetails" class="shadetabs">
		<?php if (!empty($this->product->product_s_desc)) { ?>	
		<li class="selected"><a href="javascript:void(0)" rel="#1product_s_desc"><?php echo JTEXT::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE');?></a></li>
		<?php } ?>
        <?php if (!empty($this->product->customfieldsSorted['ontop'])) { ?>
				<li><a href="javascript:void(0)" rel="#SpecificationsBottom"><span><?php echo $params->get('productdetails_specs','Specifications'); ?></span></a></li>
       		<?php } ?>   

to
 
<ul id="FlexibleProductDetails" class="shadetabs">
		<?php if (!empty($this->product->product_s_desc)) { ?>	
		<li><a href="javascript:void(0)" rel="#1product_s_desc"><?php echo JTEXT::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE');?></a></li>
		<?php } ?>
        <?php if (!empty($this->product->customfieldsSorted['ontop'])) { ?>
				<li class="selected"><a href="javascript:void(0)" rel="#SpecificationsBottom"><span><?php echo $params->get('productdetails_specs','Specifications'); ?></span></a></li>
       		<?php } ?>   

in the same file around line 697 remove the display:none
<div id="SpecificationsBottom" class="FlexibleProductTABDetails"  style="display:none;">
 
<div id="SpecificationsBottom" class="FlexibleProductTABDetails"  >
 
The topic has been locked.

Make Specification tab expanded default 11 years 3 weeks ago #4060

Workig perfectly
Thank's
The topic has been locked.

Make Specification tab expanded default 11 years 3 weeks ago #4062

good - topic closed
The topic has been locked.
Time to create page: 0.174 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo