1. Home
  2. Abandoned Cart for WooCommerce – Lite
  3. Different Merge codes

Different Merge codes

Recovering abandoned carts has become a very common practice for online business owners in order to increase their total business revenue. For this, they have realized a need to introduce abandoned cart reminder emails in their marketing strategy. Abandoned Cart Lite for WooCommerce plugin provides a basic but yet effective solution for cart abandonment.

The abandoned cart reminder emails have to be designed accurately and provide persuasive content to encourage lost shoppers to return to the cart and complete their transactions.

What are Merge Codes?

Merge codes are user-specific information that is used in email templates to insert personalized information when sending an email. Each merge code represents a piece of information that will be retrieved from your database and merged into the template when you send cart reminder emails.

A typical merge code for Customer Full Name would look like {{customer.fullname}} etc. which when added in the reminder email would fetch the full name of the customer and replace it in place of the merge code.

How are Merge Codes used?

The details of the default email template in our earlier post already showed the usage of merge codes. There are 7 merge codes available in this free version whereas our pro version provides 22 merge codes to play with.

These merge codes are available as a part of email body content options.

Go to WooCommerce > Abandoned Carts > Email Templates > Edit button of your Email Template 

Different Merge codes - Tyche Softwares Documentation

These are listed under AC button dropdown and displayed on the right end of all the options as shown below:

Different Merge codes - Tyche Softwares Documentation

Merge codes displayed

The above is a list of merge-codes that can be used for specific items.

1. Customer First Name {{customer.firstname}} – This will replace the customer’s first name in place of the merge code.

2. Customer Last Name {{customer.lastname}} – Similarly this will replace customer’s last name in place of the merge code.

3. Customer Full Name {{customer.fullname}} – This will display customer’s full name in place of the merge code.

4. Product Information/Cart Content {{products.cart}} – This merge code will fetch all the product or cart details from the database and display that.

Example: This is how cart details will be displayed in place of this merge code.

Different Merge codes - Tyche Softwares Documentation

5. Cart Link {{cart.link}} – This will display a link to the respective cart that was abandoned by the customer.

6. Date when Cart was abandoned {{cart.abandoned_date}} – The place where this merge code is used will display the abandoned cart date and time fetched from the database.

7. Unsubscribe Link {{cart.unsubscribe}} – This is a link that allows the customer to stop receiving abandoned cart reminder emails when the clicks it.

8. Coupon Code {{coupon.code}} – This link displays the coupon code that the customer can use for their purchase.

Example of usage

Let us understand the usage of merge codes via an example.

A customer named Tanisha Mehra added the product Art worth $160 but never purchased the items. Hence the cart was abandoned on September 4th, 2023 at 10.29 a.m.

Now this cart has been saved as an abandoned cart and hence the recovery mechanism is applied to it.

The abandoned cart reminder email is composed using an email template as shown below:

Different Merge codes - Tyche Softwares Documentation

Email body content

The merge code details are retrieved from the database and merged in the template. The email sent to the customer is displayed below:

Different Merge codes - Tyche Softwares Documentation

Email sent to the customer

Thus, wherever the merge codes were used, actual customer information as well as cart details were replaced.

Such personalized emails with compelling content can make lost customers return to the cart and complete their purchases.

Was this article helpful to you? Yes No

How can we help?