Add link to all Confluent Customer Affiliation on myaccount section

Requirement   

We need to display a link if the customer record contains one for those customer categories.  

Deliverables

We can add the link for those customers who have Customer Affiliation” set to “Confluent”. 

We can give the link in the configuration record so we can change if required from the configuration record. 

Assumption 

We assume that one link needs to be added for all those customers. 

We assume that those customers having the access to the webstore. 

Alternative solution

To include more customer affiliations, we can reuse the existing custom record. We will create a new field called ‘Link’ in the existing customer category (customer affiliation). The new field type will be a hyperlink. Therefore, we need to update the link in that field. If a customer has a ‘customer category’ (customer affiliation) field and that field contains a link, we can display that link on the website. 

 

For example, if we added a link for Confluent  

 

If a customer’s customer category (customer affiliation) is ‘confluent,’ then we will display the corresponding link that is provided in the custom record. 

So, we can add links for any number of customer affiliations and display them on the website. Since we are using the custom record to save the links, we need to do a search in our code which may cause some speed delays on the website. 

Leave a comment

Your email address will not be published. Required fields are marked *