OK, so Miva has built in some cool features making the OCST page of the checkout process a bit easier for your customers to digest, HOWEVER, now that we are all building responsive sites, there is an issue that has probably irked a lot of designers/developers.
On the OCST page, when a customer checks the "same as shipping" field for the Billing Address, it very intelligently HIDES that billing address saving visitors time during checkout. THE ISSUE IS.... if you're building a responsive site, in a vertical mobile layout, that info does hide, but the space it takes up stays put, and forces the visitor to scroll through literally 3-4 inches of white space to get to the "continue" button. This is HORRIBLE. 3-4 inches of scrolling on a phone during checkout is going to cause some people to bail on checkout.
Kyle @ Miva just emailed me a very quick fix for this that causes that space the billing fields take up to actually "collapse" instead of just "hide" so that they no longer have to scroll through that whitespace.
NOTE, this is an issue even on their Bootstrap theme, so if you use that Bootstrap theme, you'll want to use this as well.
The fix is simple. Just paste the code below just before your </body> tag on your OCST template (this of course assuming you're using the out-of-box fields and id's that page comes with)......
On the OCST page, when a customer checks the "same as shipping" field for the Billing Address, it very intelligently HIDES that billing address saving visitors time during checkout. THE ISSUE IS.... if you're building a responsive site, in a vertical mobile layout, that info does hide, but the space it takes up stays put, and forces the visitor to scroll through literally 3-4 inches of white space to get to the "continue" button. This is HORRIBLE. 3-4 inches of scrolling on a phone during checkout is going to cause some people to bail on checkout.
Kyle @ Miva just emailed me a very quick fix for this that causes that space the billing fields take up to actually "collapse" instead of just "hide" so that they no longer have to scroll through that whitespace.
NOTE, this is an issue even on their Bootstrap theme, so if you use that Bootstrap theme, you'll want to use this as well.
The fix is simple. Just paste the code below just before your </body> tag on your OCST template (this of course assuming you're using the out-of-box fields and id's that page comes with)......
Code:
<script> $(function(){ $('#billing_to_show').on('change',function(){ if($('#billing_to_show').is(':checked')){ $('#billing_fields').slideUp(); }else{ $('#billing_fields').slideDown(); }; }); }); </script>
Comment