Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Put new field in products_description- HOW to make visible?


Gata

Recommended Posts

Hello,

 

I want to insert a new field in product_description and have that field show up on the product listing page. It would be an extra field to go along with "product name" , "price", etc.

 

I know how to insert it into the mysql db- but which files do I edit in order to make it visible in a list of products for a category? I am seriously stuck here!

Link to comment
Share on other sites

You'll have to add the field to the query so the value is available in the page. Then add some PHP/HTML code.

 

One way to do this: look for similar information that's already displayed. Let's us products_model, for example. Then look for all occurences of products_model in default.php (or whatever page), duplicate the field and change it accordingly.

 

This is a bit on the complex side.

Christian Lescuyer

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...