MarkoSiroki:
Dear Sirs and Madams!
On my intro page in zen cart webshop, I have category browser in left sidebox (all default positions, etc, ...). Now, let's say user clicks on some category. How do I get Id of clicked category using php?
Sincerely,
Marko
PHP is a serverside process which has no 'awareness' of what the client is doing.
The best you can do is check the cPath variable that is posted back to the server when the link has been clicked.
Exactly what are you hoping/planning to do?
Cheers
Rod
NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.