Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with new products table heading.


Guest

Recommended Posts

Posted

Hello

I have been trying for days to figure out how to correct this problem:

At the top of the new products box it say's TABLE_HEADING_NEW_PRODUCTS

 

I have finally found what I think is the correct php file to edit.

(/catalog/includes/modules/new_products.php)

I was able to change the layout of the box, such as the number of columns displayed.

I still can't correct the text in the TABLE_HEADING.

 

I altered the TABLE_HEADING_NEW_PRODUCTS text on this line:

 

$info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')));

 

from the (/catalog/includes/modules/new_products.php) file.

 

When I did this I got a parse error and the whole box disappeared! I did save the original file and reloaded it. My new products box is back but still has the same problem.

 

I also have a similar problem on the products page that is opened when you choose a catagory from the left hand catagores box. The product and descrition is displayed but the box heading shows this:

 

TABLE_HEADING_MODEL TABLE_HEADING_MANUFACTURER TABLE_HEADING_IMAGE TABLE_HEADING_PRODUCTS+ TABLE_HEADING_PRICE TABLE_HEADING_BUY_NOW

 

It stretches the box considerably becase it s written in one line.

I posted a topic about this problem earlier today in the general support forum and the response I got said:

 

Replace your /includes/languages/english(or your language)/index.php file

 

You cannot just totally delete language defines.

 

Could someone please explain what they mean by,

 

Replace your /includes/languages/english(or your language)/index.php file.

 

What do I replace it with?

Can't I just edit some text somewhere?

I tried to edit the headers from these file but you cannot.

 

I'm so frustrated I'm going to cry :'(

Can someone please help?

 

Thanks Again

I-Wonder

  • 2 weeks later...
Posted

It appears to me that you have an old version of catalog/includes/languages/english/index.php in an updated shop. If you replace that with the current file you should be good to go. It worked for me.

 

Hello

I have been trying for days to figure out how to correct this problem:

At the top of the new products box it say's TABLE_HEADING_NEW_PRODUCTS

 

I have finally found what I think is the correct php file to edit.

(/catalog/includes/modules/new_products.php)

I was able to change the layout of the box, such as the number of columns displayed.

I still can't correct the text in the TABLE_HEADING.

 

I altered the TABLE_HEADING_NEW_PRODUCTS text on this line:

 

$info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')));

 

from the (/catalog/includes/modules/new_products.php) file.

 

When I did this I got a parse error and the whole box disappeared! I did save the original file and reloaded it. My new products box is back but still has the same problem.

 

I also have a similar problem on the products page that is opened when you choose a catagory from the left hand catagores box. The product and descrition is displayed but the box heading shows this:

 

TABLE_HEADING_MODEL TABLE_HEADING_MANUFACTURER TABLE_HEADING_IMAGE TABLE_HEADING_PRODUCTS+ TABLE_HEADING_PRICE TABLE_HEADING_BUY_NOW

 

It stretches the box considerably becase it s written in one line.

I posted a topic about this problem earlier today in the general support forum and the response I got said:

 

Replace your /includes/languages/english(or your language)/index.php file

 

You cannot just totally delete language defines.

 

Could someone please explain what they mean by,

 

Replace your /includes/languages/english(or your language)/index.php file.

 

What do I replace it with?

Can't I just edit some text somewhere?

I tried to edit the headers from these file but you cannot.

 

I'm so frustrated I'm going to cry :'(

Can someone please help?

 

Thanks Again

I-Wonder

Archived

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

×
×
  • Create New...