Hide states

  • Posts: 11
  • Thank you received: 0
11 years 4 months ago #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_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

Attachments:

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

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #142246

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.066 seconds
Powered by Kunena Forum