WC Lovers » All Posts https://wclovers.com/forums/forum/wcfm-groups-staffs/feed/ Sat, 06 Apr 2024 09:53:16 +0000 https://bbpress.org/?v=2.6.9 en-US https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-140184 <![CDATA[Reply To: Custom Product Type, capabilities]]> https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-140184 Wed, 10 Jun 2020 07:05:57 +0000 dominicanstrading Thank you very much for this powerful information.

Regarding Fooevents Express check-in addon, in the post you are refering here https://wclovers.com/forums/topic/use-the-fooevent-full-house-bundle-plugin/ your support explain that “fooevents express check-in will be added soon and working on it” i installed the addons but not show the express check-in inside wcfm, i’m missing something? need to add the endpoint in menu? or addon not integrated yet?

Thanks for help.

]]>
https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139976 <![CDATA[Reply To: Custom Product Type, capabilities]]> https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139976 Tue, 09 Jun 2020 16:00:20 +0000 Sarmistha Chakraborty Hello,

To show Event tab for only product type “ticket”, use this below code –

add_filter('wcfm_pm_block_class_fooevents',function($cls){
	global $WCFM, $WCFMu;
	$cls = 'non-simple non-variable ticket'; //replace ticket with your required custom product type
	return $cls;
},10);

mark “Is this product an event?: YES” by default?
>>By-default we don’t have this feature, It will need some customization,
Add this code in your functions.php –

add_action('begin_wcfm_products_manage_form',function(){
	global $wp, $WCFM;
	$WooCommerceEventsEvent = 'not-select';
	$product_id = 0;	
	if( isset( $wp->query_vars['wcfm-products-manage'] ) && !empty( $wp->query_vars['wcfm-products-manage'] ) ) {		
		$product = wc_get_product( $wp->query_vars['wcfm-products-manage'] );		
		if( !is_a( $product, 'WC_Product' ) ) {
			wcfm_restriction_message_show( "Invalid Product" );
			return;
		}			
		// Fetching Product Data
		if($product && !empty($product)) {
			$product_id = $wp->query_vars['wcfm-products-manage'];
			$WooCommerceEventsEvent = get_post_meta($product_id, 'WooCommerceEventsEvent', true);;
		}
	}
	 ?>
	<input type="hidden" id="checkeventload" value="<?php echo $WooCommerceEventsEvent; ?>">
 <?php		
 			
});

And add below js code in your theme’s js file –

jQuery(document).ready(function ($) {
if( $('#WooCommerceEventsEvent').length > 0 ) {
    if ($('#checkeventload').val() == 'not-select') {
      $('select#WooCommerceEventsEvent option[value="Event"]').attr("selected",true);
      $('select#WooCommerceEventsEvent option[value="Event"]').change();
    }
  }
});

wcfm ultimate has compatibility with FOOEVENTS EXPRESS CHECK-IN addon?
>>Yes, https://wclovers.com/forums/topic/use-the-fooevent-full-house-bundle-plugin/

Thanks.

]]>
https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139904 <![CDATA[Reply To: Custom Product Type, capabilities]]> https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139904 Tue, 09 Jun 2020 12:13:07 +0000 dominicanstrading wow, work perfect! thank you very much,

something I forgot to ask, please help me with this. I use FOOEVENTS for this new Product Type “Ticket” how I limit the “Event” tab show only for this “Ticket” product type when is selected in product type dropdown?, also mark “Is this product an event?: YES” by default? please give me a solution for “Ticket” and the possibility to add another product type with this condition in case I need it.

a last question, wcfm ultimate has compatibility with FOOEVENTS EXPRESS CHECK-IN addon?

Have a nice day and thank you for your great support!

]]>
https://wclovers.com/forums/topic/vendors-cant-upload-images-to-products-what-to-do/#post-139585 <![CDATA[Vendors can’t upload images to products. What to do?]]> https://wclovers.com/forums/topic/vendors-cant-upload-images-to-products-what-to-do/#post-139585 Mon, 08 Jun 2020 12:04:42 +0000 aileen Hi,

Please help about this issue: Vendors (Memberships) can’t upload images to products. “An error occurred while loading. Please check again later.”

