Bevásárlókosár rendszer.
Az XtCommerce-szel való integráció a checkout_success.php fájl módosításával történik.
Sablon szerkesztése
Keresse meg és nyissa meg a checkout_success.php fájlt.
Integráció
Írja be a következő kódot:
//--------------------------------------------------------------------------
// 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
//------------------------------------------------------------------
közvetlenül a sor előtt:
if (DOWNLOAD_ENABLED == 'true')
Sablon szerkesztése
Keresse meg és nyissa meg a /templates/xtc4/module/checkout_success.html fájlt.
Integráció
Írja be a következő kódot:
<!-- START of Post Affiliate Pro code -->
{$pap_sale_tracking}
<!-- END of Post Affiliate Pro code -->
közvetlenül a sor előtt:
{if $downloads_content neq '}
The article discusses various shopping cart software, including Pinnacle Cart, XtCommerce, ShopSite, and DL Guard, with instructions on integrating Post Affiliate Pro tracking code into each system. The focus is on helping users effectively utilize the software for their ecommerce needs, with information on related resources and free account creation available.
The text explores various integration options for tracking sales and products on e-commerce websites using Post Affiliate Pro. It discusses integrations with platforms such as Cart66 and SquirrelCart, as well as payment processing options like Dwolla. The ViArt CMS is also mentioned as an option for tracking sales using specific variables. The text provides instructions for integration with osc2nuke, including code snippets to add to a website's checkout page. The benefits of using Iono and eCartSoft for customer service and billing are also highlighted. The text emphasizes the importance of ROI and covers related concepts like CSV files and CPM in internet advertising. Overall, the text encourages readers to create a free account with Post Affiliate Pro for tracking sales and managing their e-commerce business efficiently.
The article discusses SOC in affiliate marketing, which is a number representing the likelihood of ranking high for a keyword and is influenced by various factors. Other related topics include SEO, domain authorization, deep linking, and advertising networks. The platform-independent eCartSoft system integrates the Post Affiliate Pro tracker on existing websites. The Ling Partnerprogram offers details on accepted countries, traffic sources, and commission structure. A free trial and sales contacts are available with Post Affiliate Pro.