View Single Post
  #6  
Old 06-09-2021, 06:16 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,078
 

Default 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
Reply With Quote