B2B Commerce – Creating Custom component

Share on facebook
Share on twitter
Share on linkedin

Custom components can be used to add some additional functionalities like collecting the data from end user or displaying customized information in our store front in B2B. These components can be included in the Custom Navigation Widget to the existing standard components by appending this to a specific page or to the header and the footer sections. 

There are some limitations with including these custom components. It cannot be used in the store front menu, and we cannot control display order with the custom components. It will be only placed after the standard component. 

Component order placement can be overridden by overriding the standard page. 

Including the component into specific page in the store front 

Here, we will see how to include the component to the product detail page as a new section 

Step 1: Create a Visual force page with your custom functionalities 

Step 2: Go to CC Admin Tab 

Step 3: Click on Default Store 

Step 4: Click on Configuration Settings 

Step 5: Click the New button 

Step 6: Create a new module to enable the custom functionality 

  1. Module Name 
  1. Configuration Type 
  1. Name of the B2B Page 
  1. Module Status 

Step 7: Create a new module for the created visual force page. 

  1. Module Name 
  1. Configuration Type 
  1. Name of the B2B Page 
  1. Custom VF page name which we created by copying the source code. 

Note: Only one module with the same type can be placed in the same page. 

Step 8: Go to CC Admin Tab and click on Configuration Cache Management. To see the modified content on the Product Detail Page, create a New Build.  

Step 9: Give a name to the new Build and Activate it. Your changes should be reflected now in the Store Front. 

About MST

At MST Solutions our cornerstone is to adapt, engage and create solutions which guarantee the success of our clients. The talent of our team and experiences in varied business verticals gives us an advantage over other competitors.

Recent Articles

Work with us.

Our people aren’t just employees, they are key to the success of our business. We recognize the strengths of each individual and allow them time and resources to further develop those skills, crafting a culture of leaders who are passionate about where they are going within our organization.