X-Cart integration
A complex, powerful shopping cart software that is available via a cloud-based hosted version or downloadable software.
How to integrate PostAffiliatePro with X-Cart
Integration with X-Cart (ver. 5+) is easy with the original plugin that you can download for free from https://market.x-cart.com/addons/post-affiliate-pro-integration.html.
In case you do not want to use the integration plugin, you can integrate your store with sale tracking script placed into the order confirmation page. To do so you can follow the next integration steps.
Find the template file
Find and open file \var\run\skins\default\en\checkout\success\parts\invoice.tpl.php.
If you use a custom skin which has it’s own checkout\success\parts\invoice.tpl.php file then you have to integrate that one.
Order tracking
Put the following code to the end of the file:
<!-- Post Affiliate Pro tracking 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 $this->getOrder()->getPaidTotal() ?>');
sale.setOrderID('<?php echo $this->getOrder()->getOrderNumber() ?>');
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro tracking snippet -->
If you want to track email use this variable:
$this->getComplex('order.profile.login')
If you want to track currency use this variable:
$this->getOrder()->getCurrency()->code
Per product tracking
If you want to track your order per product, you have to use this code:
<!-- Post Affiliate Pro tracking 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();
<?php
$i = 1;
foreach ($this->getOrder()->getItems() as $item) {
echo "var sale$i = PostAffTracker.createSale();
sale$i.setTotalCost(''".$item->getTotal()."'');
sale$i.setOrderID('".$this->getOrder()->getOrderNumber()."($i)');
sale$i.setProductID('".$item->getSku()."');
$i++;
}
?>
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro tracking snippet -->
Please note the per product integration does not include any discounts. The price of each product is a basic one, multiplied with product quantity ordered.
Do not forget to integrate your pages with the click tracking code.

What is X-Cart?
X-Cart is a comprehensive e-commerce platform specifically designed for businesses in the automotive industry. It empowers companies to create and manage online stores with advanced features like configurable filtering options, Vehicle Identification Number (VIN) lookups, and efficient inventory management. These functionalities enhance sales processes and operational efficiency, making X-Cart a robust solution for auto parts e-commerce. The platform supports multiple integrations, custom tools, and scalable solutions for multi-channel selling through platforms such as Amazon and eBay. With mobile-first design themes, real-time smart search capabilities, and powerful administrative functionalities, X-Cart is well-suited for managing extensive product catalogs.
- 2001: Company founded, focusing on innovative e-commerce solutions.
- 2004: Achieved a milestone by selling over 10,000 software licenses.
- 2006: Expanded the team by hiring the 100th employee.
- 2011: Secured investment from Runa Capital, fueling further growth.
- 2014: Released X-Cart 5, introducing significant enhancements.
- 2019: Merged with Seller Labs, expanding capabilities.
- 2021: Launched the X-Cart Automotive solution, catering specifically to the automotive sector.
- 2023: Embraced a headless commerce approach and separated from Seller Labs.
- 2024: Continues development with advanced features and innovations.
X-Cart caters to both B2C and B2B market segments, offering specialized services for omnichannel retail and B2B businesses. It assists in managing online channels, streamlining order processing, and supporting large-volume transactions. By promoting operational efficiency and enhancing customer experiences, X-Cart helps businesses thrive in a competitive e-commerce landscape.
Key Features of X-Cart
- Automotive E-commerce Capabilities: Features like Year-Make-Model (YMM) filtering and VIN lookup enable precise product searches.
- Mobile-First Design Themes: Ensures optimal performance and user experience on mobile devices.
- SEO-Friendly Tools: Enhances online visibility and ranking on search engines.
- Multichannel Retailing: Supports selling through platforms like Amazon and eBay.
- Robust Payment Integrations: Offers secure and diverse payment options.
- Advanced UX Innovations: Includes features like ‘My Garage’ for personalized user experiences.
- Supplier Integrations: Seamless connections with suppliers for efficient inventory management.
- Comprehensive Order Management: Streamlines the entire order fulfillment process with automotive-specific tools.
Pricing Options for X-Cart
- Platform Plan: At $199/month, this plan includes essential e-commerce functionalities and native marketing tools, ideal for businesses seeking fundamental online store capabilities.
- Automotive Plan: Priced at $499/month, it encompasses advanced automotive-specific features, integrations, and personalized onboarding, tailored for businesses in the automotive industry requiring specialized tools.
User Insights on X-Cart
Users appreciate X-Cart for its speed, comprehensive features, and reliability. It’s considered an excellent choice for scalable, secure, and user-friendly e-commerce operations, especially benefiting automotive businesses. The platform’s ability to handle extensive product catalogs and enhance customer experiences makes it a preferred solution among its users.
YouTube Reviews Featuring X-Cart
- X-Cart Review: Features, Pricing, and Comparison: Offers a deep dive into X-Cart’s offerings. Watch Here
- X-Cart vs Magento: E-commerce Platform Comparison: Provides expert analysis comparing X-Cart and Magento in terms of performance and scalability. Watch Here
Alternatives to X-Cart
For businesses exploring other options, several alternatives offer unique features catering to various needs:
- Shopify: www.shopify.com
- WooCommerce: woocommerce.com
- Magento (Adobe Commerce): business.adobe.com/products/magento/magento-commerce.html
- BigCommerce: www.bigcommerce.com
- Volusion: www.volusion.com
- Wix: www.wix.com
- Squarespace: www.squarespace.com
- PrestaShop: www.prestashop.com
- OpenCart: www.opencart.com
- Shift4Shop: www.shift4shop.com
Discover Post Affiliate Pro's flexible pricing plans tailored to fit your business needs, with options for Pro, Ultimate, and Network packages. Enjoy a free trial with no credit card required, no setup fees, and the freedom to cancel anytime. Benefit from features like unlimited affiliates, advanced reporting, customizable interfaces, and lifetime support. Save up to 20% with annual billing and take advantage of more than 220 integrations. Perfect for businesses seeking to enhance their affiliate marketing efforts. Visit now to find the ideal plan for you!
Discover the power of the Lifetime Commissions plugin! Ensure lifetime referral tracking with unique customer identifiers, allowing affiliates to earn commissions on future sales without repeated clicks. Easily manage customer-affiliate relations and configure settings to suit your needs. Boost your affiliate program's efficiency with customizable options and ensure commissions for affiliates, even across different devices or channels. Explore seamless integration with eCommerce systems and enhance your marketing strategy today!
Discover the essentials of clicks (referrals) tracking with our comprehensive guide. Learn about the importance of click tracking code, explore various code examples including simple, asynchronous, and PHP versions, and dive into advanced tracking options. Optimize your affiliate marketing strategy with expert tips on setting account IDs, managing cookies, and customizing tracking parameters. Visit now to enhance your click tracking implementation!