• Resolved siyaryucel

    (@siyaryucel)


    Hey! I want to make delivery option’s preparation time to 60 minutes and pick-up option’s preparation time to 15 minutes. Is this possible and if so could please help?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Make the preparation days as 0 and then make the preparation time as 60 min in the plugin setting

    View post on imgur.com

    and then add this below code in your theme functions.php file, this code will make the praparation time 15 min for the pickup order

    add_filter('pisol_dtt_setting_filter_pi_order_preparation_hours', function($val){
    	$type = pi_dtt_delivery_type::getType();
    	if($type == "pickup"){
    		return 15;
    	}
    	return $val;
    });
    Thread Starter siyaryucel

    (@siyaryucel)

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different preperation time for delivery and different for the pickup’ is closed to new replies.