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

Opportunity Line Item - Customize page


I am looking to customize the opportunity line item page and I was wondering what's the best solution to achieve this?

Depending on the product selected on the Add Products popup page, I want to be able to show different fields in the Edit Selected Products page based on the Product Family the product belongs to.

I did create a lookup field to the custom object from Opportunity Product, but it isn't ideal, as the custom object doesn't apply for all the products.

Do I need to create a visulaforce page to replace the "Next" button or what's the best solution? I am not very familiar with creating VF pages, unfortunately.

Raj VakatiRaj Vakati
In this case, you need to build the custom visualforce page
Hi Raj,

Thanks for coming back to me.

I thought that might be the case. I need to figure out how to build the Visualforce page, so that the button next takes me straight to the visualforce page I will create and dinamically show me field based on the Product Family.

I will come back if I have any questions.