composer require 'webanyone/mautic-ecommerce-bundle:*'
Open the plugin page, and you must saw 2 plugins, prestashop & woocommerce
Enabled
TODO: How to create a token in prestashop ?
Enabled
TODO: How to create a token in woocommerce ?
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
TODO: list & explain each of the filter choice provided
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}
{transaction:date}
{transaction:price}
{transaction:nb_products}
{product:name}
{product:unit_price}
{product:quantity}