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.
Thank you to all of our customers!
- This topic has 16 replies, 3 voices, and was last updated 8 years, 6 months ago by WC Vendors Support.
-
AuthorPosts
-
September 7, 2015 at 2:12 am #8408Resource BucketParticipant
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.
September 7, 2015 at 11:58 am #8423WC Vendors SupportParticipantThanks, 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
September 7, 2015 at 12:06 pm #8428Resource BucketParticipantActually, 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…
September 7, 2015 at 12:11 pm #8430WC Vendors SupportParticipantAccess 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
September 7, 2015 at 12:39 pm #8432Resource BucketParticipantBen, 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.
September 7, 2015 at 12:41 pm #8433Resource BucketParticipantIn 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…
September 7, 2015 at 2:03 pm #8435Resource BucketParticipantHi 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.
September 7, 2015 at 2:19 pm #8439WC Vendors SupportParticipantThis 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
September 7, 2015 at 2:48 pm #8441Resource BucketParticipantSure, let me test the same and will update accordingly…
October 7, 2015 at 10:58 pm #10304SamParticipantSame issue, any solution found?
October 7, 2015 at 11:01 pm #10305WC Vendors SupportParticipantSam, did you do the tests as I asked Resource Bucket to perform? If so, what are the results of each?
October 7, 2015 at 11:30 pm #10307SamParticipantBen,
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_bookingsMy 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_bookingsSam
October 7, 2015 at 11:33 pm #10308WC Vendors SupportParticipantHi 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.
October 7, 2015 at 11:34 pm #10309SamParticipantWill do.
Thanks again!
SamOctober 8, 2015 at 12:17 am #10310Resource BucketParticipantSam, 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…
October 9, 2015 at 7:50 pm #10434SamParticipantSo 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
October 9, 2015 at 8:46 pm #10437WC Vendors SupportParticipantThanks for the followup guys!
-
AuthorPosts
- The forum ‘WC Vendors Free Support’ is closed to new topics and replies.