Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wrong titles


ulefos

Recommended Posts

Hello

This is the problem..... i have a whats new box with a picture of the product and a small button to click for more information

 

1. When i click the picture it is fine opens product page

2. when i click the small button it opens a product page, but the titles are wrong, in the top left corner there is NAVBAR_TITLE and in the infomation box the Title is HEADING_TITLE

Link to site

All Paws Together

Link to comment
Share on other sites

It took a while to actually see the problem :) but finally got it.

 

You need to check products_new.php file

Following line is responsible to get proper value and if someone has modified code and as shown in code below if tep_herf_link variable is incorrect / replaced by a constant, obviously it will not pick up the value properly.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRODUCTS_NEW));

 

I am sure if you fix NAVBAR, Heading title would get resolved as well.

 

Thx

-------------

Best Regards,
Gaurav

Link to comment
Share on other sites

require('includes/application_top.php');

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCTS_NEW);

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRODUCTS_NEW));

?>

 

Hope this is what you mean

Link to comment
Share on other sites

OK, so far this is right,

next place to look for is

Catalog/includes/languages/english and check file named products_new.php

 

define('NAVBAR_TITLE', 'New Products');
define('HEADING_TITLE', 'New Products');

define('TEXT_DATE_ADDED', 'Date Added:');
define('TEXT_MANUFACTURER', 'Manufacturer:');
define('TEXT_PRICE', 'Price:');

 

 

What do you have on your site? please check this bit now...

 

 

Thx,

Best Regards,
Gaurav

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...