Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Name Categories (Category) em account


rafaelcr

Recommended Posts

How I make so that it appears the name of the category in account_history_info.php?

 

You cannot.

 

Well, you could but not easily as osc does not retain category info past the product info page, after that osc does no longer know what category the product came from. Certainly not in the history info information.

So, unless you want to do some serious coding, let it go.

Treasurer MFC

Link to comment
Share on other sites

But in account_history_info it appears the name of the product. It sees that in the table orders_products has id of the product. Then it would give to create a code that through this id it searched in the table “products_te _categories” id of the category and to apartir of this id to search in “categories_description” the name.

Link to comment
Share on other sites

But in account_history_info it appears the name of the product. It sees that in the table orders_products has id of the product. Then it would give to create a code that through this id it searched in the table “products_te _categories” id of the category and to apartir of this id to search in “categories_description” the name.

 

true with the restriction that you do not have the same product in multiple categories.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...