I’ve seen a few similar questions here when i searched but they all pertain to magento 1.
This seems identical do what i want to do..
Redirect “Continue Shopping” Button to the Current Product Category it was added from?
I see their using the Mage class which is now the object manager but is obv. frowned upon to use in magento 2. Any help would be greatly appreciated.