Hướng dẫn cấu hình Commerce MailChimp.module trong Drupal

Hướng dẫn cấu hình Commerce MailChimp.module trong Drupal

This is a tutorial on how to configure the basics of Drupal Commerce MailChimp module.
You need to properly configure your Drupal MailChimp module first. If you haven’t done so yet have a look at this tutorial on how to make MailChimp module work with Drupal. You'll also need a working Drupal Commerce installation. I can recommend the Commerce Kickstart distribution if you're starting from scratch.  

Download & Enable the essentials

first download these modules
http://drupal.org/project/addressfield_tokens
http://drupal.org/project/commerce_mailchimp

and enable the Commerce MailChimp module:

Enabling Commerce MailChimp module

Configure Commerce MailChimp module

Now go to example.com/admin/commerce/config/mailchimp. It will show you a settings screen that will look much like this:

Commerce MailChimp module API settings screen

Enter a store ID - you can make one up yourself. Make sure you don’t use the same ID in two different Drupal Commerce shops.
Enter a store name, and basically you’re done once you save the configuration.

Product Category

The product category allows you to send Drupal Taxonomy data to MailChimp. This allows you to segment a list based on product category. Only Taxonomy fields that are added to the product Entity are listed here. It does not list the Taxonomy fields listed on the Product Display Entities.
More about category based segmenting of your MailChimp campaigns in my tutorial on how to segment a MailChimp list based on Drupal Commerce eCommerce data.

API Settings

Also take a quick look at the Commerce Mailchimo API Settings. MailChimp recommends the default setting of 30 days, but you can adjust it to your needs.

Cookie settings for Commerce MailChimp module

Events for updating eCommerce data

By default Commerce MailChimp module will send order data from Drupal Commerce to MailChimp at the point of purchase.
It will also contain Rules that will update that order data at MailChimp if you alter or cancel a Drupal Commerce order.

You may also want to think about other events when your shop requires to update the eCommerce data that is attached to the MailChimp list subscriber. Making sure the Rules are setup correctly for your usecase is a very important step.

Rules module integration

Commerce MailChimp module has Rules support and adds two MailChimp Rule actions:
- Delete order data from mailchimp
- Send order data to mailchimp and subscription users to lists
They are added to the category ‘MailChimp’ in the actions dropdown.

Commerce MailChimp module Rule actions

Default Rules

There are default Rules included with Commerce Mailchimp Module

  • Subscribe user to mailchimp lists of an order on checkout completion
  • Update Ecommerce Order Information to MailChimp on checkout completion
  • Upcoming: Update Ecommerce Order Information from MailChimp on order update
  • Delete Ecommerce Order Information from MailChimp on order cancellation

Additional tricks

Uniquely naming Drupal Commerce products

The name of your Drupal Commerce products will appear as product name in your MailChimp account. Make sure to give them the names you’d like to segment on from within the MailChimp account.  If you don’t give your products unique names from which you can identify them from, chances are your MailChimp eCommerce data will become a mess. In that case segmenting will be tough, if not impossible - so name your Drupal Commerce products wisely.
If you’re using Commerce Kickstart, have a look at this guide on how to rename Drupal Commerce products in Commerce Kickstart.

Related Drupal Commerce MailChimp articles

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy Tran owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy
  • Phone/Zalo: (+84) 944 225 212
  • WhatsApp: (+84) 944 225 212
  • Line Messenger: (+84) 944 225 212
  • Email: asaleotestf@gmail.com
  • Telegram Messenger: https:/t.me/tommytran0401

Quảng cáo việc làm

 

Thích hợp các bạn nữ mảng thợ may làm việc tại nước NGA

Đơn hàng Tuyển dụng 100 Thợ may đi Nga(đợt 1 tháng 3.2021, đợt 2 tháng 5.2021). Lương thực lãnh 800 USD, bao ăn ở, vé máy bay và visa, phí xuất cảnh(1800 USD)trả khi đi làm có lương. Bạn có thể liên hệ CÔNG TY qua Phone/Zalo: (+84) 944 225 212. Công ty sẽ tư vấn cho bạn.

Xem chi tiết: >>> https://bit.ly/3o9NOfR

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Giới thiệu bạn đọc Drupal 8  và Composer

Giới thiệu bạn đọc Drupal 8 và Composer

You will also notice in composer.json under the “require” section is where drupal/token and drupal/devel are added

Hướng dẫn cài đặt x-unikey trên ubuntu

Bộ gõ Xvnkb thường mắc lỗi lúc khởi động, hoặc khi muốn gỡ ra thì nó cũng gây những vấn đề phiền toái.

Mỗi nhân viên của Apple đem lại bao nhiêu tiền cho công ty?

Mỗi nhân viên của Apple đem lại bao nhiêu tiền cho công ty?

Apple Store mới đặt tại nhà ga trung tâm New York được thiết kế để trưng bày những sản phẩm tốt nhất của hãng.