Home Forums WC Vendors Pro Support How to change city/town & state to select2

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #68801
    martin z
    Participant

    Hello Everyone ,
    I need a help please ,
    how to change city/town & state/county to select2 (in dashboard/setting form) like as store country (select2)

    in WCVendors_Pro_Store_Form class, there is exist functions: store_address_country, store_address_city, store_address_state.

    that is need functions to load each type field (in class-wcvendors-pro-form-helper.php ):
    in this file, has exists: country_select2.
    now, how to add new function to cover city select2 & state select2

    and how to create js file for city&state like as country (country-select.js)

    Thank you very much

    Martin

    #68894
    Anna
    Member

    @martinsby73
    Martin,
    I can help only to just guide you towards what you might need for your custom work. I do not know exactly what you are trying to achieve but I hope the results are positive and that you do not have any issues with your modifications.
    If you need to change these- most appear in the public/forms/class-wc-vendors=pro-store-form.php file.
    You might be able to use the filters for those forms to alter them and make them a select2 form using the select2 form helper format.

    #68911
    martin z
    Participant

    HI Anna ,
    Thank you so much and I will try as per you advise ,

    Thank you
    Martin

    #68957
    Anna
    Member

    @martinsby73
    You are welcome, Martin- good luck 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.