I have a product detail page. On this page there will be the option to add widgets, which the admin can add. I have a widget which has a related product, how can I share my current product with this widget? Even a ID enough.
Isn't this the easiest if you store the id of your product in the session? That way you can share it.
Hmm I don't like the idea of storing in the session.
Now I get the parameter from the url and load the product again.