Jump to content

One Page Checkout Issue


Recommended Posts

Hi all,

 

I am having trouble with a template using one page checkout. Basically on the standard template when the user ticks the "Terms" box it drops down the payment options.

 

However on this template when the box it ticked it takes you to a seperate pages JUST for the paypal option and no other, also if I then try to pay with paypal it produces an error.

 

Has anyone come across a similar issue before? I have tried amending the order-opc.js in the template back to the original one with no result.

 

Thanks anyone for their help!

Link to comment
Share on other sites

  • 3 months later...

Hello Prestashop Community,

 

I am also having issues with my one page checkout, and have a little to add as well. On my one page checkout, I get get the following error whenever someone tries to login or create a new account on the checkout page(https://www.dalenedefense.com/quick-order):

 

Uncaught SyntaxError: Unexpected token /  7995ce3df7b8ac8e686e9b0b52312c59.js:614
Uncaught ReferenceError: $ is not defined  quick-order:1
Uncaught ReferenceError: $ is not defined  quick-order:6
Uncaught ReferenceError: $ is not defined  quick-order:10
FB.getLoginStatus() called before calling FBinit() all.js:55
Uncaught ReferenceError: $ is not defined  quick-order:4

 

When I attempt to login using my separate login page (https://www.dalenedefense.com/my-account), and then try to go through the checkout process the payment options don't drop down after checking the ToS box. For informational purposes, I tried disabling the ToS box, and the payment options do indeed appear if the customer is logged in from the separate login page, but with my site that's not an option.

 

The five-page checkout option works just fine, so I'm assuming that it has something to do with the javascript on the one page checkout.

 

I'm humbly asking for help, as I don't know what else I can do.

Link to comment
Share on other sites

Hi Cree, hopefully someone who may have had your problem will post a solution.

 

The error messages are referencing "quick-order" and there are a couple of third party modules that are called quick-order. Do you have a module called Quick Order?

Link to comment
Share on other sites

Bill,

 

Thank you for your quick reply. Unfortunately I don't have a module installed called "quick order." I am using the default template, and default cart pages on my site. I may look into purchasing the quick order module though, so thank you for the idea. Ultimately, all I really care about is that my store is up an running smoothly to provide the best customer service possible, as I'm sure everyone else who uses prestashop is trying to do. So thank you for helping with that.

 

If I find another solution, I'll post it back here, but I've noticed that some threads unfortunately don't get as much attention as others.

 

Respectfully,

 

Cree

Link to comment
Share on other sites

You may try replacing these files from a fresh copy of Prestashop that matches your current version.

 

prestashop\themes\default\js\order-opc.js

 

prestashop\themes\default\order-opc-new-account.tpl

prestashop\themes\default\order-opc.tpl

 

That may not fix it, but it might. :)

Link to comment
Share on other sites

Unfortunately, replacing those files didn't help, but I'll check into it a little further, and see if maybe some of the other files might help it work.

 

Thank you so much for your continued suggestions, I appreciate the fresh outlook it gives me.

 

Cree

Link to comment
Share on other sites

×
×
  • Create New...