I'm working on an extension module for the e-commerce that will be inside the 'product details' page, so I need to know the current product ID to use in my custom data actions....
I couldn't find any example showing how to get the current product, I also tried to find an example in the 'core modules', but no success... I only could find examples using 'inputData.config.productIds', where you need to set up the product ID in the configuration of the module (or in the mock files when testing).
Can you guys help me with that? Probably it's something very simple/stupid, but I'm struggling a lot.
Thanks!