In my Magento 2.1.8 installation, I have few special categories like recommended-by-site-owner AND prices-soon-to-increase. I add few products to these categories on my site every week and remove few others.
I need to track in my orders which product was added to cart from each of these categories or was it added outside of these categories.
If a customer adds a product let's say 'iPhone Darth Vader' casing to a single cart from each of these categories and a third addition from outside of these two special categories. I need to track each category's share in the cart item's quantity.
Can anyone suggest a solution a close-to-requirement extension that I can purchase and customize further.
I also need to track the category if a customer goes to the product detail page from the category page and then adds the product to cart.
I also have a mobile app that is built some another team. I need to provide an API for them as well for this functionality.