| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding Commission Integration from JROX-JAM into X-Cart 5 Multi-Vendor | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Adding Commission Integration from JROX-JAM into X-Cart 5 Multi-Vendor
Hello,
JROX is telling me to look for the file: /customer/main/order_message.tpl in X-cart, so I can add the Commission Integration... I can't seem to find this file anywhere. I'm using X-Cart 5 Multi-Vendor, is that why I can't find it, and if so where do I look? ANY IDEAS? Thanks in advance for your help,
__________________
Blaine X-Cart Multi-vendor 5.4.1.35 PHP version: 8.1 Blaine's Travel Club - http://blainestravelclub.com Collect Travel Points - http://blainestravelclub.com/travelpoints/rewards/ Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/ Grow Your Business - http://blainestravelclub.com/business/ Making Money & Fun - http://blainestravelclub.com/travelers/ Charitable Fun-razing - http://blainestravelclub.com/fun-razors |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Adding Commission Integration from JROX-JAM into X-Cart 5 Multi-Vendor
To confirm:
/customer/main/order_message.tpl that's an X-Cart 4, Classic file.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Adding Commission Integration from JROX-JAM into X-Cart 5 Multi-Vendor
Quote:
This is XC4 file so you won't find it in XC5. I suspect this service have not heard about XC5 and they have no integration with it. The order_message template in XC4 is loading on the order confirmation (thank you) page and it loads the order info/invoice. The equivalent in XC5 is the CheckoutSuccess.php controller. From there you can get what/where to load. But them it has to be done as a module and the data you need to load with the integration will be different from the XC4 one. You can't just take whatever they give you and modify files unless they give you ready XC5 module for the integration.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Adding Commission Integration from JROX-JAM into X-Cart 5 Multi-Vendor
Thanks, Guys for your input!
Add this to the already growing reasons why I TOTALLY REGRET purchasing XC5
__________________
Blaine X-Cart Multi-vendor 5.4.1.35 PHP version: 8.1 Blaine's Travel Club - http://blainestravelclub.com Collect Travel Points - http://blainestravelclub.com/travelpoints/rewards/ Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/ Grow Your Business - http://blainestravelclub.com/business/ Making Money & Fun - http://blainestravelclub.com/travelers/ Charitable Fun-razing - http://blainestravelclub.com/fun-razors |
|||||||||
#5
|
|||||||||
|
|||||||||
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.35 PHP version: 8.1 Blaine's Travel Club - http://blainestravelclub.com Collect Travel Points - http://blainestravelclub.com/travelpoints/rewards/ Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/ Grow Your Business - http://blainestravelclub.com/business/ Making Money & Fun - http://blainestravelclub.com/travelers/ Charitable Fun-razing - http://blainestravelclub.com/fun-razors |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Adding Commission Integration from JROX-JAM into X-Cart 5 Multi-Vendor
You can't add XC4 code to XC5 files. It won't work. And you can't add it directly to the cart files - you have to do it with a module.
You have to look at the CheckoutSuccess.php in the View directory, there's probably one, find the template it's calling to load, eventually modify that template through the theme template editor or have new file with the view list as the rest of the "thank you" page files. https://kb.x-cart.com/look_and_feel/theme_tweaker/template_editor.html https://devs.x-cart.com/how-to_articles/how_to_add_google_adwords_conversion_tracking_code _to_thank_you_for_your_order_page.html - although it is for XC 5.3.x the general process is the same
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|