Home Forums WC Vendors Pro Support Coupons created by the Vendors are not seen on their Dashboard

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
  • #65361
    Malavika Gupta
    Participant

    Vendor can create coupon. The coupon does get created as they can be seen at WooCommerce -> coupon but these coupons are not shown on the Vendor Dashboard.

    For every product created by the vendor, automatically a blank coupon gets created with the same name as the product.

    Please see attached snapshots.

    Thanks

    #65706
    Anna
    Member

    Hello,

    For every product created by the vendor, automatically a blank coupon gets created with the same name as the product.

    I do not understand..
    You said that you cannot see the coupons.. but a new coupon is created each time a vendor lists a product?

    #65736
    Malavika Gupta
    Participant

    Yes that is correct.

    1. When a vendor creates a product, a coupon with the same name gets created automatically. For Example, when vendor created a product called Heishi, an entry happens in the coupon with the name Hieshi. Please see the above two snapshots for the list of products and coupons on the Vendor Dashboard.

    2. When Vendor creates a coupon like 20percent, 5percent as mentioned in the above snapshot and saves them. He can’t see the coupons on his Dashboard. But the coupons do get created as they can be seen at WooCommerce -> coupon.

    I even tested with the coupon that the Vendor created and the coupon works fine but its just they are not seen on the Vendor Dashboard rather for every product a blank coupon gets created.

    Please do let me know if you need further clarification.

    Thank you

    #65742
    Anna
    Member

    @malavika-prav
    This is very strange.. I have never heard of anything like this happening before!
    Have you tried debugging by deactivating all plugins except for WooCommerce, WC Vendors and WC Vendors Pro.. then testing to see if the issue still occurs?

    Would you please share your WooCommerce System Status?
    wp admin > woocommerce > system status

    #66293
    Malavika Gupta
    Participant

    I had this code in functions.php file which was causing the above issue. Can you please guide what could be the problem with this code? Thanks!

    function products_only_search($query)
    {
    if ($query->is_search) {
    $query->set(‘post_type’, array(
    ‘product’
    ));
    }
    return $query;
    }
    add_filter(‘pre_get_posts’, ‘products_only_search’);

    #66385
    Anna
    Member

    @malavika-prav
    Sorry- I do not know why that added query code was affecting the coupons in this fashion.

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