Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change location of product number


makza

Recommended Posts

Posted

I wanted to know how to change the location of the product number. I do not want it under the Product name because I am using a background image for the header and it causes it to double.

(see example)

Ie.

 

head2.gif

 

to

 

head1.gif

 

In other words I want to change the layout " $products_name; " var.

 

Thanks for your help

 

Makza

Posted

This should do it. In product_info.php around line 115 change

 

if (tep_not_null($product_info['products_model'])) {
     $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';

 

to

 

if (tep_not_null($product_info['products_model'])) {
     $products_name = $product_info['products_name'] . '<span class="smallText">[' . $product_info['products_model'] . ']</span>';

 

All you have to do is remove the

<BR>

and it will move the model up. Also you will probably want to add spaces and probably also remove the SPAN. Good to go. :D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...