Page 1 of 1

Product Layout

Posted: Thu Nov 05, 2015 5:45 am
by sytra
Hi,

I am trying to move the description tab (or tabs if easier) from below the image to alongside it in OC 2.0.3.1, I managed to do it in the old 1.5 but can't seem to find out what I need to edit in the new cart, I have looked at the product.tpl and have searched the forums but can't find a proper answer.

Anyone have any ideas how / if it can be done?

TIA

Re: Product Layout

Posted: Thu Nov 05, 2015 6:10 am
by gogoweb
Hi,
on a default OpenCart 2.0.3.1 installation you should be able to find this:

Code: Select all

<?php echo $description; ?>
here

Code: Select all

catalog/view/theme/default/template/product/product.tpl
on line 48.
This is what you might be looking for.

Re: Product Layout

Posted: Fri Nov 06, 2015 12:54 am
by sytra
Thank you Gogoweb that was what I was looking for, however plans have changed slightly and I am now trying to get the layout to look like the image below, can it be done? in 1.5 I took the whole tab div and put it where I wanted it but if I try and move the <div class="tab-content"> in 2.0.3.1 nothing seems to happen!
plan.png

plan.png (23.8 KiB) Viewed 441 times