XtCommerce integration
A shopping cart system.
How to integrate PostAffiliatePro with XtCommerce
Integration with XtCommerce is made by changing checkout_success.php file.
Edit template
Find and open checkout_success.php file.
Integration
Put the following code:
//--------------------------------------------------------------------------
// Post Affiliate Pro code
// The code below will get the order_id and total value of recent order
// from the database and displays invisible image that registers the sale
// for affiliate (if some affiliate referred this visitor)
//--------------------------------------------------------------------------
$sql = "select orders_id from ".TABLE_ORDERS." where customers_id='".$_SESSION['customer_id']."' order by orders_id desc limit 1";
$pap_orders_query = xtc_db_query($sql);
$pap_orders = xtc_db_fetch_array($pap_orders_query);
$pap_order_id = $pap_orders['orders_id'];
// get total amount of order
$sql = "select value from ".TABLE_ORDERS_TOTAL.
" where orders_id='".(int)$pap_order_id."'";
$pap_orders_total_query = xtc_db_query($sql);
$pap_orders_total = xtc_db_fetch_array($pap_orders_total_query);
$pap_total_value = $pap_orders_total['value'];
// draw sale tracking code to register sale
if($pap_total_value != "" && $pap_order_id != "")
{
$smarty->assign('pap_sale_tracking','<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('$pap_total_value');
sale.setOrderID('$pap_order_id');
PostAffTracker.register();
</script>");
}
//--------------------------------------------------------------------------
// END of Post Affiliate Pro code
//------------------------------------------------------------------
right before line:
if (DOWNLOAD_ENABLED == 'true')
Edit template
Find and open /templates/xtc4/module/checkout_success.html file.
Integration
Put the following code:
<!-- START of Post Affiliate Pro code -->
{$pap_sale_tracking}
<!-- END of Post Affiliate Pro code -->
right before line:
{if $downloads_content neq '}

What is XtCommerce?
XtCommerce, also known as xt:Commerce, is a versatile e-commerce software platform designed to create and manage online stores efficiently. Developed from the osCommerce system, it has evolved to offer a flexible framework using PHP and MySQL. XtCommerce is tailored for small to medium-sized wholesalers and retailers, providing multishop capabilities, customizable shop designs with add-ons and templates, responsive design, and various integration options to suit diverse business needs.
XtCommerce has established a strong presence in Germany and the DACH region (Germany, Austria, Switzerland). Since its inception from osCommerce, it has released several versions:
- Xt:Commerce 4.x (Veyton)
- Xt:Commerce 5.x
- Xt:Commerce 6 (Free and Pro)
Each version introduced new features and improvements, adapting to the changing landscape of e-commerce. Despite facing challenges with modern adaptations and complexities in updates, XtCommerce remains a popular choice for businesses seeking a reliable platform.
XtCommerce for Small to Medium Businesses
XtCommerce is targeted at:
- Small Business Owners: Ideal for those looking to enter the online marketplace.
- Established Brick-and-Mortar Stores: Perfect for physical stores expanding into e-commerce.
- Multi-Storefront Management: Businesses operating multiple online storefronts.
Popular sectors using XtCommerce include:
- Retail
- Fashion
- Electronics
- Specialty Goods
The platform supports complex product management and multichannel selling, making it adaptable to various industries.
Key Features of XtCommerce
Customization and Flexibility
- Add-Ons and Templates: Customize your shop design to reflect your brand identity.
- Modular Architecture: Extend functionalities with plugins and third-party integrations.
Comprehensive Store Management
- Intuitive Backend Interface: Simplify product, order, and customer management.
- B2B and B2C Functionalities: Cater to both business clients and individual consumers.
Responsive Design
- Mobile-Friendly: Ensure optimal viewing on all devices, enhancing user experience.
Payment and Shipping Options
- Multiple Methods: Offer various payment gateways and shipping solutions to meet customer preferences.
International Support
- Multilingual and Multicurrency: Expand your global reach with ease.
SEO and Marketing Tools
- Improved Visibility: Utilize built-in tools to enhance search engine rankings and attract more customers.
Multishop Capabilities
- Single Backend Management: Operate multiple shops efficiently from one interface.
Pricing Options for XtCommerce
Flexible Plans to Suit Your Needs
XtCommerce offers different versions:
- Xt:Commerce 6 Free
- Cost: Free
- Features: Basic installation and operation, ideal for startups.
- Xt:Commerce 6 Pro
- Cost: Paid model
- Features: Additional functionalities like multi-store management, advanced support.
This cost-effective approach allows businesses to access essential features while scaling up as needed.
User Insights on XtCommerce
What Users Appreciate
- Affordability: Competitive pricing makes it accessible for smaller businesses.
- Wide Range of Plugins: Enhance your store with various extensions.
- Strong Functionality: Provides robust tools for fundamental e-commerce operations.
Common Challenges
- Performance Issues: Some users report slow loading speeds.
- Mobile Optimization: Lack of mobile-friendly features can hinder user experience.
- Update Difficulties: Complex updates and a declining community support can pose challenges.
- Version 6 Bugs: Persistent issues deter users from upgrading.
Ideal For
Businesses that prioritize essential functionality over advanced marketing and analytics features.
XtCommerce Video Reviews
For more in-depth insights, check out these YouTube reviews:
- Overview of XtCommerce’s Main Features for SMBs
- Pros and Cons Analysis with a Focus on Integration and Scalability
- Step-by-Step Setup Guide for Beginners Using XtCommerce
Alternatives to XtCommerce
If you’re exploring other options, consider these alternatives:
BigCommerce
Ecwid
3dcart
Shopify
WooCommerce
Magento
- Visit Magento
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.
Effortlessly integrate your e-commerce site with Post Affiliate Pro and boost your affiliate program's success. Our expert team ensures seamless integration with your payment processor, handling technical issues along the way. Enjoy a free trial and free integration service, saving you time and maximizing your ROI. Join now and experience top-notch affiliate management with over 500 integration options.
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!