Page 1 of 1
Region/State dropdown empty in guest delivery details
Posted: Mon Apr 30, 2012 8:21 pm
by Fatbat
As the title says, my Region/State dropdown is empty in the Guest checkout delivery details (if they are trying to set an alternate delivery address from their billing). It works fine in the Guest billing section, but it is blank and non functioning in the Delivery section. It also seems to work without any problems in both the billing and delivery sections if the user chooses to register a new account. Link to my store...
http://activesignalshop.com
I've looked around and found similar threads but no conclusive solution. For example I tried following the instructions in this thread
http://forum.opencart.com/viewtopic.php ... 07#p251476 but when I changed http to https in my config.php, it rendered my Add to Cart buttons inactive.
This is a pretty big problem that is stopping some customers from being able to checkout and I need to resolve it. Any help would be hugely appreciated!
Thanks.
Re: Region/State dropdown empty in guest delivery details
Posted: Tue May 01, 2012 8:52 pm
by Fatbat
Anyone? I really need to find a solution here.
Although I'm unable to replicate the problem, I now have a customer who says he can't choose his Region/State even though he's registered an account. This is a real show stopper as this and other customers are unable to complete their orders.
Re: Region/State dropdown empty in guest delivery details
Posted: Tue May 01, 2012 9:42 pm
by Avvici
Nice looking site. I had no problems with choosing a STATE/REGION. I chose guest checkout.
Re: Region/State dropdown empty in guest delivery details
Posted: Wed May 02, 2012 10:54 am
by Fatbat
Thank you. Still working on the site, it's pretty basic at the moment. It's the responsive Sellegance theme from Themeforest.
To replicate the error you have to untick "My delivery and billing addresses are the same." so you can choose a different shipping address to see the error. When checking out as a guest with a different shipping address I can't get the State/Region to populate or function which stops the customer form being able to checkout.
Can you look again?
Re: Region/State dropdown empty in guest delivery details
Posted: Wed May 02, 2012 12:17 pm
by Avvici
Unfortunately it's not a clear problem and needs to be layered back.. I chose guest checkout so the page you want to look at is:catalog/view/theme/default/template/checkout/guest_shipping.tpl
This is the javascript at the bottom of the page that fills the regions select box:
Code: Select all
<script type="text/javascript"><!--
$('#shipping-address select[name=\'zone_id\']').load('index.php?route=checkout/guest_shipping/zone&country_id=<?php echo $country_id; ?>&zone_id=<?php echo $zone_id; ?>');
//--></script>
If your region select is not filling out then there is a problem in the send/recieve of data concerning this function. I don't however know what your control file looks like....so it's hard to tell. First make sure that you have <div id="shipping-address">
Re: Region/State dropdown empty in guest delivery details
Posted: Thu Oct 18, 2012 7:31 pm
by Fjota
Hi,
I'm with the same problem. This is very weird actually. This problem starts when I delete default/demo categories and products.
See:
http://forum.opencart.com/viewtopic.php?f=20&t=86868
I see also that Javascript stops working in the checkout process.
This problem have solution?
Best Regards,
Re: Region/State dropdown empty in guest delivery details
Posted: Sat Sep 13, 2014 3:47 pm
by glennerd
I'm having a similar problem - was this resolved?
Please help if you can.
Thanks,
Glenn
lilterra.com