Install
nopCampaign works with nopCommerce 4.60, 4.70, 4.80, 4.90 and 5.00. Each nopCommerce version has its own zip, named for the version it fits.
- Download the zip for your nopCommerce version.
- In the nopCommerce admin, go to Configuration > Local plugins and click Upload plugin or theme.
- Choose the zip and upload it.
- Find nopCampaign in the Mail providers group and click Install.
- Restart the application when nopCommerce asks you to.
- Click Configure next to nopCampaign.
License key
Paste your key into the License card on the configure page and click Save license key. The status strip at the top of the page shows whether the key covers this store.
Without a key, nopCampaign syncs your first 50 subscribers and nopCommerce keeps sending its own e-mail.
Subscription keys renew themselves. Each key runs a week past the month you've paid for. In its last 10 days nopCampaign asks nopuniverse.com once a day for the next one, so your store needs outbound HTTPS access to nopuniverse.com. If you cancel, the key runs out at the end of the paid month and nopCampaign goes back to limited mode.
Customer sync
nopCampaign syncs registered customers and guests who sign up through the nopCommerce newsletter box. Rules decide who goes to which Campaign Monitor list. They run every hour, or straight away when you click Sync now.
Connect Campaign Monitor
Enter your Campaign Monitor API key in the Campaign Monitor account card and click Save and refresh lists. nopCampaign reads your clients, lists and transactional e-mails.
When you add a list or a transactional e-mail in Campaign Monitor later, click Save and refresh lists again so it shows up here.
Newsletter subscribers
Guests who sign up to the newsletter have the Guests role. In the Sync rules card, click Add rule, then:
- set Match to Any role and tick Guests
- set Purchase history to Ignore
- choose the Campaign Monitor client and the list to send them to
Registered customers
Rules can split customers up by role and by whether they've ordered before. Say your store has a Gold role and an English role. A rule with Match set to All roles, both roles ticked and Purchase history set to Has at least 1 order sends only gold, English-speaking customers who have ordered to the list you choose.
Add one rule per list. A customer who matches several rules goes to each of those lists.
Customer details
In the Customer details card, tick the fields to send to Campaign Monitor and choose whether addresses come from the customer's billing or shipping address. Click Save customer details.
Transactional e-mails
Campaign Monitor transactional e-mails are templates you design and host in Campaign Monitor. They look right on any device, and you edit them in Campaign Monitor's designer instead of nopCommerce's message templates.
nopCampaign can send one of these in place of a nopCommerce e-mail. This needs a valid license key.
Link an e-mail
In the Transactional e-mails card, pick a nopCommerce e-mail such as OrderPlaced.CustomerNotification, then the Campaign Monitor client and the transactional e-mail to send instead. Click Link.
To go back to nopCommerce's own e-mail, click Unlink.
Use store data in templates
Your Campaign Monitor template needs data from the store, such as the customer's name and the order's shipping address. nopCampaign passes the same tokens nopCommerce uses in its own message templates.
To find them, go to Content management > Message templates in the nopCommerce admin and open the template you're replacing, for example OrderPlaced.CustomerNotification. Its body lists tokens such as %Order.CustomerFullName% and %Order.ShippingAddress1%. In your Campaign Monitor template, wrap each token in square brackets, for example [%Order.CustomerFullName%].