Jump to content

[solved] Get Product ID from PHP


Juanu

Recommended Posts

Hi!

I´m currently developing a module for the products page.

I need to get the current page's product URL, but I need to get the same whether it's using friendly URLs or not. (Eg: http://www.harkdev.c...troller=product)

 

I need to do this from PHP, not smarty. The thing is, I don´t know which public method or variable or tool exists, inside of Module to get the current page's product ID.

 

I Appreciate your help!

 

Cheers!

 

Juan

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...