[Skip to main content](#vessel-content)

#   Country/state wrong, plus non-aligned checkout

##

- **[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")**
- [![trogladyte's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2197-trogladyte "View trogladyte's Profile") Topic Author
- [ Offline](/forum/user/2197-trogladyte)

Less More

- Posts: 279
- Thank you received: 1
-
-

15 years 6 months ago [\#14653](#14653) by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")  *[Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#14653 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")* was created by *[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")*

I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?

Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.

Lastly, is there a way to remove the add coupon option?  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/errors.gif) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/errors.gif "&#91;img")

- [ ![errors.gif](/forum/attachment/982) ](/forum/attachment/982 "errors.gif") [ ](/forum/attachment/982?download=1 "errors.gif")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#14664](#14664) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#14664 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

If the states are not displaying, it's highly possible that the problem comes from a javascript error on your website. And it's highly possible that this javascript error is because something on your website is using the javascript library called jquery without using the noConflict routine.You will find several subjects about that on the forum : [ www.hikashop.com/en/support/forum/search.html?q=jquery](http://www.hikashop.com/en/support/forum/search.html?q=jquery)
If you want more precise directions, please give us a link to your website so that we can see the javascript error message.

The products details are mis-aligned because of your template CSS. So you need to modify your template CSS.

You can remove the coupon option by removing the "coupon_" view from the checkout workflow option of the configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#14669](#14669) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#14669 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

There is no javascript error on your website and the states are displayed for other countries. Which means that you either unpublished/deleted the states of the USA or removed them of the subzones listing of the USA, or modified the type of them to something else than "state".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#14670](#14670) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#14670 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

Please check all that via the menu System-&gt;Zones.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#14700](#14700) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#14700 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

Could you please download again hikashop and reinstall with the new package. We just found a problem in the query inserting the states for UK and the USA and fixed it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15000](#15000) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15000 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

Hi,

I have the same problem with ITALY, states are not showing. They are all active. Could it be that the registration form is in Italian?

ITALY is the only zone published.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_3-20110425.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_3-20110425.png "&#91;img")

- [ ![Picture&#95;3-20110425.png](/forum/attachment/1004) ](/forum/attachment/1004 "...3-20110425.png") [ ](/forum/attachment/1004?download=1 "...3-20110425.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15001](#15001) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15001 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

Here is a view of the backend and the relative States.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_4-20110425.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_4-20110425.png "&#91;img")

- [ ![Picture&#95;4-20110425.png](/forum/attachment/1005) ](/forum/attachment/1005 "...4-20110425.png") [ ](/forum/attachment/1005?download=1 "...4-20110425.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15006](#15006) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15006 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

... and why are only FRENCH states appearing in the Field configuration?  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_5-20110425.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_5-20110425.png "&#91;img")

- [ ![Picture&#95;5-20110425.png](/forum/attachment/1006) ](/forum/attachment/1006 "...5-20110425.png") [ ](/forum/attachment/1006?download=1 "...5-20110425.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#15012](#15012) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15012 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

The problem is totally different.

You said that the only zone published is Italy. That's the problem.
The states of Italy also need to be published in order to be displayed.

Only the French states appear in the address_state field because it bases itself on the default value of the address_country field. So you need to set Italy as the default country in the address_country field and save it before you can see the list of Italy states in the address_state field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15018](#15018) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15018 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

The problem is totally different.

You said that the only zone published is Italy. That's the problem.
The states of Italy also need to be published in order to be displayed.
**They are published, I checked.**

Only the French states appear in the address_state field because it bases itself on the default value of the address_country field. So you need to set Italy as the default country in the address_country field and save it before you can see the list of Italy states in the address_state field.
**OK. I went in and found only Italy to be selected (no other coutries appear). So I just saved it and now the Italian States appear in the address\_state field. GREAT!

However, the dropdown still doesn't appear in the registration form.

Any other ideas?

Thanks.**  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_8-20110425.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Picture_8-20110425.png "&#91;img")

- [ ![Picture&#95;8-20110425.png](/forum/attachment/1008) ](/forum/attachment/1008 "...8-20110425.png") [ ](/forum/attachment/1008?download=1 "...8-20110425.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#15019](#15019) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15019 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

You have the javascript error below on your website:
Uncaught TypeError: Object #&lt;Object&gt; has no method 'adopt'
SqueezeBox.buildmodal.js:1
SqueezeBox.initializemodal.js:1
ccHikaErrorscheckout:73
invoke.fireEventmootools-core.js:1
hmootools-core.js:1
Array.implement.eachmootools-core.js:1
invoke.fireEventmootools-core.js:1
hmootools-core.js:1

That prevent the javascript of HikaShop from being run, and thus, HikaShop is not able to load the states dropdown.
You need to correct that error and it will work.
The error seems to come from the fact that your template is using the javascript library called jquery without the noConflict call which then conflicts with the javascript library of joomla called mootools.
There are several threads on our forum about that problem and the different solutions users came up with (like adding the noconflict call to your template) :
[ www.hikashop.com/en/support/forum/search.html?q=jquery](http://www.hikashop.com/en/support/forum/search.html?q=jquery)

This in not a problem in HikaShop but between your template and joomla which results in HikaShop not being able to run the javascript it needs to run.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15023](#15023) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15023 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

Thank you,

Yes, I've seen this thread before but didn't think it would relate. Anyhow, if everybody's template that uses jQuery has the same problem, don't you think it's a Hikashop problem? Why not modify Hikashop to avoid this bug?

Anyhow, thanks again, I will try to fix it. If I can't, I am NOT going to change the template, so this will just force me to use another shopping cart software.

Wish me good luck.

![;-)](/media/kunena/emoticons/14.png ";-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#15024](#15024) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15024 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

No no, you misunderstood me. I didn't say that every template using jquery had that problem.
It's just the templates which use jquery without adding the noconflict code. It's two lines to add in the template's code: [ forum.joomla.org/viewtopic.php?t=283215](http://forum.joomla.org/viewtopic.php?t=283215)
Most templates using jquery have it and HikaShop doesn't have that problem with them.
Only some templates don't include it where they should because they are adding an external js library instead of using the joomla standard library. That's all.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15031](#15031) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15031 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

I understand, thank you for clearing that up!

I added the following code in my index.php template file, right before the Code:

&lt;/head&gt;

tag:
Code:

&lt;script type="text/javascript"&gt; jQuery.noConflict(); &lt;/script&gt;

... and that solved the problem!
![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15032](#15032) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15032 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

ooops... I spoke to quickly, the slideshow on my home page doesn't work anymore.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 6 months ago [\#15039](#15039) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15039 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

You should try to use something like that:
&lt;script type="text/javascript"&gt;
if(jQuery) jQuery.noConflict();
&lt;/script&gt;

That way, the noConflict call will only be done when jQuery is loaded on the page.
In some cases, it can happen that the template does not load the js file on every page and using the noconflict call when jquery is not there will cause such problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15044](#15044) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15044 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

I have tried that, but no luck.

So I went ahead and tried to apply the noConflict() on all pages that are NOT the Home page.
Here is the code placed right before the &lt;/head&gt; tag:

&lt;?php
$menu = &amp; JSite::getMenu();
if ($menu-&gt;getActive() != $menu-&gt;getDefault()) { ?&gt;
&lt;script type="text/javascript"&gt;
jQuery.noConflict();
&lt;/script&gt;
&lt;?php }?&gt;

... and it worked.

But then I realized that the search function in my template doesn't work on all pages other than Home!

Any other help is welcome!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")**
- [![rhatton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2295-rhatton "View rhatton's Profile")
- [ Offline](/forum/user/2295-rhatton)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 6 months ago [\#15052](#15052) by [rhatton](/forum/user/2295-rhatton "View rhatton's Profile")  Replied by *[rhatton](/forum/user/2295-rhatton "View rhatton's Profile")* on topic *[Re: Country/state wrong, plus non-aligned checkout](/forum/3-bug-report/14653-country-state-wrong-plus-non-aligned-checkout#15052 "I have set the country to USA in the display tab, but there are no states showing. How do I insert states, and why were they not included?  Secondly, in the panel showing the product the name numbers and icons are terribly mis-aligned.  Lastly, is there a way to remove the add coupon option?")*

SOLUTION (WORK-AROUND)

OK, here goes...

It is obvious to me that the only way I am going to solve this is if i get the noConflict(); function to execute ONLY on the checkout page where the States dropdown appears.

So, in order to do this, I have added the following code in my index.php template page right before the &lt;/head&gt; tag:

&lt;?php
$menu = &amp; JSite::getMenu();
if ($currenturl = JURI::current() == "[ www.mydomain.com/index.php/buy/checkout](http://www.mydomain.com/index.php/buy/checkout)") { ?&gt;
&lt;script type="text/javascript"&gt;
jQuery.noConflict();
&lt;/script&gt;
&lt;?php }?&gt;

I can give up the Search functionality for that page, because I don't want users to Search the site during checkout anyway.

Now I just have to figure out what other pages have the same problem and add those to the script!

If there is any other work-around, please let me know.

In the meantime, thanks for your help!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDY1My1jb3VudHJ5LXN0YXRlLXdyb25nLXBsdXMtbm9uLWFsaWduZWQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.482 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
