Home Forums WC Vendors Free Support Vendor View Store showing him the complete site

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 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #8408
    Resource Bucket
    Participant

    First of all, thanks for this wonderful plugin and I cannot wait for the update and pro release.

    I have installed the wc vendor on demo site where it was working fine with vendor post login is able to see what he is selling on his store. Based on that I followed the same process to the main site, where everything worked fine except that when vendor on vendor dashboard go to view your store, he sees the complete site rather than just his uploaded/on sale items.

    Tried everything, including uninstalling and resetting, but it is still the same. Am I missing something or did I do something wrong. I though have added few filters (as shown in your forum) for removing sold by from few pages.

    #8423
    WC Vendors Support
    Participant

    Thanks, glad you are beginning to get good use out of WC Vendors. 🙂

    So you’re saying when:

    1.) Vendor logs in
    2.) Vendor goes to yourdomain.com/vendor_dashboard/
    3.) Vendor clicks “View Your Store” and it takes them to the homepage instead of yourdomain.com/vendors/vendor-store-name/?

    Ben

    #8428
    Resource Bucket
    Participant

    Actually, the permalinks shows that the vendor is only going to domain/vendors/vendorname only, but somehow that page is having products/uploads from all vendors. Not that it can play with any of published products, but just has to search for his products rather than directly getting them.

    I tried, uninstalling and reinstalling. I also tried creating multiple vendors and uploading different products from different vendors, but to the same result.

    If that helps, I am also using Advanced Access manager plugin – to restrict shop manager and vendor capabilities – but the issue was present even before AAM installation. Just for info…

    #8430
    WC Vendors Support
    Participant

    Access manger plugins……. They are the black sheep for web admins. They tend to do more damage than they do good. WC Vendors properly sets the role for Vendor and Pending Vendor, and our settings panel handles all the capabilities. I would start there for sorting out what’s messed up. You can see the capabilities the Vendor role should have here:

    https://github.com/wcvendors/wcvendors/blob/master/classes/class-install.php (Line #66)

    As for the Shop Manager role, we don’t modify it at all, so you can do whatever you like with that one. 🙂

    Once you modify roles, with any plugin, even if you deactivate that plugin the changes still persist, so you’ll have to figure out what went wrong and go from there.

    Ben

    #8432
    Resource Bucket
    Participant

    Ben, I checked the capabilities and they are the same. I only changed a small capability as I don’t want my vendors to access the Media folder (wordpress media folder) and that is the only thing that I have restricted.

    And as a matter of fact, I will add AAM on the demo site which will testify whether it is this plugin or something else that I have done is doing the damage.

    Will update the same after testing it.

    #8433
    Resource Bucket
    Participant

    In the mean time, could you direct me how WC vendor generate that view your store page from Vendor Dashboard.

    As, as an after thought, I am restricting the functionalities of Vendor – whereas the vendor here on my site is gaining the things as he can see products from all vendors in his store … Just a small food for thought…

    #8435
    Resource Bucket
    Participant

    Hi Ben,

    As earlier suggested, I tested the AAM plugin on demo site and reduced the capabilities to the same extent as on main site. But the view your store is functioning as it was functioning earlier- shows only the vendor items to them.

    Believe, there is something else that I have messed up while building the main site. Could you think of something that might disturb that page generation.

    #8439
    WC Vendors Support
    Participant

    This is a tough one to make an educated guess on, I’ve never seen this problem before.

    1.) Try the default twentyfifteen or Storefront theme. Does it work? If yes, it’s a theme issue. If no, go to step 2:

    2.) Disable all plugins except WooCommerce & WC Vendors. Does it work? If yes, re-enable plugins one by one and test the page each time. When it stops working, the plugin you just re-activated is causing some sort of conflict somewhere.

    Let me know!

    Ben

    #8441
    Resource Bucket
    Participant

    Sure, let me test the same and will update accordingly…

    #10304
    Sam
    Participant

    Same issue, any solution found?

    #10305
    WC Vendors Support
    Participant

    Sam, did you do the tests as I asked Resource Bucket to perform? If so, what are the results of each?

    #10307
    Sam
    Participant

    Ben,
    I’ve just been made aware of this from one of the vendors. I’ve not been able to run through all the trouble shooting steps, I will. However, it seems to only be effecting one of my five vendors. My dummy vendor profile is not suffering any unexpected behavior.
    This is a new site, one of the goals is to be very easy to maintain, so very few plugins are installed. I did make the mistake of trying someone else’s plugin for multi-vendor support. Unfortunately I cannot remember which users were active before trying your wonderful product. (They actually recommended I run your plugin to get their’s to function correctly.) Anyway, as it is only the single vendor (I think) would that point towards plugin conflicts?

    I did notice that the vendor in question has the following permissions
    Capabilities
    edit_product, read_product, delete_product, edit_products, edit_others_products, delete_products, delete_published_products, delete_others_products, edit_published_products, assign_product_terms, upload_files, manage_bookings

    My test vendor has the same list (but cannot view other products, is working as expected)
    Capabilities
    edit_product, read_product, delete_product, edit_products, edit_others_products, delete_products, delete_published_products, delete_others_products, edit_published_products, assign_product_terms, upload_files, manage_bookings

    Sam

    #10308
    WC Vendors Support
    Participant

    Hi Sam,

    Probably those retards from DualCube. All they do is copy and paste plugins to “create” their own and break things along the way. Then they try to change things and break the hell out of them. If only the knew PHP. It’s funny, but sad, at the same time. 😉

    Most likely, that plugin has messed up that users account. I would delete their account, and have them re-upload products if it’s only affecting one account.

    #10309
    Sam
    Participant

    Will do.
    Thanks again!
    Sam

    #10310
    Resource Bucket
    Participant

    Sam, Ben…

    I am sorry for being late to this discussion and not letting everybody know about the test results… Well the reason being that I didn’t test it fully… but mostly, with whatever test I have done I can say Ben was almost correct…

    I tried the plugin with different themes and it works as expected, so thought that it might be theme issue. However, post that I did a clean install and tried that plugin with my theme and voila, it worked… so got confused again…

    Next I did, tried few plugin installation and it kept working…

    So, my take is (am guessing) that in between theme installation and plugin installation, we have done something (couldn’t figure out, what) that broke the permission or functionality…

    One thing that I haven’t tested is, what if I change the theme on my running site (where the plugin seems to not work as expected) and see if that changes anything. If the reinstallation of theme make the plugin work, then Ben is fully correct – but during my last month I was not able to check/test that… If you do, let me know the results…

    #10434
    Sam
    Participant

    So I took a little bit of an out of the way path to get it fixed (fixed is a stretch)
    I created a new user as a place holder, deleted the one that was having issue and attributed the products to the new place holder. Then I recreated the users account and deleted the place holder, attributing the products to the user.
    The created user’s account were started as contributors. After creation I switched them to vendors.

    Anyway, problem solved, if not fixed.

    Sam

    #10437
    WC Vendors Support
    Participant

    Thanks for the followup guys!

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