Skip to Content
0
Former Member
Sep 17, 2014 at 06:56 PM

Find current page type and which products are on the page?

212 Views

Within an Add-On (extension), how do I programmatically ascertain the current page type (product page, category page, cart etc.) and find out which products (IDs) are displayed on the current page?

I see a PageType enum in the Javadoc but I don't know which API to use to get at it.

Thanks...