function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to display warning/alert message on navigating to Add Product page by clicking “Add Product” button in the related list from opportunity detail page

paul diracpaul dirac
You have to override the Add Product button that needs a custom visualforce page to diplay the message.
You can follow this guide to implement it since is a bit difficult unlike other buttons override: