Home Forums WC Vendors Free Support Updating Shop Name and $shop_page link during Registration

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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4766
    chainznanz
    Participant

    Hi Ben/Jamie

    I’m asking Vendors for their first name and last name during registration from the ‘My Account’ page. I use the first name and last name fields to update Billing first name and last name fields. I also want to update the $shop_page link and Shop Name from the same fields. Is it possible?

    So upon registration, the vendor ‘Super Jack” will have http://awesomestore.com/vendors/super-jack ready, without going to the Shop Settings page.

    (I’m hiding the Store Settings page from Vendors since Seller Info etc. are added from the ‘My Account’ page itself)

    Thanks a million!

    P.S. This code from Jamie updates Shop Name but not $shop_page link. Also this set during login, and not registration.

    #4770
    WC Vendors Support
    Participant

    This is already part of WC Vendors as of v1.7.0:

    wp-admin->WooCommerce->WC Vendors->Vendor Display Name(Display Name) for this. 🙂 No custom code, no configuration, just works!

    #4775
    chainznanz
    Participant

    Ben, you are awesome 🙂 And I should be paying attention to the changelog!

    Thanks again.

    #4777
    chainznanz
    Participant

    Ben, I noticed that $shop_page link is still set from the userid/email address, unless the vendor goes to the shop settings page and enters the Shop Name. Is it possible to set the $shop_page link to ‘firstname-lastname’ at the time of registration?

    Apologies if there is a simple answer to this, that I haven’t figured out.

    #4779
    WC Vendors Support
    Participant

    Sure, you can do anything! 🙂 It’s time to learn some PHP. If I write this for you, you’ve learned nothing! But if you are given the tools to write this, you will learn everything. 🙂

    https://wordpress.org/support/topic/add-fields-to-woocommerce-registration-form?replies=19

    That thread shows a number of solutions that should work just fine. Particularly, the post by “karbanovich” in that thread is the solution you want. 🙂

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