Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add A Category & Products Attributes (name) To The Page Header


ronig

Recommended Posts

Posted

hi all,

 

when selecting the categories top level selection page as well as when sub-category is selected the oscommerce is displaying at the header the same text message "category" followed with the specific category's image that was inserted when the category were added and defined by the admin.

 

Similarly when a category is selected for selcting the products the header changed to "Let's see what we have in here" (same for all categories/products pages) and is displayed together with the selected category image.

 

At the line above the said messages (in small white over light blue) the tree where we are is displayed, for example:

 

1. When the "Let's see what we have in here" header is displayed the route is:

...Top » Catalog » Main Category» Red Category » Red Line

 

I like add the "Red Line" variable to the header:

a. to change the header to: "Let's see what we have in" (changing the header is simple, as there is no variable in it)

b. to add the "Red Line" (the sub-category name) to the text along with the header, so the header will be read like:

"Let's see what we have in Red Line"

 

2. When a category is selected, the text "Category" in the header and the route is:

...Top » Catalog » Main Category» Red Category

 

Similarly, I wish add to the header the variable "Red Category" and to change teh current text from

"Category" to "Category:"

the new header will be read as: Category: Red Category

 

appreciate if someone can explain me how to add the variables to the headers and at what php file.

 

thank you all, roni

Archived

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

×
×
  • Create New...