• Resolved PedroFC

    (@pedrofc)


    Hello,
    I need a little help to make changes to the Processing Time options.

    The common way to show processing time options is:

    1 business day
    1-2 working days
    1-3 working days
    etc …

    And I need to change to show the processing time options without the time interval.
    Of this way:

    1 business day
    2 working days
    3 working days
    etc.

    The vendor need to choose a specific number of days to the processing time.

    Is that possible?

    Thanks for any help.

    • This topic was modified 4 years, 9 months ago by PedroFC.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WC Lovers

    (@wclovers)

    And I need to change to show the processing time options without the time interval.
    Of this way:

    1 business day
    2 working days
    3 working days

    – Sure, possible.

    Upto how many days you want to keep in drop-down?

    Thank you

    Thread Starter PedroFC

    (@pedrofc)

    Hi,
    Thanks for your anwer.

    I want to keep 10 days in drop-down menu.

    Of this way:

    1 business day
    2 business day
    3 business day
    4 business day
    5 business day
    6 business day
    7 business day
    8 business day
    9 business day
    10 business day

    Thanks for the help.

    Plugin Author WC Lovers

    (@wclovers)

    Please add this snippet to your site –

    add_filter( 'wcfmmp_shipping_processing_times', function( $processing_times ) {
    	$processing_times = array(
    															'' => __( 'Ready to ship in...', 'wc-multivendor-marketplace' ),
    															'1' => __( '1 business day', 'wcfm-ecoeats' ),
    															'2' => __( '2 business day', 'wcfm-ecoeats' ),
    															'3' => __( '3 business day', 'wcfm-ecoeats' ),
    															'4' => __( '4 business day', 'wcfm-ecoeats' ),
    															'5' => __( '5 business day', 'wcfm-ecoeats' ),
    															'6' => __( '6 business day', 'wcfm-ecoeats' ),
    															'7' => __( '7 business day', 'wcfm-ecoeats' ),
    															'8' => __( '8 business day', 'wcfm-ecoeats' ),
    															'9' => __( '9 business day', 'wcfm-ecoeats' ),
    															'10' => __( '10 business day', 'wcfm-ecoeats' ),
    													);
    	return $processing_times;
    }, 50 );

    Add custom code(s) to your child theme’s functions.php
    In case you do not have child theme then add those using this plugin –?https://www.ads-software.com/plugins/code-snippets/

    Thank You

    Is it possible to do this per product? And is it adhered/respected by any order delivery rate plugin? So that if the vendor has put X product takes 7 days to be processed, then the customer shouldn’t be able to order it for a day before that.

    Plugin Author WC Lovers

    (@wclovers)

    Sorry, processing time does not apply any such restriction. It’s for showing approx. delivery time.

    Hello, could you provide a code to leave the mandatory processing field in the registration of the seller’s new product?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Processing Time’ is closed to new replies.