The AffiliateReferralsViewModel makes it possible to display the history of referrals for a specific affiliate over a period of time. 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 AffiliateReferralsViewModel object will contain all of the details for the referral history of a specific affiliate in your Hotcakes Commerce store.


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

Member Type Description
Referrals ReferalViewModel

List of referrals for the specific affiliate which are shown on affiliate dashboard

TotalAmount String Total revenue of all referrals for the affiliate
TotalCount Int Number of referrals for the affiliate


Have more questions? Submit a request

Need More Help?

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