Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Membership › Customize shipping methods by Subscription
Tagged: Flatsome, Shipping, WC Membership, Woocommerce
- This topic has 13 replies, 2 voices, and was last updated 6 years, 9 months ago by WCFM Forum.
- AuthorPosts
- February 8, 2018 at 12:56 am #18756kasaga311Participant
Hi,
We are using Membership plugin with WooCommerce Flatsome Theme.
Is there a way to customize the Shipping Methods based on the Membership option selected. For example: A basic free subscription only allows Local pickup and an advanced version allows shipping by post etc?
Thanks,
-Kasaga - February 8, 2018 at 1:17 am #18757kasaga311Participant
In 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,
-Kasaga - February 8, 2018 at 8:27 am #18758WCFM ForumMember
Hi,
Can you please know me which multi-vendor plugin you are using in?
Thank You
- February 8, 2018 at 10:56 am #18760kasaga311Participant
We are using the Woocommerce Market Place, WCFM Ultimate, WCFM Memberships, WCFM Group & Staffs.
Thanks,
-Kasaga - February 8, 2018 at 4:42 pm #18769WCFM ForumMember
Hi,
So you are using Woocommerce Market Place (https://wordpress.org/plugins/dc-woocommerce-multi-vendor/)
But it does not work with such shipping options, it only allow a shipping class per vendor basis.Thank You
- February 8, 2018 at 11:37 pm #18783kasaga311ParticipantThis reply has been marked as private.
- February 9, 2018 at 11:42 am #18814WCFM ForumMember
Hi,
We will help you all the way, don’t worry.
As I know WC Marketplace only works with Flat Rate and Table Rate Shipping.
Can you please once contact WC Marketplace forum how such different Shipping option achievable for vendors?
We will do all the prohibition for you on membership basis.
One thing you may try, and hope this will meet your requirement. Disable “Shipping Settings” for Free Membership group.
Thank You
- February 12, 2018 at 9:09 am #18989kasaga311Participant
Hi,
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,
-Kasaga - February 12, 2018 at 9:29 am #18990kasaga311ParticipantThis reply has been marked as private.
- February 12, 2018 at 10:02 am #19000WCFM ForumMember
Hi,
Can yo please know me which shipping option you have disabled from capability?
There has two options – One under “Panels” and another under “Settings”, kindly set both OFF.
Thank You
- February 12, 2018 at 10:12 am #19001kasaga311Participant
Hi,
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,
-Kasaga - February 12, 2018 at 5:10 pm #19026WCFM ForumMember
Hi,
Can you please check one more setting – WCMp settings -> Payment -> Give Shipping-> Set this off for vendors.
Thank You
- February 12, 2018 at 11:47 pm #19034kasaga311ParticipantThis reply has been marked as private.
- February 13, 2018 at 8:01 pm #19047WCFM ForumMember
Hi,
Yeah right, I am telling you about this particular setting.
As this set ON so shipping packages are visible at cart, which you want to disable, right?
Now, I have to check whether WCMp supports vendor wise shipping settings or not!
I know you soon, let me research this a bit.
Thank You
- AuthorPosts
- The topic ‘Customize shipping methods by Subscription’ is closed to new replies.