Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I determine the product ID?


newbieman

Recommended Posts

Hello folks,

 

Hopefully this has a simple answer.

 

I am making custom pages and have made a custom "buy now" button. This works very well except I am now having trouble determining the actual product ID.

 

<a href="http://www.sitename.com/index.php?cPath=5&action=buy_now&products_id=83"><img src="/templates/Original/images/buttons/english/button_in_cart.gif" border="0" width="80" height="22" /></a>

 

After a 100 or so changes ago, all I have to do was hover the mouse pointer over the "add to cart" button in the product listing and I could see the "product ID" listed on the footer of the browser. I no longer see this for some reason.

 

Is there another way to determine product ID without going into the MySQL database?

 

Also, in a similar vain, I would also like to retrieve the product's price from the database. How can this be accomplished?

 

Thank you.

Link to comment
Share on other sites

The best way to do this is through PHPMyAdmin. There is an export feature so you can get your products table into excel for easier reading.

Link to comment
Share on other sites

The best way to do this is through PHPMyAdmin. There is an export feature so you can get your products table into excel for easier reading.

 

Thank you but... :-) I already know that part.

 

The problem is that PHPMyAdmin is a dangerous place to send a store admin (who is mostly non-computer literate).

 

I was hoping I could find the Product ID's from the Admin panel. Perhaps the Admin could be modified to display the ID's.

 

Best regards,

Shawn

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...