function allow_vendors_media_uploads() {
$vendor_role = get_role(‘seller’);

// Ensure Vendors Media Upload Capability
$vendor_role->add_cap(‘edit_posts’);
$vendor_role->add_cap(‘edit_post’);
$vendor_role->add_cap(‘edit_others_posts’);
$vendor_role->add_cap(‘edit_others_pages’);
$vendor_role->add_cap(‘edit_published_posts’);
$vendor_role->add_cap(‘edit_published_pages’);
$vendor_role->add_cap( ‘upload_files’ );
}
add_action( ‘init’, ‘allow_vendors_media_uploads’ );

This code also not helped..

]]>
https://wclovers.com/forums/topic/group-auto-assignment-on-registration-cannot-see-option-auto-assign-vendor/#post-139525 <![CDATA[Reply To: “Group auto-assignment on Registration” – cannot see option auto-assign Vendor]]> https://wclovers.com/forums/topic/group-auto-assignment-on-registration-cannot-see-option-auto-assign-vendor/#post-139525 Mon, 08 Jun 2020 08:23:16 +0000 web-3134 Hello,

I would like to do just the same:
– a new vendor can register using [wcfm_vendor_registration] and is assigned to default membership (I created and set a default membership)
– later on he can select a different membership (I created more membership but don’t want to show them on registration)

1) I created a page using the [wcfm_vendor_registration] shortcode but something doesn’t work:
– verification code is not sent
– State dropdown list is empty
– tooltips are not displayed
is this a javascript issue or what?

2) how can I modify the link “become a vendor” placed under WooCommerce Registration Form? Now it points to Vendor Membership Page [wcfm_vendor_membership] but I need it to point to Vendor Registration Page [wcfm_vendor_registration]

]]>
https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139486 <![CDATA[Reply To: Custom Product Type, capabilities]]> https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139486 Mon, 08 Jun 2020 07:23:12 +0000 Sarmistha Chakraborty Hello,

You need to add condition “Product type” options, Try this –

add_filter('wcfm_product_types',function($producttyps){
	global $WCFM, $WCFMu;	
	$wcfm_capability_options = get_option( 'wcfm_capability_options');
	$manage_customproducttype = ( isset( $wcfm_capability_options['ticket'] ) ) ? $wcfm_capability_options['ticket'] : 'no';
	if( $manage_customproducttype == 'yes' ) {
	  	unset($producttyps['ticket']);
	  	/***** unset the ticket product type****/
	} else {
	  	
	  	/**** keep the ticket product type****/
	}  
	return $producttyps;
},50);

Thanks.

]]>
https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139433 <![CDATA[Custom Product Type, capabilities]]> https://wclovers.com/forums/topic/custom-product-type-capabilities-2/#post-139433 Mon, 08 Jun 2020 03:54:45 +0000 dominicanstrading Dear support, i created a custom product type called “Ticket” in WCFM, then I tried this code for add capabilities to certain membership

/** capabilities on for new product type Ticket **/
add_filter( ‘wcfm_capability_settings_fields_product_types’, function( $pro_types, $capability_handler, $capability_manager_options ) {
$ticket = ( isset( $capability_manager_options[‘ticket’] ) ) ? $capability_manager_options[‘ticket’] : ‘no’;
$pro_types[‘ticket’] = array(‘label’ => __(‘Ticket’, ‘wc-frontend-manager’) , ‘name’ => $capability_handler.'[ticket]’,’type’ => ‘checkboxoffon’, ‘class’ => ‘wcfm-checkbox wcfm_ele’, ‘value’ => ‘yes’, ‘label_class’ => ‘wcfm_title checkbox_title’, ‘dfvalue’ => $ticket);
return $pro_types;
}, 50, 3 );

This code add the capability switcher ON/OFF in the menu manager/capability but not complete the action in the product add form, i push OFF and the product is still visible in the product type drop down select.

Please help.

]]>
https://wclovers.com/forums/topic/groups-staffs-new-version-3-4-5/#post-137979 <![CDATA[Reply To: Groups & Staffs new version 3.4.5]]> https://wclovers.com/forums/topic/groups-staffs-new-version-3-4-5/#post-137979 Wed, 03 Jun 2020 09:03:35 +0000 larry.sado Hi

