Modular Merchant integration
Modular Merchant is an eCommerce Shopping cart software for every kind of product – shipped goods, digital delivery and subscription services. The integration method uses its built in templates.
You can track order ID, products details, coupon code and customer email.
Order tracking (per sale)
Order tracking (per sale)
It is possible to customize the design of the order confirmation (or “checkout receipt”) page by editing the corresponding template in the Template Package Sandbox, located at Design> Template Package Sandbox. The template that the corresponds to the checkout receipt page is checkout_receipt.tpl, and it may be necessary to first add that template to the current template package, using the Populate tool ( http://kb.modularmerchant.com/populate-templates-a741.php )
When editing the checkout_receipt.tpl file switch to ‘Plain Text Editor‘ and find:
{RECEIPT-ADDRESS-BLOCK-END}
Add this code above that line:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var sale = PostAffTracker.createSale();
sale.setTotalCost('{ORDER-GRAND-TOTAL}');
sale.setOrderID('{ORDER-ID}');
{IF-COUPON-BEGIN}sale.setCoupon('{COUPON-CODE}');{IF-COUPON-END}
sale.setData1('{CUSTOMER-EMAIL}');
PostAffTracker.register();
</script>
Save your changes and that’s it.
Per product integration
If you want to integrate per product commissions, just use this code instead of the one from the first step:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
{RECEIPT-PRODUCT-BLOCK-BEGIN}
var sale = PostAffTracker.createSale();
sale.setTotalCost('{PRODUCT-LINE-PRICE}');
sale.setOrderID('{ORDER-ID}');
sale.setProductID('{PRODUCT-NAME}');
{IF-COUPON-BEGIN}sale.setCoupon('{COUPON-CODE}');{IF-COUPON-END}
sale.setData1('{CUSTOMER-EMAIL}');
PostAffTracker.register();
{RECEIPT-PRODUCT-BLOCK-END}
</script>
That’s it. Now your shop is integrated.
Do not forget to integrate you shop with the click tracking code. You can use template editor as well.
Explore seamless integrations with Post Affiliate Pro to enhance your affiliate marketing strategies. Discover solutions for e-commerce, email marketing, payments, and more, with easy integrations for platforms like 1&1 E-Shop, 2Checkout, Abicart, and many others. Optimize your affiliate network with these powerful tools.