Forum Replies Created
-
AuthorPosts
-
topherParticipant
I’m using this solution currently with the buddyboss theme. Still in the testing stages but I just noticed that the permissions were not being granted to the Vendors to upload images. Don’t know if this is something that’s already been mentioned but to fix the problem I added a bit to your set_role code (which I borrowed from: Resetting the Vendor & Pending Vendor Roles). I’ll let you know if I run into any issues but so far so good.:
if($level_id == 1) { //New member of level #1. Give them Vendor role. $wp_user_object->set_role( 'vendor', 'Vendor', array( 'assign_product_terms' => true, 'edit_products' => true, 'edit_product' => true, 'edit_published_products' => false, 'manage_product' => true, 'publish_products' => false, 'read' => true, 'upload_files' => true, 'view_woocommerce_reports' => true, ) ); }
topherParticipantThanks again Ben.
Just starting to play with Pro and it’s great! Can’t wait to really get into it.
Cheers,
ChristopherParticipantLittle off topic, but I’d purchased this plugin about a year ago, and today thought I had to purchase it again because my account was empty. But when I purchased it again today they both showed up, and now I have to of the same downloads? It’s a lot of extra cash for something I had already purchased, I know you don’t do returns but this was a glitch with your myaccount pages until I made a new purchase?
Any way we can sort this out?
Thanks
ChristopherParticipantHi Jamie, I have the sample code you provided working just fine but what I noticed is that if you add a cost and save it theirs no problem. But then you change your mind and try to remove it by just deleting the cost on the frontend it doesn’t pick up that change in the backend? Any thoughts?
Thanks,
Chris -
AuthorPosts