When setting up capability I would like to know the meaning of the below options.
This is still not documented in your capability documentation https://docs.wclovers.com/capability/ it would be great if you guys kept this document up to date.
In addition, I have ultimate, groups & staff. I assume this means I have premium support. How do I create a ticket ?

Add-ons

Toolset Fields

ACF Fields

Location

]]>
https://wclovers.com/forums/topic/cant-add-new-groups-and-vendors-are-getting-you-have-reached-product-limit/#post-137740 <![CDATA[Cant add new Groups and Vendors are getting "You have reached product limit"]]> https://wclovers.com/forums/topic/cant-add-new-groups-and-vendors-are-getting-you-have-reached-product-limit/#post-137740 Tue, 02 Jun 2020 14:17:10 +0000 Samiran Pati Hi,

I have installed WCFM Groups and Staff plugins and dully installed it. But I cant add new groups, staff, manager from store front. When I click in add new group it coming like this : https://prnt.sc/sse2z7

Another point : Vendors are facing this error when they are trying to add products “You have reached product limit”. I had 10+ vendor in my site. Now no one can add new products. I have assigned unlimited product upload capabilities. Also set default product limit as https://prnt.sc/sse8ze

Thanks and Regards 🙂

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136176 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136176 Thu, 28 May 2020 12:18:11 +0000 CKENT Thank you, any kind of ETA on the next update?

Also can you please take a look at my post here: https://wclovers.com/forums/topic/display-username-instead-of-first-last/ I also submitted a premium support request on that topic but have not heard back.

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136171 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136171 Thu, 28 May 2020 11:26:12 +0000 Sushobhan Hi,
Sorry, previously I thought you can’t access the Groups page. I didn’t realize it was the /vendor-groups/ links. I have tested and able to replicate it on my end. It will be gets fixed in our next update.
Thank You and Sorry for the additional trouble!

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136167 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136167 Thu, 28 May 2020 11:00:40 +0000 CKENT I have tried on 5 different browsers, (firefox, edge, chrome, opera, and IE), cleared all cache, flushed DNS Cache tried another login, that same one you did, it does not work. Clicking on any of the view buttons (the eyeball) that are supposed to go to /vendor-groups/ does not work it redirects to homepage. There is no way that is working on your end.

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136074 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136074 Thu, 28 May 2020 06:07:56 +0000 Sushobhan https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136073 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136073 Thu, 28 May 2020 06:06:56 +0000 Sushobhan Hi,
It’s working fine on my end. So it must be an issue of your browser cache. Please clear your browser cache and cookies and try again. You can switch to another browser or incognito mode to confirm this.
Thank You!

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136058 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136058 Thu, 28 May 2020 04:15:34 +0000 CKENT https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136052 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136052 Thu, 28 May 2020 03:05:54 +0000 Sushobhan Hello,
The password isn’t working. Please make sure you save the user after generating a new password. You can also try to login using those credentials just to be sure that it works.
Looking forward to helping you.
Thank You!

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136000 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-136000 Wed, 27 May 2020 21:47:52 +0000 CKENT https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-135944 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-135944 Wed, 27 May 2020 16:30:03 +0000 CKENT I actually only have the main site right now. Do not have a staging site set up. We have not gone live yet but I will try to get you access later.

I have gone through all of the above steps to see if any of that would fix it, nothing helps. I will note that there are no WCFM settings in the permalinks page. Just the standard stuff.

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-135626 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-135626 Wed, 27 May 2020 03:21:41 +0000 Sushobhan Hi,
Thanks for getting in touch with us!
Do you have a staging site where we can debug this? As, we couldn’t be able to replicate this on our side.
Let me know.
Thank You!

]]>
https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-135623 <![CDATA[Reply To: View groups: /vendor-groups/ redirects to homepage]]> https://wclovers.com/forums/topic/view-groups-vendor-groups-redirects-to-homepage/#post-135623 Wed, 27 May 2020 02:47:10 +0000 CKENT I am having this issue as well. It has never worked.

]]>