I get this message: “Warning: Shipping method required” but I found out that is relate with cashe in Internet Explore
I have Internet Explorer 9 and Opencart 1.5.1
When I buy products and go to checkout page for first time on the web page I don’t have any problem to go to payment page.
When I want to test for the second time and go to checkout, the process stop in shipping.
With the message: Warning: Shipping method required! But the shipping is already chosen.
If I clear/delete cache and temporary history on my browser Internet Explorer, the “Warning: Shipping method required!” disappear, so the problem is the Internet Explore cashing system.
How can I solve this problem?
It works fine on Firefox.
Thanks
To fix this, add the following code to the top of opencart/index.php :
IE is a bit of a stickler for caching pages apparently and is apparent in many other Ajax apps. This will tell the browser not to cache it. Works for me. Would be good if we could configure these settings in admin.
Code: Select all
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
Who is online
Users browsing this forum: No registered users and 2 guests