X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   api integration (https://forum.x-cart.com/showthread.php?t=61888)

spiderling 12-02-2011 11:38 AM

api integration
 
I would like to integrate a third party rewards program using the JavaScript/jQuery API they provided. We use PayPal for our payment method, so I thought I would put the JS API in the X-Cart success page for PayPal. Then when the success page loads the JS API is initiated and awards the user their points.

Where would I find the success page please?

totaltec 12-03-2011 08:00 AM

Re: api integration
 
spiderling,
It's not that simple, the checkout success page is made up of dozens of different templates. You will need to figure out which template your code needs to be inserted in. Thankfully Qualiteam has made this easy.

Using webmaster mode you can easily discover what template you need to edit. I made you this video to explain this process. Sorry, it is a little slow, has no audio and is unedited.

http://www.youtube.com/watch?v=zqFaG1yvuFI

But I think it will get you on the right track to finding a specific template when you need it.

Hope this helps,
-Mike

spiderling 12-03-2011 04:09 PM

Re: api integration
 
Thanks for going to the effort of creating the video!

As impressed as I was with Webmaster Mode when I first discovered it, I still keep forgetting about it since I have probably only used it a handful of times.

Thanks again,
Pasquale


All times are GMT -8. The time now is 11:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.