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

TOPIC: [SOLVED] creating specification tab

[SOLVED] creating specification tab 9 years 9 months ago #736

Hi,

I tried to copy the specifications tab from the Pure Mart template to the fashion mart template:
The specifications tab is on the right spot but the content is on top of the page( see pictures) Is it possible to get it right?

Cheers,

Jan Willem


speccustomfield.JPG



specificationtab.JPG



spectabcode.JPG
Last Edit: 9 years 9 months ago by Support.
The topic has been locked.

creating specification tab 9 years 9 months ago #749

Hi,

This is custom modifications so i should NOT have provided free support about it, but here it is;
To generate Specifications TAB in fashionMArt follow my steps:

First add this:
<?php if (!empty($this->product->customfieldsSorted['ontop'])) { ?>
	<li><a href="#" rel="SpecificationsBottom"><span>Specifications</span></a></li>
<?php } ?>

AFTER this
<li class="selected">
         <a href="#" rel="desc"><span><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DESC_TITLE') ?></span></a>
</li>

And then add this:
<?php
    if (!empty($this->product->customfieldsSorted['ontop'])) { ?>
    <div id="SpecificationsBottom" class="tabcontent">
	<?php $this->position='ontop';
		echo $this->loadTemplate('customfields'); ?>
        <div class="clear"></div>
    </div>
	<?php } // Product Custom ontop end?>


BEFORE This LINE
<?php // Customer Reviews
	if($this->showReview) { ?>
 
		<div id="reviews" class="tabcontent">
		<div class="vmReviews">


Be cattious while copy-pasting codes. The location of last code is very important, It must be copy-pasted
AFTER
</div>
But before:
<?php // Customer Reviews
Lines
Last Edit: 9 years 9 months ago by Support.
The topic has been locked.

creating specification tab 9 years 9 months ago #751

Thank you, Thank you, Thank you!!
I'm going to take my time tomorrow and give it try.

Groeten uit Amsterdam!

Jan Willem



groeten.JPG
The topic has been locked.

creating specification tab 9 years 9 months ago #754

Your welcome.

Flexible Support Desk.
The topic has been locked.

creating specification tab 9 years 9 months ago #756

the specification tab works but the values are not in row and they also keep apearing on top of the page. if there's no simple solution i'm willing to pay for a custom solution!


specafter.JPG



Cheers,

Jan Willem
The topic has been locked.

creating specification tab 9 years 9 months ago #787

Our Premium Support costs $35/hour and it should be 2 minimum, the modification you are asking wouldn't worth it.

You should delete the PHP lines that loads the custom field below the product price.
Open the product details PHP file, Find this PHP lines and delete them:
PastedImage102012542AM-3.png


And if you make them to appear in a row you would need some CSS modifications, they are not so complicated though.
Open this CSS file:

ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/assets/css/flexibleVM2Global.css

and add this CSS rules:
.product-fields .product-field-type-S .product-field-display {
    border: medium none;
    display: inline-block;
}

Cheers.
The topic has been locked.

creating specification tab 9 years 9 months ago #805

Thanks again!! I'm really happy with your support!

Cheers

Jan Willem
The topic has been locked.

creating specification tab 9 years 9 months ago #817

Your welcome,
I hope this post will be useful to others who are willing do the same thing.

Case solved. Topic is closed.
The topic has been locked.
Time to create page: 0.234 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