Forums / Templates, Stylesheets, Page Layout / Product Description/Info page: can I move price right below model without space?

Product Description/Info page: can I move price right below model without space?

Views: 1,554

Results 1 to 7 of 7
24 Jun 2012, 9:41 PM
#1
scott_ease avatar

scott_ease

New Zenner

Join Date:
Jun 2012
Posts:
68
Plugin Contributions:
2

Product Description/Info page: can I move price right below model without space?

My appreciation to this community. I found much help from other people's post.
I made some change to classic template 'tpl_product_info_display.php' and 'stylesheet.css' and reached current point. On product info page (http://angelcorp.net/zencart/index.php?main_page=product_info&cPath=1_4&products_id=1), price didn't align up with or without following entries:
#productDetailsList {
float: right;
width: 55%;
margin: 0em 0em 0em 0em;
}
#productPrices {
float: right;
width: 50%;
vertical-align: top;
}
Please help. Thanks.

24 Jun 2012, 10:12 PM
#2
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Product Description/Info page: can I move price right below model without space?

First of all you shouldn't edit the classic template, but create your own custom template, and make that your template.

So before going any further with your customization create your template override.

After that:

In tpl_product_info_display.php

find the piece of code between

<!--bof Product details list -->

and

<!--eof Product details list -->

in there remove
<br class="clearBoth" />

25 Jun 2012, 3:32 AM
#3
scott_ease avatar

scott_ease

New Zenner

Join Date:
Jun 2012
Posts:
68
Plugin Contributions:
2

Re: Product Description/Info page: can I move price right below model without space?

Thank you very much, keneso.
You're absolutely right that I should create my own custom template in the first place. I was lazy at the beginning because I thought (Actually I still somehow think the same way) that I could easily install zen cart on my hosting (godaddy) at a different directory (https://www.angelcorp.net/zencartou).

25 Jun 2012, 9:30 AM
#4
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Product Description/Info page: can I move price right below model without space?

You're welcome.

True you can easily install a new one into another directory, but then you'll have to redo the customization; not to mention the reinstall, isn't that more work at the end?

Anyhow it's your call. ;)

25 Jun 2012, 3:20 PM
#5
scott_ease avatar

scott_ease

New Zenner

Join Date:
Jun 2012
Posts:
68
Plugin Contributions:
2

Re: Product Description/Info page: can I move price right below model without space?

I completely agree.
What I'm going to do is to change name of all my current 'classic' folders to 'angelcorp', also copy a set of original 'classic' folders into this directory, then I'll have my own custom template and original classic template.
Thanks again, keneso.

25 Jun 2012, 4:26 PM
#6
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Product Description/Info page: can I move price right below model without space?

Good thinking.
Don't forget to edit the template_info.php in the classic folder of which you change name to angelcorp for the name of the template.

And you're welcome.