Skip to main content

Zone > How to create e new type zone

More
9 years 4 months ago #270336 by andreasuriani
-- 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.

More
9 years 4 months ago #270340 by nicolas
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.

More
9 years 4 months ago #270385 by andreasuriani
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.

More
9 years 4 months ago #270401 by nicolas
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.

More
9 years 4 months ago #270410 by andreasuriani
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.

More
9 years 4 months ago #270423 by Jerome
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.

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

Time to create page: 0.173 seconds
Powered by Kunena Forum