Overview
The AffiliateDashboardViewModel is pretty much what it sounds like. When you're using the affiliate program features, this is the model used when displaying the dashboard view to individual affiliates. This article will help you understand what's available to you in the view model.
Requirements
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.
AffiliateDashboardViewModel
The AffiliateDashboardViewModel object will contain all of the details for rendering a dashboard view to individual affiliates in your Hotcakes Commerce store.
Members
The following table gives you details on the various members of the AffiliateDashboardViewModel object. The descriptions are based upon default functionality and the default Viewset included with Hotcakes.
Member | Type | Description |
Affiliate | AffiliateViewModel |
Affiliate Information which needs to be displayed on dashboard |
Orders | AffiliateOrdersViewModel | Order information for the Affiliate which needs to be displayed on dashboard |
Payments | AffiliatePaymentsViewModel | Payment information for the Affiliate which needs to be displayed on dashboard |
Referrals | AffiliateReferralsViewModel | Referrals information for the Affiliate which needs to be displayed on dashboard |
UrlBuilder | UrlBuilderViewModel | Used to help affiliates generate, view, and track URL's they use to refer traffic to the store. |
Need More Help?
Do you need more assistance with this article? Please review your support options.