Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Processing Time list change
- This topic has 10 replies, 3 voices, and was last updated 5 years, 9 months ago by WCFM Forum.
- AuthorPosts
- March 21, 2019 at 9:30 pm #53885d-n-13Participant
Hello,
We need to reduce the processing time list to be 4 weeks maximum and not 8 weeks.
Also we need this to be required please.
Thanks wclovers
- March 22, 2019 at 5:07 pm #54059WCFM ForumMember
HI,
Please use this code snippet –
add_filter( 'wcfmmp_shipping_processing_times', function( $processing_times ) { if( isset( $processing_times['8'] ) ) unset( $processing_times['8'] ); if( isset( $processing_times['9'] ) ) unset( $processing_times['9'] ); return $processing_times; }, 50 );
Thank You
- March 22, 2019 at 5:09 pm #54061d-n-13Participant
Hi,
Thanks will test it out,
Can you provide code for making processing times required ?
- March 23, 2019 at 11:46 am #54166WCFM ForumMember
Hi,
Can you provide code for making processing times required ?
– Where? At Shipping setting or at product manager?
Thank You
- March 23, 2019 at 11:49 am #54167d-n-13Guest
Shipping settings
- March 23, 2019 at 12:28 pm #54190WCFM ForumMember
HI.
Please use this code snippet –
add_filter( 'wcfmmp_settings_fields_shipping', function( $shipping_fields, $user_id, $wcfmmp_shipping ) { if( isset( $shipping_fields['wcfmmp_pt'] ) ) { $shipping_fields['wcfmmp_pt']['custom_attributes'] = array( 'required' => true ); } return $shipping_fields; }, 50, 3 );
Thank You
- March 25, 2019 at 10:15 pm #54497d-n-13Participant
Hi,
The code is working perfectly,
But, now all vendors have to enable shipping to set up processing time ! but some vendors don’t even do shipping, they sell digital goods.
Do you have a fix ?
- March 26, 2019 at 3:52 pm #54587WCFM ForumMember
Hi,
This is part of vendor shipping, now this can be work without vendor shipping enable?
Thank You
- March 26, 2019 at 6:49 pm #54641d-n-13Participant
- March 26, 2019 at 6:49 pm #54642d-n-13ParticipantThis reply has been marked as private.
- March 28, 2019 at 11:00 am #54927WCFM ForumMember
HI,
I understand this.
But, “Processing Time” is part of Vendor Shipping. Now without shipping enabled, it will not work!
Thank You
- AuthorPosts
- The topic ‘Processing Time list change’ is closed to new replies.