Home Forums WC Vendors Free Support VENDOR ID

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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #66882
    Angelo
    Participant

    Hi,
    we are testing WC Vendors free to check if we can realize our idea: a store where a customer can enter a single vendor store and buy ONLY from that vendor (http://www.km-bio.es/tiendas/hevilla/), so the customer doesn’t know about the other vendors stores, he/she just know about his vendor shop (PLEASE NOTE: we disabled the click to single product page because we need the customer to stay only in the shop page)

    Doing so we need to be able to understand programmatically, in the checkout page, which is the vendors is selling the products (vendor ID or vendor email,i mean, anything permit to identify in a unique way the vendor) , so, using this plugin https://codecanyon.net/item/woocommerce-checkout-field-editor/11725925 we will be able to display/show fields in due the vendor characteristics.

    I hope i explain better then i did in this support post (https://wordpress.org/support/topic/single-vendor-code/#post-9185839), i’m sorry. 🙂

    Thank you very much
    Angelo

    #67228
    Anna
    Member

    @angelo
    I know you have explained more here.. but.. I am still struggling to figure out what exactly you are asking me to provide to you.
    what do you want to remove from the checkout page? The “sold by” part? (that just leads to the vendor store..)
    I would like to help, I just cannot quite figure out what you are looking for. 🙁 Sorry–

    #67340
    Angelo
    Participant

    Anna, thank you for your time!

    i will try to explain it more simply:

    With WC Vendors plugin the customer is intended to be free to navigate in every store the site offer, buying products from different vendors.

    Our idea is to use VC vendors to create a multi store on a single site BUT we want the customer can buy products only from a single vendor, i mean, we will give to the customer only his vendor shop URL, so the customer will buy only a Vendor products; you can see a vendors shop page here http://www.km-bio.es/tiendas/hevilla/

    Since every vendor want to have specific information from his customer we thought to install this plugin (https://codecanyon.net/item/woocommerce-checkout-field-editor/11725925) that permit us to create customs fields con the checkout page…. BUT since EVERY vendor has HIS custom fields we want to hide/show fields based on the vendor the customer is buying from…. so, for example:

    If in the cart there are product only from the vendor A, we will display the custom checkout fields of the vendor A, and if the vendor is the B, we will show the B custom checkout fields and hide the A fields…

    So we want to create a snippet that do:

    Loop on all cart products, get the Vendor ID from every product and if there is more than 1 vendor ID fire a error message (f.e: you cannot buy from more than one vendor)…and if there is just one Vendor we will manage the custom fields for that vendor.

    Obviously we can do this logic manually by asking the customer to choose his vendor from a combo box in the checkout page, but, it would be more efficient to do it automatically but the snippet…

    Hope i did it in a good way this time…. thank you again Anna
    Angelo

    #67495
    Anna
    Member

    Angelo,
    This is going to require quite a bit of custom coding for your idea to work. Not impossible- but it will be a challenge.
    You might want to look at this forum thread, where some people have worked with creating a “one vendor” cart solution– but please bear in mind that I have note tested this and we do not support it because this is not how our plugin is formatted for checkout.

    I hope I have helped, I can get an idea of that you are trying to do, but it is quite a bit out of the scope of our support since we just do not support this type of alteration to our checkout configuration. 🙁

    #67556
    Angelo
    Participant

    Anna, that’s the answer i hoped!!!! THANK YOU VERY MUCH… this is definitely what i need!!

    Angelo

    #67618
    Anna
    Member

    @angelo
    Great! Glad to hear it. I hope that you are able to do as you wish with your website.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.