I'm currently working on a migration to Lightning where we have some Visualforce pages, specially in Opportunity.
We are currently facing an issue when trying to open the standard Add Products or Edit Products page, since this are Visualforce pages we haven't been able to open the Lightning Modal to edit the products as this one.
That modal is from the standard lightning page, we've tried opening the add products with
Those two open the classic page to add or edit products
The issue is when trying to save or cancel it goes to a blank page with this error in the console.
In the OpportunityLineItem buttons and actions, I saw there is a Standard action called MultiAdd which is the one that opens the lightning modal, but tried this code and doesn't work:
Anybody has a workaround for this? Is this a bug in the platform or is there a configuration missing or something?
[RetURL=URLFOR($Action.Opportunity.View,Opportunity.Id)]- see related question (albeit Apex)