Page 1 of 1

Product Page (Catalog)

Posted: Tue Aug 07, 2012 1:17 pm
by fxdesigner
We are using 1.5.3.1

We would like to be able to MOVE the current position of the Product DESCRIPTION (section) on the DEFAULT OC-Theme from its standard location (typically just above the FOOTER Section) to the TOP of the Page, just below the default Page Menu.

Can we do this without making the water too muddy??

Any insight is appreciated (we know we have to toy with the product TPL file) but when we tried, it did move the section, but alas, poor Urich, sometime is amiss for the page style (colors) oddly changed - the issue was not so much moving the section in question, but rather how much of the code should we "take" with us so the page remains intact after the changes.

Thanks,

FX Designer

Re: Product Page (Catalog)

Posted: Tue Aug 07, 2012 1:39 pm
by pprmkr
If you mean the content of tab Description:
Line 230:

Code: Select all

  <div id="tabs" class="htabs"><a href="#tab-description"><?php echo $tab_description; ?></a>
Becomes:

Code: Select all

  <div id="tabs" class="htabs">
Delete line 241:

Code: Select all

  <div id="tab-description" class="tab-content"><?php echo $description; ?></div>
At line 9 insert:

Code: Select all

<div class="description"><?php echo $description; ?></div>
Happy coding ...

Re: Product Page (Catalog)

Posted: Tue Aug 07, 2012 4:47 pm
by mrjave
good day pprmkr,

i tried the following codes and i am having this error:

Code: Select all

Parse error: syntax error, unexpected $end in /home/mydomain/public_html/vqmod/vqcache/vq2-catalog_view_theme_default_template_product_product.tpl on line 538
Can someone assist me to modify the product.tpl to reflect something like this?
http://www.jymgarment.com.sg/image/sample.jpg

basically, is just the layout changes, other processes should remain.

please, anyone?

kind regards,
Jave

Re: Product Page (Catalog)

Posted: Wed Aug 08, 2012 1:04 pm
by pprmkr
Combination of hardcoded changes and vQmod mostly end in tears.

The vQmod searches for explicit content and when you manualy change the content it ends in errors, like you encounter now.

Re: Product Page (Catalog)

Posted: Wed Aug 08, 2012 2:42 pm
by mrjave
good day pprmkr,

explicit and 'essential' content are hard to change given that most of us here are not professional coders.
we dare not touch them in case we screw things up.

O0

kind regards,
Jave