Originally Posted by
RixStix
Point of reference is 154 to 156c. I don't ever remember seeing a blank white screen for the customer to watch while waiting on the shipping rate quote servers to start responding.
Are you saying there is script, by design, to cause a blank white page while waiting on the shipping rate quote servers?
I am not saying that the issue specifically targets shipping, but that there is script that prevents the display of the page until the page is ready... Delivery of shipping quotes takes part in that "preparation". And I was a little off with the class designation, it is "no-fouc". Essentially on initial page load the document is identified as having that class, then later down the line, the class is removed.
So specifically:
in includes/templates/responsive_classic/common/html_header.php
there is:
Code:
<script type="text/javascript">document.documentElement.className = 'no-fouc';</script>
Which makes the screen go blank based on the css in:
includes/templates/responsive_classic/css/stylesheet.css
Code:
.no-fouc {display: none;}
Which is *not* overridden with something specific for checkout_shipping.
The class is then cleared/removed by loading of:
includes/templates/responsive_classic/jscript/jscript_responsive_framework.php
Code:
$('.no-fouc').removeClass('no-fouc');
To have checkout_shipping behave "differently" then would need something additional. It seems to me though that this "delay" in loading whether it causes a white screen or just the page to load slowly is one reason why some have chosen to have shipping estimates only available on the popup type page so that other navigation can occur while shipping data is being retrieved...
Bookmarks