Jump to content

Help needed with migrating old Ajax order form to new Ajax cart


martijn

Recommended Posts

We currently have 2 webshops at 2 domains that run WHMCS

 

One shop is : /http://nexus.colibrimobile.com/order/?pid=1&skip=1&language=Dutch&currency=1

It runs WHMCS v 5.0.3 with a customized Ajax order form.

 

The new shop is: /http://admin.arlando.nl/cart.php?pid=1

It runs WHMCS v 5.2.14 and uses the Ajax cart.

 

I copied the old Ajax /order/ files to the new server and get an error, see:

/http://admin.arlando.nl/order/?pid=1&skip=1&language=Dutch&currency=1

 

Does anyone know if it is even possible to get the old shop working on WHMCS 5.2.14 ?

 

Any help is very much appreciated!

 

Martijn

Link to comment
Share on other sites

I think you've got your links wrong, e.g., in the source code of the second link, there is the following line...

 

<script type="text/javascript" src="order/templates/jqueryfloat.js"></script>

but if you click on the above js link, you get a 404 error page - it thinks the file is at:

 

http://nexus.colibrimobile.com/order/order/templates/jqueryfloat.js

 

but it's actually at:

 

http://nexus.colibrimobile.com/order/templates/jqueryfloat.js

 

the solution might be to edit header.tpl and remove references to 'order/' in the links:

 

<script type="text/javascript" src="order/templates/jqueryfloat.js"></script>

<script type="text/javascript" src="order/templates/jqueryvalidate.js"></script>

<script type="text/javascript" src="order/templates/ordering.js"></script>

<script type="text/javascript" src="order/templates/scroll.js"></script>

<link rel="stylesheet" href="order/templates/style.css" type="text/css" />

<div id="loader"><img src="order/images/summaryloading.gif" border="0" /></div>

also, the language links at the top don't work - (they have 'order/' in the links, but I think the links themselves are fine, it may just be a template layout issue... same goes for footer links too (probably in footer.tpl)... but they may be solved with the above corrections - either way, it should be closer to working as you want it to!

Edited by brian!
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated