Forum Replies Created
- AuthorPosts
- kasaga311ParticipantThis reply has been marked as private.kasaga311ParticipantThis reply has been marked as private.February 14, 2018 at 9:03 am in reply to: Remove wp-admin view for roles other than \'Admin\' #19084kasaga311Participant
Thanks again for your support.
The snippet worked great and it removed the wp-admin access completely. We’ll live with it till your fix.
Regards,
-KasagaFebruary 14, 2018 at 9:01 am in reply to: Shop Manager looses settings when associated with Group #19083kasaga311ParticipantThanks guys!
Awesome work, it all works good now.
Keep up the awesomeness!
-Kasaga
February 14, 2018 at 1:23 am in reply to: Remove wp-admin view for roles other than \'Admin\' #19064kasaga311ParticipantThanks for the quick response.
We also use the WCFM Group and Staffs plugin and have removed the ‘Backend Access’ for the Shop Manager and Vendor.
However, we still see the wp-admin icon. Can you tell us which setting impacts that?
Thanks,
-Kasagakasaga311ParticipantThis reply has been marked as private.kasaga311ParticipantHi,
Thanks much for lightning fast reply.
Yes, the product doesn’t show the Shipping tab anymore.
However, the Cart still shows the shipping options.
We are using the Flatsome theme and WC-Memberships plugin as well with WCMp for the Vendor plugin.
As a workaround, I’m looking to find out the Membership or the Group to which the Vendor belongs to and remove the shipping rates from the UI.
Let me know if this is a good idea. Also, if yes, please suggest me on how I can find out the vendors membership or his group in the PHP like in the snippet herewith. I cannot use this directly as we are using WCFM Membership and not woocommerce membership.
add_filter( ‘woocommerce_package_rates’, ‘hide_shipping_when_free_is_available’, 10, 2 );
function hide_shipping_when_free_is_available( $rates, $package ) {
// Get current user ID
$user_id = get_current_user_id();// Let’s use a hook based o https://docs.woocommerce.com/document/woocommerce-memberships-function-reference/
// This is assuming that the plan’s name is “gold”
if (wc_memberships_is_user_active_member( $user_id, ‘gold’ )) {// If the user is active, then let’s force the free shipping method
$free_shipping = $rates[‘free_shipping’];
$rates = array();
$rates[‘free_shipping’] = $free_shipping;
}
return $rates;
}Thanks,
-Kasagakasaga311ParticipantThis reply has been marked as private.kasaga311ParticipantHi,
Thanks much for your suggestion. I contacted the WCMP and am awaiting their reply!
On the Disable ‘Shipping Settings’ for Free Membership group – can you elaborate on how this can be done?
Thanks,
Regards,
-KasagaFebruary 12, 2018 at 8:26 am in reply to: Shop Manager looses settings when associated with Group #18983kasaga311ParticipantHi,
Thanks for quick reply yet again!
We’ll rather wait for the fix than not give Shop Manager the access to the Groups page. If a new Membership is added, we want the Shop Manager to be able to define a new Group if need be for flexibility sake.
Yes, we are using WCFM Membership. But, we are also letting the Shop Manager to define new Memberships. Hence, the issue!
Thanks again for your inputs. We’ll go with the workaround for the moment until we get a permanent fix.
Regards,
-KasagaFebruary 12, 2018 at 2:19 am in reply to: Shop Manager looses settings when associated with Group #18979kasaga311ParticipantThis reply has been marked as private.kasaga311ParticipantThis reply has been marked as private.kasaga311ParticipantWe are using the Woocommerce Market Place, WCFM Ultimate, WCFM Memberships, WCFM Group & Staffs.
Thanks,
-Kasagakasaga311ParticipantIn addition to the above plugins, we are also using the WCFM- Groups & Staff as well.
Let me know if we can also use anything from this plugin to achieve the result.
Thanks,
-Kasagakasaga311ParticipantThis reply has been marked as private.kasaga311ParticipantHi,
Was trying to activate a license key and ended up having this –
Connection failed to the License Key API server. Try again later
What should be done to avoid this issue?
Thanks,
-Sailaja - AuthorPosts