Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Vendors › Free Pickup or Minimum $ order For delivery
Tagged: -
- This topic has 4 replies, 3 voices, and was last updated 4 years, 8 months ago by jordonezcerezo.
- AuthorPosts
- April 4, 2020 at 3:35 pm #115317foodjet.com.auParticipant
Building a local version of a food ordering site (think Uber eats).
Each vendor needs to be able to set their own pricing for delivery and will almost always have a minimum amount for delivery. Pickup is universally free.
I have struggled to find a plugin or code that will work at vendor level.
The site is using the Storefront theme and I have purchased most of the paid plugins (including WCFM Delivery), but still can’t figure it out.
Any help you can provide will be much appreciated.
- April 5, 2020 at 11:00 am #115554WCFM ForumMember
hi,
Well, for the purpose “vendor/store shipping” is required – https://wclovers.com/knowledgebase/wcfm-marketplace-store-shipping/
Vendors are allowed to setup local pickup and fee shipping depending upon order total.
Thank You
- April 26, 2020 at 3:36 am #123092jordonezcerezoParticipant
Hi, I need to implement the following feature:
-Local pickup always
-Min order amount only in shipping methodIf I put min order amount in 10$, local pickup is just available after this quantity
Its possible?? I cannot implement this feature
Thank so much
- April 26, 2020 at 3:40 am #123093jordonezcerezoParticipant
Maybe I can modify the code to fix this.
Kind Regards!
- April 26, 2020 at 1:58 pm #123202jordonezcerezoParticipant
Something like:
if( $wcfm_min_order_amt && ( $wcfm_min_order_amt > $cart_total ) && (shipping_method !=”local_pickup”) ) {
wc_clear_notices();
$vendor_label = wcfm_get_vendor_store( $vendor_id ) . ‘ ‘ . apply_filters( ‘wcfm_sold_by_label’, $vendor_id, __( ‘Store’, ‘wc-frontend-manager’ ) );
wc_add_notice( sprintf( __( “%s El pedido mínimo de envio debe ser %s, por favor añade algún producto mas de este local!”, “wc-frontend-manager” ), $vendor_label, wc_price( $wcfm_min_order_amt ) ), ‘error’ );
$return = false;
break;But I dont know how can I access to shipping method
Thanks
- AuthorPosts
- You must be logged in to reply to this topic.