Home Forums WC Vendors Pro Support Vendor Application Form

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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #26818
    Willard
    Participant

    Hey Ben.
    I’ve just bought Vendors pro and I’m still testing it out. I love it. I have one challenge though. In my country we do not use states and zip codes. I want to remove them from the vendor application form since they may be annoying to some vendors. please help.

    #26826
    WC Vendors Support
    Participant

    Glad you’re in love! 🙂

    Removing the states and zip codes is pretty easy, I’m on a mobile phone right now so bear with this untested code that goes in your themes functions.php file and give it a shot:

    add_filter('wcv_vendor_store_state', 'custom_wcv_remove_state_zip');
    add_filter('wcv_vendor_store_postcode', 'custom_wcv_remove_state_zip');
    function custom_wcv_remove_state_zip(){
        $custom = '';
        return $custom;
    }
    
    #26833
    Willard
    Participant

    The zip code is gone. But the state/county is still there. Is there a way of changing state/county to Province since we use provinces instead of states. If changing is not an option deleting will be just fine.

    #26836
    Willard
    Participant

    Ben I don know what I was thinking there. The code did not work. The zip code is still coming up in the form

    #26915
    Willard
    Participant

    Hi Ben
    Did you manage to get the solution for my request. I would like to start adding vendors as soon as possible but I can not begin before I fix that. Thanx in advance

    #26969
    WC Vendors Support
    Participant

    Don’t worry, we always reply. Please do not create multiple threads as you did for the same question, as they get deleted and you’re just costing us time and delaying the support time for others.

    I noticed an issue with the filters, in that it will still show the input form, it just removes the text. We’ll have to recode where the filters fire from in a future release. For now, you will have to edit the plugins core in order to make these changes:

    Edit: /public/forms/wcvendors-pro-address.php

    And remove lines #63 to #83. Or, alternatively, if you wanted to rename State to Province you can make the text changes in there.

    Cheers

    #27036
    Willard
    Participant

    Thanx Ben for your help.

    It worked. What happens then when an update comes along.Isn’t there a where of editing this in the themes folder just like we do with the templates

    #27044
    WC Vendors Support
    Participant

    Hi Willard,

    When you see v1.3.0 released, bump this thread, and I’ll give you some replacement filter code that will achieve the same results. Or even better we might just make that file into a template instead, which would probably be the best thing to do. Whatever Jamie decides, we’ll be here the entire way so watch for v1.3.0 in the coming weeks.

    Cheers

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