VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Coding Central => Topic started by: servlet on January 08, 2017, 15:58:56 PM

Title: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: servlet on January 08, 2017, 15:58:56 PM
I want to suggest Bulgarian states to implement in next version of VM. What is needed?
CSV file
SQL file

to import it in _virtuemart_states

Please describe what is needed.
I have it in database and import them via CSV/SQL in new sites. I want to share them...
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: jjk on January 08, 2017, 16:54:33 PM
That would make sense only if the Bulgarian states (Administrative Divisions) are required in the postal address or if they have different sales tax rules. As far as I know both cases are not applicable.
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: servlet on January 08, 2017, 17:07:47 PM
They are required in the postal address... so it is needed to be displayed for users.
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: Milbo on January 09, 2017, 09:44:50 AM
Hello Servlet, the most used way is todo an export in the same format as we provide them in the install_required_data.sql. Or in other words, just attach them to the already listed states and provide the file here, I will add it then.

BTW, we also add states, even you do not need them for postal services. Then they normal state should be unpublished.
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: servlet on January 27, 2017, 09:01:02 AM
Thank you for instructions...
I get from install_required_data.sql com_virtuemart.3.0.19.1.zip
I hope this is the latest version of this file.
So I inserted Bulgarian states as it is shown inside.

Bulgarian states start from ID 832 to 858
Please check and if everything is good, please add it to next stable version of Virtuemart.
Thank you.
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: Milbo on January 27, 2017, 12:21:14 PM
Thank you,

btw, I am thinking about to create an sql file just for the states and to move it into the AIO
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: Milbo on January 28, 2017, 13:52:01 PM
Please check the vm3.0.19.2 for the states
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: servlet on January 29, 2017, 18:06:56 PM
Thank you
I will try in my next project

I just ask. If I update VM will it update state table?

For AIO
I suggest to separate plugins for single installation. And in VM installation include standard payment and shipping plugin.
At this moment when I install AIO it insert a lot of extension which I dont use. The same is with other users... If I need paypal payment plugin i prefer to install in, but if I dont need it in current project why to be installed? The same is with all other...
Just think about this.
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: servlet on May 19, 2018, 15:00:08 PM
After update to latest version states disappeared...
Where is the problem. Removed from the core or something else...
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: Milbo on May 29, 2018, 16:09:34 PM
I have the bulgarian states. I also checked the sql, they are there
Title: Re: Suggest - import Bulgarian states - WHAT IS NEEDED
Post by: servlet on May 31, 2018, 08:46:02 AM
Strange... I will check again.
Thank you