View Single Post
  #5  
Old 06-09-2021, 01:54 PM
  Blainevk's Avatar 
Blainevk Blainevk is offline
 

Senior Member
  
Join Date: Dec 2004
Location: Atlanta, GA
Posts: 153
 

Default 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.
__________________
Blaine

X-Cart Multi-vendor 5.4.1.5
PHP version: 7.2.23

Blaine's Travel Network - http://blainestravelnetwork.net
__________________________________________________ ________

Travel Points Gift Mall - https://blainestravelnetwork.net/travelpoints/giftmall/

Create a Rewards Program - http://blainestravelnetwork.net/travelpoints/

Grow Your Business - http://blainevk.blainestravelnetwork.net/business/

Making Money & Fun - http://blainestravelnetwork.net/powerpyramid/
Reply With Quote