Skip to main content

Hide states

12 years 9 months ago #142241 by jgowans
Hide states was created by jgowans
-- 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_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

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

12 years 9 months ago #142246 by Eliot
Replied by Eliot on topic Hide states
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>Custom Fields.

I hope it will answer your questions!

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

Time to create page: 0.058 seconds
Powered by Kunena Forum