Post by ab-oc » Fri Mar 25, 2016 7:09 am

Hello everybody,

I'm about to code a simple module, which is only to be used on product page.
Here I need to get the product ID (of shown product) into my module to query for my product depending informations.
So how do I get the ID within the module?

Whould be great to get tips and tricks ;)

Thanks

Andreas

New member

Posts

Joined
Tue Apr 29, 2014 11:22 pm

Post by oc-extensions » Sat Apr 02, 2016 8:59 am

Hi,

$this->request->get['product_id'] - will solve your problem

Image | Extensions and Custom Development


User avatar
Active Member

Posts

Joined
Fri Jan 06, 2012 11:31 pm

Post by ab-oc » Sun Apr 03, 2016 4:39 am

Thank you...
Easier as expected :-)

New member

Posts

Joined
Tue Apr 29, 2014 11:22 pm
Who is online

Users browsing this forum: No registered users and 81 guests