Forum Replies Created
- AuthorPosts
- jordonezcerezoParticipant
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
jordonezcerezoParticipantMaybe I can modify the code to fix this.
Kind Regards!
jordonezcerezoParticipantHi, 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
- AuthorPosts