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
- Familiarity with template languages
- Familiarity with ASP.NET MVC Razor
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.
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.|