Zone > How to create e new type zone

  • Posts: 177
  • Thank you received: 1
7 years 5 months ago #270336

-- url of the page with the problem -- : www.andreasuriani.com
-- HikaShop version -- : 3.0.1
-- Joomla version -- : latest
-- PHP version -- : 7.0

Hi Guys,
i'm trying to create a new type zone but it seems impossible trough the control panel.

As you said on your documentation " Type : Type of the zone. It can be: country, state, tax, ship, payment or discount."
I need to create a new zone called "City".

How can i do this?

I had a look inside db but i found nothing...

Thanks in advance.

A.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
7 years 5 months ago #270340

Hi,

You can't create new types of zones.
We didn't plan on that being a possibility.
Why do you want to do that ?

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

  • Posts: 177
  • Thank you received: 1
7 years 5 months ago #270385

Hi,
I news to create a list of city to associate when the customer select Italy like a country.

I was thinking about to creat a custom field and associate it to a new area zone called "city"... I think is a good idea.

What do you think about?

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
7 years 5 months ago #270401

Hi,

Then why not change the type of the city custom field to "single dropdown" and enter the cities as values of the custom field ?
It will be faster to do and it doesn't need any modification of HikaShop.

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

  • Posts: 177
  • Thank you received: 1
7 years 5 months ago #270410

Hi,
Because there are a lot of City .... and maybe I could upload it trough SQL query... can I do the same by custom field drop down?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 5 months ago #270423

Hello,

With time and development, you can have a plugin which will create a new type of custom field which can read data from the database.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum