Jump to content

Access to current category ID in module


Recommended Posts

Hi, can someone help how to access current category ID on product page from module hooks ProductTab and ProductTabContent?

 

I already tried this:

- access info about category ID from $params in the hooks (no info)

- access info about category ID ifrom $_GET variables (no info)

- access info from context object (there is only protected info about category with no access)

- no info about category ID in cookie object (info only about last visited category id, which I don't need)

 

Any help?

 

Prestashop 1.5.3

Edited by Daniel Medo (see edit history)
Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...