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

#   Hide states

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

12 years 9 months ago [\#142241](#142241) by [jgowans](/forum/user/30912-jgowans "View jgowans's Profile")  *[Hide states](/forum/27-checkout/865548-hide-states#142241 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  We only ship to the US, so I unpublished all other countries assuming that the states would unpublish as well, however as you see from the attachment (issue.jpg), states from unpublished countries still display. I'm wondering if there is a fast way to unpublish all states (as opposed to doing 20 at a time for over 4,000 states... view 'holycow.jpg'). Thanks for your help.  Josh")* was created by *[jgowans](/forum/user/30912-jgowans "View jgowans's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

We only ship to the US, so I unpublished all other countries assuming that the states would unpublish as well, however as you see from the attachment (issue.jpg), states from unpublished countries still display. I'm wondering if there is a fast way to unpublish all states (as opposed to doing 20 at a time for over 4,000 states... view 'holycow.jpg'). Thanks for your help.

Josh

- [ ![hc95730c.jpg](/forum/attachment/15059) ](/forum/attachment/15059 "hc95730c.jpg") [ ](/forum/attachment/15059?download=1 "hc95730c.jpg")
- [ ![hd812163.jpg](/forum/attachment/15060) ](/forum/attachment/15060 "hd812163.jpg") [ ](/forum/attachment/15060?download=1 "hd812163.jpg")

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 9 months ago [\#142246](#142246) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Hide states](/forum/27-checkout/865548-hide-states#142246 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  We only ship to the US, so I unpublished all other countries assuming that the states would unpublish as well, however as you see from the attachment (issue.jpg), states from unpublished countries still display. I'm wondering if there is a fast way to unpublish all states (as opposed to doing 20 at a time for over 4,000 states... view 'holycow.jpg'). Thanks for your help.  Josh")*

Hi Josh,

You should change the default value for the custom field "country" to "united states of America" and then change the default value of the state to the one you want. Thus, only American states will be available on the front end and you don't have to unpublish the rest. You can change these parameters in Display&gt;Custom Fields.

I hope it will answer your questions!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NTU0OC1oaWRlLXN0YXRlcz90bXBsPW1hcmtkb3du) 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.044 seconds

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