Ingyenes online áruház szoftver, amely megkönnyíti és gyorsítja szolgáltatásai értékesítését.
A Freeway-jel való integráció az eladáskövető szkript elhelyezésével történik a megerősítő oldalon. Az OrderID és a TotalSale értékeinek megszerzéséhez a kódrészlet csatlakozik a Freeway adatbázishoz, és onnan kéri le az értékeket.
Sablon szerkesztése
Fájl keresése és megnyitása ‘/templates/content/checkout_success.tpl.php‘.
Keresse meg a megfelelő helyet az integrációhoz
A fájlon belül keresse meg ezt a sort:
<?php if(AFFILIATE_COMMISSION_JUNCTION=='true'){
Adjon hozzá az integrációs kódot
Szúrja be a következő kódot közvetlenül a sor fölé:
<?php
//--------------------------------------------------------------------------
// STAT - PAP Integration code
//--------------------------------------------------------------------------
// Get order id
$sql = "select orders_id from ".TABLE_ORDERS.
" where customers_id='".(int)$customer_id.
"' order by date_purchased desc limit 1";
$pap_orders_query = tep_db_query($sql);
$pap_orders = tep_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.
"' and class='ot_subtotal'";
$pap_orders_total_query = tep_db_query($sql);
$pap_orders_total = tep_db_fetch_array($pap_orders_total_query);
$pap_total_value = $pap_orders_total['value'];
// Draw invisible image to register sale
if($pap_total_value != "" && $pap_order_id != "")
{
print '<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 - PAP Integration code
//--------------------------------------------------------------------------
?>
Az integráció befejeződött
Most már integrálva van. Minden alkalommal, amikor az ügyfél belép a rendelés visszaigazoló oldalára, a követőkód lehívásra kerül, és értékesítést regisztrál a hivatkozó affiliate számára.
The text is a website for Post Affiliate Pro, a service that offers a variety of features and integrations for businesses, including pricing, support, a knowledge base, customer reviews, and an affiliate program. The site includes contact information for sales, as well as terms of service and privacy policies. The site is currently building a dashboard for users, and will send login information to their email after installation is complete.
The text discusses how to integrate Paysite Cash as a secure payment option for e-commerce websites using the Post Affiliate Pro platform. It provides step-by-step instructions for setting up the plugin and generating the necessary code for credit card payments. The summary emphasizes the ease and security of using Paysite Cash for online transactions.
The article discusses the benefits and integrations of affiliate marketing with Post Affiliate Pro. It also mentions the importance of monitoring sources for quality in online marketing and the use of Google Checkout. The text provides specific instructions for integrating PayPal and creating checkout messages. A few related integrations with platforms like Summer Cart, CubeCart, and ThriveCart are also mentioned.
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.