VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: D-Com on June 03, 2015, 11:56:14 AM

Title: How can i move related products after description tab?
Post by: D-Com on June 03, 2015, 11:56:14 AM
Hi everyone,

I would like to move related products "box" the bottom of product detail page.
Now this div between "row-fluid" and description tab.
http://www.akciohazhozmegy.hu/termekeink/biztonsagtechnika/riasztok-riasztorendszerek/vezetek-nelkuli-gsm-riaszto-rendszer-telepitessel

Any issue?

Thanks,
D-Com
Title: Re: How can i move related products after description tab?
Post by: jenkinhill on June 03, 2015, 12:00:26 PM
http://forum.virtuemart.net/index.php?topic=128401.0
Title: Re: How can i move related products after description tab?
Post by: D-Com on June 03, 2015, 14:09:42 PM
Apologise...

Joomla 2.5.11
PHP Version 5.4.36-0+deb7u3
Non-sef url: index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=45&virtuemart_product_id=217

Thanks,
D-Com
Title: Re: How can i move related products after description tab?
Post by: jenkinhill on June 03, 2015, 15:06:57 PM
Well that Joomla version is old and insecure, so should be updated. But what is the VirtueMart version? There are template differences between versions.

For security info see http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: How can i move related products after description tab?
Post by: D-Com on June 03, 2015, 15:10:06 PM
My Virtuemart version is 2.0.20b.
Title: Re: How can i move related products after description tab?
Post by: jenkinhill on June 03, 2015, 15:42:12 PM
Sorry but that VM version is over 2 years old, and I don't have any test sites with anything older than 2.6.17 which has a different template structure. As you are using template overrides you should locate the file at templates/os_watches_shop_august_2013/html/com_virtuemart/productdetails/default.php and edit that to move the <div class="product-related-products"> code block below the description code block.

That VM version is seriously insecure and should not be used for a live site. See the link about security I mentioned earlier. However your template will possibly break if you update, so test on a backup copy of the site.  You may need to contact your Joomla template developer for an update.
Title: Re: How can i move related products after description tab?
Post by: D-Com on June 06, 2015, 18:47:37 PM
Thanks your reply!