WCFM + WC membership integration help

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM WCFM + WC membership integration help

Viewing 13 reply threads
  • Author
    Posts
    • #15820
      Gianluca Molina – WebePc
      Guest

      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?

    • #15839
      Simha
      Guest

      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 -> Capability

      2. 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

    • #15843
      Gianluca Molina – WebePc
      Guest

      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?

    • #15845
      Simha Rai
      Moderator

      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

    • #15863
      Gianluca Molina – WebePc
      Guest

      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

    • #15881
      WCFM Forum
      Keymaster

      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

    • #15910
      Gianluca Molina – WebePc
      Guest

      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 🙁

    • #15915
      WCFM Forum
      Keymaster

      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

    • #15963
      Gianluca Molina – WebePc
      Guest

      Absolutely: for this I have no problem!

    • #16062
      WCFM Forum
      Keymaster

      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

    • #16221
      Gianluca Molina – WebePc
      Guest

      Hi!

      I tried adding the filter to the WordPress theme functions.php file used but … nothing appears!

    • #16222
      Simha
      Guest

      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

    • #16232
      Gianluca Molina – WebePc
      Guest

      I got it all up to date

      I can send you access as admin

      With what email do I create the account?

    • #16236
      Shhiv Narayan
      Keymaster

      Kindly submit your details from here – https://wclovers.com/contact-us/

      I will have all those in my personal email.

      Thank you

Viewing 13 reply threads
  • The topic ‘WCFM + WC membership integration help’ is closed to new replies.