nopCommerce TerritoryCountry Affiliate(Dealer) plugin

The standard NopCommerce functionality is: Once a customer is assigned an affiliate ID, every order placed also tagged with that ID. The TerritoryCountry Affiliate (Dealer) plugin changes standard functionality and tagged every order with Affiliate ID which the system finds in the Affiliates table based on Shipping Address TerrytoryCountry info of a customer.

Call for pricing

nopCommerce Version: 3.0, 3.1, 3.2, 3.3, 3.4

Styled for the Default Clean themes: Yes

Developed according to nopCommerce and Microsoft technology standards and coding guidelines: Yes

Clean HTML and CSS structure for easy customization : Yes

Open to modification public view (.cshtml) files: Yes

SEO optimized: Yes

Fully localizable and can be used in any language: Yes

Tested with browsers: FF, Chrome, Opera, Safary, IE9+

*
*

If you want to sell your work based on this source code please buy this plugin with the Extended License. Details>>

We do the installation on your website

This plugin adds next features to the nopCommece

Add Affiliate Name and TerritoryCountry in Affiliate Overview Page

Add Affiliate info in the Customer Overview page

Add Affiliate info in the Order Overview page

Assign Affiliate to Customer

The first address created by the Customer is considering being the Billing Address of the customer

Once the first address is entered:

- Either directly in Account Addresses

- Either during the checkout process

 

Once the Billing Address is confirmed, Based on the Country of the Billing Address, the system looks in the tbl. Affiliates and see if there is an affiliate with the same TerritoryCountry:

- If so, this then this Affiliate.Id will be set as Customer.AffiliateId

- If not, Customer.AffiliateId will be set to 1

Assign Affiliate to Order

The standard NopCommerce functionality is: Once a customer is assigned an affiliate ID, every order they place is also tagged with that ID. This standard functionality changes to the following logic:

During the checkout processes, once the Shipping Address is confirmed, based on the Country of the Shipping Address, the system will look in the tbl. Affiliates and see if there is an affiliate with the same TerritoryCountry:

- If so, this then this Affiliate.Id will be set as Customer.AffiliateId

- If not, Customer.AffiliateId will be set

 

Allow one address to be used as a Billing Address during the checkout process

When the customer has more than one address, during the checkout process, in the Billing Address step, only the first address is shown so that the customer can select only this address. The link “Change Address” navigates the customer to My Account>Addresses, so that he can change the address details if needed.

Show Affiliate Info in the Header of authenticated customer

Show Affiliate Info in a separate info page in the section “My Account”

Note in this page the Customer cannot change his affiliate.

The Affiliate of a Customer will be changed when changing the country of the first address of the Customer (via My Account>Addresses) following the same logic described above in the section Assign Affiliate to Customer

Show only assigned Customers and Orders for the role “Dealers”

When a customer has this role, and he logs in, and visits the Customer or Order overview pages, he can see only the Customers and Orders that are assigned to him.

So when a customer logs in and he has the role “Dealers”, the system will check which is his affiliateId (Customer.AffiliateId) and in the page Customer and Order overview pages, the search comboboxes are prefilled with this affiliate and disabled so that only customers and orders from this affiliate are shown in the search results.

Show Affiliate on Order Confirmation(same on Order History)

Add Affiliate to Order mail templates

Add Order.Comments and Order.Affiliate.Name, Order.Affiliate.TerritoryCountry.Name and Order.Affiliate.Address to all order related mail templates (OrderPlaced.CustomerNotification, OrderCompleted.CustomerNotification, etc)

Product tags

Related products