Home Forums WC Vendors Pro Support Few bugs

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!

 

  • This topic has 11 replies, 4 voices, and was last updated 7 years ago by Anna.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #59598
    Jaypreet Thukral
    Participant

    1. Vendor is able to buy its own products. This is highly risky in terms of auction, how to disable it. At the same time vendor should be able to buy other vendor products.

    2. A product is added from frontend. once added to cart it is not adding the shipping cost. please guide am I missing something.

    Thanks

    #59682
    Jaypreet Thukral
    Participant

    Waiting for your revert.

    #59690
    WC Vendors Support
    Participant

    1.) You have a false sense of what a “bug” is. That is not a bug. It works as it should. If you dont like it that’s your opinion, but you can do something about it if you want to, just go to docs.wcvendors.com and you’ll figure it out.

    2.) Cant help, you’ve given me nothing to reproduce or test.

    #59709
    Anna
    Member

    Hello,
    Are you using Vendor Shipping? wp admin > woocommerce > settings > Vendor Shipping : enable as a standalone shipping method
    Do you have this enabled: wp admin > woocommerce > wc vendors > general: Give vendors any shipping collected per-product

    #59793
    Jaypreet Thukral
    Participant

    @FEN

    Well you can say in your terms that it is an opinion. But if I see the trend of the marketplace Industry; vendor able to buy its own products, does not happen in any of the sites.

    Also with due respect I would like you understand my situation. The issues is that we two are in different timezone. When in US its night here Its day so if 1 query has to resolved its takes entire 24 hours. If I send you a question in day you reply in night as per time and I see resolution next day morning. After waiting for 24 hours if I get a reply something like this.

    [[1.) You have a false sense of what a “bug” is. That is not a bug. It works as it should. If you dont like it that’s your opinion, but you can do something about it if you want to, just go to docs.wcvendors.com and you’ll figure it out.

    2.) Cant help, you’ve given me nothing to reproduce or test.]]

    which does not tell me anything.

    For the same question Anna gave an answer and I was able to progress. At least if you guide me to the right direction I will be able to do something.

    I was able to do the shipping part- Thanks to Anna for the Guidance.

    But still I am struggling in Vendor buying its own product- I read entire files in docs, was not able to take it on my head. Please guide which documentation are you referring to in docs.wcvendors.com.

    Thanks

    P.S- I am not here to disrespect anyone. I just want things to work out in best and the positive way.

    #59883
    Jaypreet Thukral
    Participant

    Please revert.

    #59905
    Anna
    Member

    Please revert.

    What??

    For the auctions– to prevent the user form buying his or her own auctions (or bidding) you will need to write a filer that prevents the post author (vendor) from bidding on their own products.

    #59924
    Jaypreet Thukral
    Participant

    can you guide a bit more on the fliter part.

    Thanks

    #59931
    Nofski
    Participant

    yes i need revert for this too. revert goddamit!! 🙂

    #59951
    Anna
    Member

    @nofiski

    yes i need revert for this too. revert goddamit!! ?

    Reversion complete. 😉


    @jaypreet

    Essentially you will need to hide the add to cart button if the product vendor (post_author) is the one viewing the page.
    Something like this:

    /* remove add-to-cart from shop page for product author  */
    add_action('woocommerce_after_shop_loop_item_title','hide_add_to_cart_vendor_shop') ;
    function hide_add_to_cart_vendor_shop(){
        $user_id = get_current_user_id();
        $author_id = get_post_field('post_author', get_the_ID());
        if($user_id == $author_id){
            remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
        }
    }
    
    /* remove add-to-cart from single product page for product author  */
    add_action('woocommerce_before_single_product_summary','hide_add_to_cart_vendor_product_page') ;
    function hide_add_to_cart_vendor_product_page(){
        $user_id = get_current_user_id();
        $author_id = get_post_field('post_author', get_the_ID());
        if($user_id == $author_id){
            remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
        }
    }
    #60127
    Jaypreet Thukral
    Participant

    @anna

    did not work.

    admin username : jaypreet
    pssowrd: te98686te

    #60192
    Anna
    Member

    @jaypreet
    I said “Something like this:…” and gave a good guideline for your to start with. You’ll likely need to modify it for the auctions, or perhaps for your theme?

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