X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Help with Custom Shipping XC5 (https://forum.x-cart.com/showthread.php?t=71548)

zychen 03-04-2015 07:18 AM

Help with Custom Shipping XC5
 
Has anyone tried implementing a Shipping Module to work with XC5?

I've run into the problem where testing the shipping cost separately works but the checkout page becomes extremely slow and there are bugs like popups dialogs would stop working and the "Place Order: <Total Price>" button would not update when shipping services or addresses are changed.

I can't see anything in my code that would affect those parts of the program. Please help!

Niboon 03-18-2015 05:45 AM

Re: Help with Custom Shipping XC5
 
It seems that this is due to some race conditions that are conflicting on the jQuery code when the shipping API takes more than roughly 3 seconds to calculate/recalculate estimates. I have tested it and anything faster than 3 seconds still works normally.

I have filed a bug and it has been confirmed:
https://bt.x-cart.com/view.php?id=44426


All times are GMT -8. The time now is 12:03 AM.

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