Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For PrestaShop cart versions 1.6 and higher, first locate the file /controllers/front/OrderConfirmationController.php.

...

Info

Make sure that you replace the XXXXX in the code below with your ShareASale Merchant ID. You can find this at the top-left of your ShareASale account when you are logged in.

Code Block
<img src="https://shareasale.com/sale.cfm?v=prestashop1&tracking={$id_order}&amp;amount={$subtotal}&amp;transtype=sale&amp;merchantID=XXXXX&amp;couponcode={$couponcode}&amp;skulist={$skulist}&amp;quantitylist={$quantitylist}&amp;pricelist={$pricelist}&amp;newcustomer={$newcustomer}&amp;currency={$currency->iso_code}" width="1" height="1">
<script src='https://www.dwin1.com/19038.js' type='text/javascript' defer='defer'></script>

Note: Make sure to clear your Prestashop cache under Advanced Parameters >> Performance >> Clear Cache after this is complete. Keep in mind this installation requires modifying core Prestashop files, and may need to be reintegrated if you update your Prestashop version.

...

If you were emailed a link to this document, a test link may have been provided to you. If it wasn’t, you can obtain one from your account by clicking here.

NOTE: If you do not click the test link your order will not track.

The test link should direct you to your own store. Once there, please purchase any item in your store. Sometimes Merchants will have a test item worth $1.00 sale price, but above $0.00 minimum.

...