Checkout customer country drop-down

  • Posts: 75
  • Thank you received: 1
5 years 6 months ago #299191

-- url of the page with the problem -- : animaloutfitters.nz
-- HikaShop version -- : 3.5.1 Business
-- Joomla version -- : 3.8.13
-- PHP version -- : 7+
-- Browser(s) name and version -- : Chrome

Hi. At checkout I use a drop-down box for the customer to enter their home country, using the "Zone" drop-down select. This has always worked fine, with the drop-down returning a choice of all published countries. For some reason the drop-down is now blank, and no longer enables a customer to enter the country (it defaults to New Zealand, our home country).
I've tried to look at the underlying JS console etc but cannot determine the problem. Can you please help.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13070
  • MODERATOR
5 years 6 months ago #299196

Hi,

It comes from 2 things:
1. You have the "use chosen library" setting activated in the HikaShop configuration, or your template or another extension adds chosen to your frontend.
2. You have some CSS in the "custom" frontend CSS you can edit under the Display tab of the HikaShop configuration which messes with the elements of the dropdown:

#hikashop_checkout_billing_address_zone select, #hikashop_checkout_shipping_address_zone select, #hikashop_checkout_billing_address_zone input, #hikashop_checkout_shipping_address_zone input{float:left;width:auto;max-width:190px;margin:0px;}
So if you deactivate the chosen library, or remove that CSS code, it would fix the problem.

The following user(s) said Thank You: mterry2

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum