The AffiliateUrlBuilderViewModel is used to help render the view used to allow affiliates generate referral URL's to refer new customers to the store. This article will help you understand what's available to you in the view model.


The following pre-requisites will be necessary to accomplish the goals of this article:

  • General understanding of template engines
  • Understanding HTML, CSS, JavaScript
  • Familiarity with template languages
  • Familiarity with ASP.NET MVC Razor

Getting Started

There are no tasks needed to get started with understanding this object. 


The AffiliateUrlBuilderViewModel object will contain all of the details to render the affiliate referral generator view in your Hotcakes Commerce store.


The following table gives you details on the various members of the AffiliateUrlBuilderViewModel object.  The descriptions are based upon default functionality and the default Viewset included with Hotcakes.

Member Type Description
AffiliateId String

Unique identifier of affiliate

Categories List<ListItem> List of categories, used to generate the URL dynamically based on the categories.
RegistrationUrl String Registration URL which is set globally for the affiliate registration view in Hotcakes, received from the URL rule table.


Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.