Re: Adding Commission Integration from JROX-JAM into X-Cart 5 Multi-Vendor
Below you will find instructions from JROX-JAM on how to add Commission Integration into XC-4
================================================
To integrate JAM with X-Cart (XC-4), follow these steps:
1. Open up the template file /customer/main/order_message.tpl for editing.
2. Add the following integration code within the template code as given:
<TD align="right">{include file="buttons/button.tpl"
button_title=$lng.lbl_continue_shopping style="button" href="home.php"}
</TD>
</TR>
</TABLE>
<!--- START JAM INTEGRATION CODE --->
{literal}<img src="http://www.yourdomain.com/affiliates/sale/amount/{/literal}{section name=oi loop=$orders}{$orders[oi].order.subtotal}{/section}{literal}/trans_id/{/literal}{section name=oi loop=$orders}{$orders[oi].order.orderid}{/section}{literal}" alt="" />{/literal}
<!-- END JAM INTEGRATION CODE -->
================================================
<QUOTE>The equivalent in XC5 is the CheckoutSuccess.php controller.</QUOTE>
Where exactly would I find "CheckoutSuccess.php" in XC5?
ALSO,
In your best knowledge of XC5, do you think the same would hold true in adding their Commission Integration to the "CheckoutSuccess.php" in XC5 (the reason I ask, is JROX is sometimes very long to respond to inquiries)
If so, I noticed there are several "CheckoutSuccess.php" files in XC5, would you believe that I would add their Commission Integration to ALL FILES?
Looking forward to your responds,
Thanks for your help.
Blaine.
|