Eine kostenlose eCommercelösung.
Diese Integrationsmethode ist für Virtue Mart Version 3. Wenn Sie eine niedrigere Version haben, navigieren Sie bitte zur Integrationsmethode namens “Virtue Mart 2”.
Integration von Offline-Zahlungen (Bargeld)
Öffnen Sie die Datei plugins/vmpayment/standard/standard.php und suchen Sie nach der Funktion plgVmConfirmedOrder.
Am Ende gibt es eine Zeile namens $cart->emptyCart – Platzieren Sie den folgenden Code darüber:
/* Post Affiliate Pro integration snippet */
$html .= '<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('".$order['details']['BT']->order_subtotal."');
sale.setOrderID('".$order['details']['BT']->order_number."');
sale.setData1('".$order['details']['BT']->email."');
PostAffTracker.register();
</script>";
/* Post Affiliate Pro integration snippet */
Speichern Sie die Änderungen.
Integration von Online-Zahlungen
Öffnen Sie die Datei administrator/components/com_virtuemart/plugins/vmpsplugin.php und suchen Sie nach der Funktion processConfirmedOrderPaymentResponse.
Fügen Sie den folgenden Code am Anfang ein:
/* Post Affiliate Pro integration snippet */
$html .= '<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('".$order['details']['BT']->order_subtotal."');
sale.setOrderID('".$order['details']['BT']->order_number."');
sale.setData1('".$order['details']['BT']->email."');
PostAffTracker.register();
</script>";
/* Post Affiliate Pro integration snippet */
Das war’s schon. Die Anwendung ist integriert.
Vergessen Sie nicht, den Klick-Trackingcode zu integrieren, sodass das Verkaufstracking richtig funktioniert.
The text describes the integration process of the Post Affiliate Pro system with various eCommerce platforms such as ViArt, AspDotNetStorefront, Volusion, and LemonStand. The process involves inserting tracking codes and product ID matching for sale tracking. Free accounts are available without additional conditions for using the Post Affiliate Pro system. The steps for integration are described on the respective websites and are easy to perform.
The given text is a mix of information related to Post Affiliate Pro, including details about their product, pricing, integration, and support. The text also includes information about their company, blog, affiliate program, and templates. The text emphasizes the importance of cookies, security, and privacy. Additionally, the text includes an option to schedule a call with the Post Affiliate Pro team.