Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › WCFM + WC membership integration help
- This topic has 13 replies, 4 voices, and was last updated 7 years ago by Shhiv Narayan.
- AuthorPosts
- November 16, 2017 at 11:02 am #15820Gianluca Molina – WebePcGuest
Hello
On behalf of a customer I am creating a marketplace
I’m meeting three issues with the purchased plugin:
1) I have disabled both virtual and downloadable products for the typologies: in the dashboard above the title, unwanted options still appear!
2) Is the plugin compatible with WC membership?
How do I make sure that the user from her control panel can see her membership status and eventually buy upgrades? - November 17, 2017 at 4:40 am #15839SimhaGuest
Hi,
Thanks for get in touch with us and just relax, we will help you all the way.
1. I think you have disabled Product options from mlti-vendor plugn settings panel. Kindly use WCFM capability controller for the purpose.
Go to WCfM admin settings -> Capability2. No, WCfM not works with WC Membership, but to display Membership status and upgrade option is possible and very easy to acieve as well. We will help you to do so of course.
Thank You
- November 17, 2017 at 12:16 pm #15843Gianluca Molina – WebePcGuest
Hi Simha
1) Very thanks!
The panel button was unobtrusive … it would have to be more highlighted! 🙂
I have disabled the various options but the empty menu remains! can you remove it? (simple product, variable, etc.)?looking:
https://postimg.org/image/e477v3guj/2) What do I have to do to make it appear?
p.s
At the top right above the dashboard you see the H1 title of the site: can you remove it? - November 17, 2017 at 3:27 pm #15845Simha RaiModerator
Hi,
If you remove all the product types then product manager will become non functional.
If you want to use this only for “Simple Product” then keep that produt type alive and may hide that box using CSS easily.
Which H1 tag you refer, can you pleas show me a snap of the same!!
First tell me where you want to show membership options to vendors? I will guide according to that.
Thank You
- November 18, 2017 at 2:31 pm #15863Gianluca Molina – WebePcGuest
Ok: I activated the “simple product” and hidden through CSS
Looking tag:
https://postimg.org/image/cbvvhftqj/The sticker might be right next to the user name with the button link to buy membership packs
- November 19, 2017 at 10:42 pm #15881WCFM ForumMember
Hi,
Ok, that’s great.
In dashboard welcome box all the text goes through filter so you can add your any text/content easily.
Welcome message goes through “wcfm_dashboard_welcometext” filter.
Vendor name goes through “wcfm_dashboard_username” filter.Just to mention, admin dashboard texts also has same filters so add your custom codes under user role check.
You may use “wcfm_is_vendor()” function to check whether a logged in user is vendor or not?Please know me if you required any further assistance.
Thank You
- November 20, 2017 at 9:47 am #15910Gianluca Molina – WebePcGuest
Those who access are all sellers.
Only we had a “free” package, a “bronze”, “silver” and “gold” paid (except the first obviously)
I should ensure that the user’s membership level (levels achieved with the WC Marketplace add-on membership) is visible directly from the control panel
is this possible?
p.s I am not a PHP developer 🙁
- November 21, 2017 at 4:55 am #15915WCFM ForumMember
Ahh .. thanks for your last line then we are wasting time by sharing help texts.
Let me write the code for you.I will send you custom code for showing membership label beside user name.
You just have to add that to your child theme’s functions.php – are you comfortable with this?Between, where should I link that sticker?
Thank You
- November 22, 2017 at 2:47 pm #15963Gianluca Molina – WebePcGuest
Absolutely: for this I have no problem!
- November 24, 2017 at 3:23 pm #16062WCFM ForumMember
Hi,
Here is the custom code for you –
function wcfm_dashboard_user_membership_info( $display_name ) { if( wcfm_is_vendor() ) { $user_id = apply_filters( 'wcfm_current_vendor_id', get_current_user_id() ); $plan_id = get_user_meta( $user_id, 'vendor_group_id', true ); if (!empty($plan_id) && $plan_id != 0) { $plan = get_post($plan_id); $date_time_subscription = get_user_meta($user_id, 'vendor_plan_start_date_time', true); $status = get_user_meta($user_id, 'wcmp_vendor_plan_status', true); $trial_subscription = get_user_meta($user_id, '_is_trial', ''); $trial_amount = get_user_meta($user_id, '_trial_amt', '0'); $subscription_amount = get_user_meta($user_id, '_vendor_billing_amt', '0'); if ($trial_subscription == '1' && $trial_amount > 0) { $due_amount = $trial_amount; } else { $due_amount = $subscription_amount; } $plan_title = $plan->post_title; if( $plan_title ) { $display_name .= '<span class="wcfm_dashboard_ membership_display">' . $plan_title . '</span>'; } } } return $display_name; } add_filter( 'wcfm_dashboard_username', 'wcfm_dashboard_user_membership_info' );
I didn’t add any style for that, please use “wcfm_dashboard_ membership_display” class to define your style for that.
Please know me is this works fro you or not!
Thank You
- November 27, 2017 at 2:16 pm #16221Gianluca Molina – WebePcGuest
Hi!
I tried adding the filter to the WordPress theme functions.php file used but … nothing appears!
- November 27, 2017 at 4:27 pm #16222SimhaGuest
Hi,
We have tested the code and then send to you.
Hope you have latest WCfM 3.3.1
You are using WCMp Membership plugin!
If possible share your site access with us, we will integrate the code into your site.
Thank You
- November 27, 2017 at 8:36 pm #16232Gianluca Molina – WebePcGuest
I got it all up to date
I can send you access as admin
With what email do I create the account?
- November 27, 2017 at 11:59 pm #16236Shhiv NarayanMember
Kindly submit your details from here – https://wclovers.com/contact-us/
I will have all those in my personal email.
Thank you
- AuthorPosts
- The topic ‘WCFM + WC membership integration help’ is closed to new replies.