VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: liquid.ideas on March 31, 2013, 20:28:46 PM

Title: Reviews, Recommended, Etc
Post by: liquid.ideas on March 31, 2013, 20:28:46 PM
Hi All,

Any help would be appreciated on this though going through the forums and google for a couple of days I have not managed to get even a clue as to how to do this.
I would like tabs on my product details page, I have found some fantastic advice from Ivus on this thread http://forum.virtuemart.net/index.php?topic=105563.0 I have managed to do this although it does not look like tabs, more like an un-ordered list at the bottom!

And I have read this post from BanquetTables, as always awesome and useful advice, http://forum.virtuemart.net/index.php?topic=92756.0 but the one I am wanting to put in is product reviews in a tab? I cant find the code for this on default.php or productdetails.php. Anyone wanna give a gal a hand?

Also I see this in default php:
  // }
    if (!empty($this->product->customfieldsRelatedProducts)) {
   echo $this->loadTemplate('relatedproducts');
    } // Product customfieldsRelatedProducts END

Does this mean I can have Related Products in a tab?

Regards,

Jo
Title: Re: Reviews, Recommended, Etc
Post by: liquid.ideas on March 31, 2013, 21:16:20 PM
Hang on, if I copy the whole of the default_reviews.php code under the line

<div id="tab2" class="tabContents">
               YOUR CONTENT CODE FOR REVIEWS/COMMENTS GOES HERE

would this work?
Title: Re: Reviews, Recommended, Etc
Post by: liquid.ideas on March 31, 2013, 21:23:48 PM
Im thinking there must be something like this: <?php echo $this->product->product_packaging ?> but for reviews?