Integrate Cart66 with affiliate software

Learn how to integrate Cart66 with Post Affiliate Pro for seamless affiliate sales, product, and coupon tracking in your WordPress store.

Integrate Cart66 with affiliate software

Cart66 integration

Easily sell digital as well as physical products with this plugin.

This integration method integrates Cart66 (WordPress plugin) receipt page.

How to integrate PostAffiliatePro with PRODUCT

Sale tracking

The integration is pretty easy. The only step you have to take is to edit file wp-content/plugins/cart66/views/receipt.php and to find a line with this code:

if(Cart66Setting::getValue('enable_google_analytics') == 1 && $order->viewed == 0)

Now, copy the code below and paste it just above the mentioned line:

<!-- Post Affiliate Pro integration snippet -->
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
sale.setTotalCost('<?php echo number_format($order->total, 2, ".", ""); ?>');
sale.setOrderID('<?php echo $order->trans_id; ?>');
sale.setProductID('<?php echo get_bloginfo("name"); ?>');
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro integration snippet -->

That’s it. Save your changes. Now your system is integrated.

Per product tracking

In case you want to track your orders per product, please use this code instead:

<!-- Post Affiliate Pro integration snippet -->
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
  <?php
  $i = 1;
  foreach ($order->getItems() as $item) {
  ?>
  echo "var sale$i = PostAffTracker.createSale();";
  echo "sale$i.setTotalCost('".$item->product_price * $item->quantity."');";
  echo "sale$i.setOrderID('".$order->trans_id."(".$i.")');";
  echo "sale$i.setProductID('".$item->product_id."');";
  <?php
  $i++;
  }
  ?>
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro integration snippet -->

Coupon tracking

In case you want to support coupon tracking, add this code to your sale tracking code:

<?php
if (!empty($order->coupon) && !empty($couponCodeUsed)) {
  $coupons = explode(" (",$couponCodeUsed, 2);
  echo "sale.setCoupon('".$coupons[0]."');\n";
}
?>

If you want to use discount amount in your sale tracking code for something, you can use this variable:

$order->discount_amount

Cart66 on Cloud

In case you have the cloud-based Cart66 then the integration is possible too. You won’t be able to track per product orders, but still you can track order subtotal and order ID. Add the following HTML tracking code to your thank you page:

<img src="//URL_TO_PostAffiliatePro/scripts/{$ImageTrackUrl}&TotalCost={{order_subtotal}}&OrderID={{order_number}}" width="1" height="1" />

That’s it. Save your work and you are done.

Do not forget to integrate your WordPress with click tracking code.

What is Cart66?

Cart66 is an all-in-one WordPress shopping cart solution, now integrated with WP EasyCart. Designed for users selling a wide range of products and services online, it provides a comprehensive e-commerce experience. Cart66 makes it seamless for WordPress users to manage their online stores securely and efficiently.

Originally known as PHPurchase, Cart66 was one of the first e-commerce solutions for WordPress. Over time, it evolved and innovated within the WordPress ecosystem. Cart66 notably launched Cart66 Hosted, the first fully managed WordPress e-commerce platform aimed at simplifying security and PCI compliance.

Cart66 is dedicated to individuals and small businesses seeking a straightforward e-commerce platform for selling products or services through WordPress. It’s suitable for authors, teachers, freelancers, non-profits, and more. Cart66 helps customers manage physical or digital products, subscriptions, services, and donations while enjoying an integrated, simplified online selling process with secure features.

Main Features of Cart66

Cart66 offers an all-in-one package including:

  • Product Management: Easily add, edit, and organize products.
  • Secure Payment Processing: Multiple gateway integrations including Stripe, Square, and PayPal.
  • Seamless WordPress Integration: Fits perfectly with your existing WordPress theme.
  • Customer Account Management: Keep track of customer orders and preferences.
  • Built-in Email and Marketing Tools: Enhance customer engagement without additional plugins.

These features are aimed at providing security, ease of use, and reliability without the need for extra plugins.

Cart66 Pricing Options

  • Free Version: Access basic features with a 2% fee on transactions using Stripe, Square, or PayPal.
  • PRO Cart Plugin ($69.00/Year): Enjoy core features with unlimited support requests and no additional fees on transactions.
  • Premium Cart Plugin ($89.00/Year): Includes all PRO features plus desktop and mobile management apps, and integrations like Facebook & Instagram Shop.

User Insights on Cart66

Users praise Cart66 for its comprehensive e-commerce features, ease of use, and robust customer support. It is a standout choice for integrating e-commerce seamlessly with WordPress. However, some users have experienced sporadic technical glitches. Overall, Cart66 is highly rated by individuals seeking a straightforward e-commerce solution.

Cart66 Reviews on YouTube

Alternatives to Cart66

If you’re considering other options besides Cart66, here are some alternatives:

Frequently asked questions

What is Cart66?

Cart66 is an all-in-one WordPress shopping cart solution, ideal for selling digital and physical products. It offers secure payment processing, customer account management, and integrates seamlessly with WordPress.

How do I integrate Cart66 with Post Affiliate Pro?

To integrate, edit the Cart66 receipt page in your WordPress plugin and add the provided Post Affiliate Pro tracking code above the specified line. Save your changes to enable affiliate tracking.

Can I track individual product sales with Cart66 integration?

Yes, you can implement per-product tracking by modifying the integration code as described in the integration guide.

Is coupon tracking supported?

Yes, you can track coupon usage by adding the coupon tracking snippet to your sale tracking integration code.

Are there alternatives to Cart66 for WordPress?

Yes, alternatives include WooCommerce, Easy Digital Downloads, Ecwid, and WP EasyCart.

Who is Cart66 suitable for?

Cart66 is designed for individuals and small businesses seeking a straightforward e-commerce platform on WordPress, suitable for selling products, services, subscriptions, and donations.

Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.

Lucia Halašková
Lucia Halašková
Content Editor

Start Your Free Trial with Post Affiliate Pro

Experience seamless affiliate integration with Cart66. Start your 1-month free trial of Post Affiliate Pro and boost your affiliate management today.

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface