Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I get the Model Number on the same line as Model??

How do I get the Model Number on the same line as Model??

Views: 1,169

Results 1 to 7 of 7
23 Jul 2014, 9:12 AM
#1
mandymac avatar

mandymac

New Zenner

Join Date:
Oct 2011
Posts:
10
Plugin Contributions:
0

How do I get the Model Number on the same line as Model??

Hi... First off, please let me say, I LOVE THIS SITE!! I have managed to do everything I have needed to, by browsing the posts... and learnt an awful lot about Zen Cart in the process!

But, I have hit a brick wall with this one :frusty:... how do I get the Model Number on the same line as Model? At the moment it is sitting directly underneath it. Also how do I remove the brackets from the model number??

Thanks!

23 Jul 2014, 10:36 AM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,083
Plugin Contributions:
56

Re: How do I get the Model Number on the same line as Model??

You could start by giving us a link to the page in question; it's much easier to help with styling if we can see the page in question!

24 Jul 2014, 11:05 AM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,083
Plugin Contributions:
56

Re: How do I get the Model Number on the same line as Model??

Your best bet is to modify your tpl_product_info_display.php file, which is introducing the line-break:

<li>
SKU:
<br />
<span class="smallText">[3A2052NVY]</span>
25 Jul 2014, 3:34 AM
#5
mandymac avatar

mandymac

New Zenner

Join Date:
Oct 2011
Posts:
10
Plugin Contributions:
0

Re: How do I get the Model Number on the same line as Model??

Thanks Lat9 for responding...

I have gone through tpl_product_info_display.php but I am still having trouble finding the br code...

I can find it when I inspect the element, but cant find it in any files that I think it may be in. Is the information that comes up with the inspector all in the one file?

28 Jul 2014, 3:08 AM
#6
mandymac avatar

mandymac

New Zenner

Join Date:
Oct 2011
Posts:
10
Plugin Contributions:
0

Re: How do I get the Model Number on the same line as Model??

Its fixed! Yay!! phew... :-)

I used the Developers Tool Kit and that directed me to the product_reviews/header_php.php file and I removed the <br/> there... still working on the [ ] brackets, but that is not so big of a deal! I can live with those!

Thanks to lat9 and stevesh for your help! :-)

28 Jul 2014, 3:27 AM
#7
mandymac avatar

mandymac

New Zenner

Join Date:
Oct 2011
Posts:
10
Plugin Contributions:
0

Re: How do I get the Model Number on the same line as Model??

Fixed the bracket issue too!

/modules/pages/product_reviews/header_php.php

and removed the outer brackets:

[' . $product_info->fields['products_model'] . ']

Very happy to have this sorted!