Processing Time list change

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Processing Time list change

Viewing 10 reply threads
  • Author
    Posts
    • #53885
      d-n-13
      Participant

      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

    • #54059
      WCFM Forum
      Member

      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

    • #54061
      d-n-13
      Participant

      Hi,

      Thanks will test it out,

      Can you provide code for making processing times required ?

    • #54166
      WCFM Forum
      Member

      Hi,

      Can you provide code for making processing times required ?

      – Where? At Shipping setting or at product manager?

      Thank You

    • #54167
      d-n-13
      Guest

      Shipping settings

    • #54190
      WCFM Forum
      Member

      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

    • #54497
      d-n-13
      Participant

      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 ?

    • #54587
      WCFM Forum
      Member

      Hi,

      This is part of vendor shipping, now this can be work without vendor shipping enable?

      Thank You

    • #54641
      d-n-13
      Participant

      Hi,

      check the video : https://bit.ly/2HJpWhz

      Thank You

    • #54642
      d-n-13
      Participant
      This reply has been marked as private.
    • #54927
      WCFM Forum
      Member

      HI,

      I understand this.

      But, “Processing Time” is part of Vendor Shipping. Now without shipping enabled, it will not work!

      Thank You

Viewing 10 reply threads
  • The topic ‘Processing Time list change’ is closed to new replies.