WebAnyOne / MauticEcommerceBundle

GNU General Public License v3.0
11 stars 2 forks source link

Mautic EcommerceBundle

Installation

Configuration

Open the plugin page, and you must saw 2 plugins, prestashop & woocommerce

Prestashop

Enabled

TODO: How to create a token in prestashop ?

WooCommerce

Enabled

TODO: How to create a token in woocommerce ?

Sync

Customer & Product of ecommerce solution are sync using sync engine of Mautic, to retrieve theme add the following cron to your server

bin/console mautic:integrations:sync -f -vvv -- WooCommerce
# or
bin/console mautic:integrations:sync -f -vvv -- Prestashop

Transaction are sync using a different command which must run after

bin/console ecommerce:transaction:import WooCommerce
# or
bin/console ecommerce:transaction:import Prestashop

Segments

TODO: list & explain each of the filter choice provided

Emails

You have access to information about the last transaction made by a lead inside the mails:

{last_transaction}
<ul>
    <li>{transaction:date}</li>
    <li>{transaction:price}</li>
    <li>{transaction:nb_products}</li>
    <li>
        {transaction_products}
            <ul>
                <li>{product:name}</li>
                <li>{product:unit_price}</li>
                <li>{product:quantity}</li>
            </ul>
        {/transaction_products}
    </li>
</ul>
{/last_transaction}

The following tags can be used in the {last_transaction} block:

The following tags can be used in the {transaction_products} block:

Merge tags