I have a Detail page button on the contact object on click of which I need to do some processing for which I need the Opportunity details. But when I access the merge fields on Opportunity, I get blank values.
Is there a way to fetch the Opportunity details from Contact on click of a custom page button?