In Progressnew feature : add filter for get_number_of_orders_per_timeslot

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38007
    amba.fr
    Participant

    hi, Alex, in my case, i use lafka on a webshop but i sell also product in my local pickup. Is there a possibility to add a filter to get_number_of_orders_per_timeslot ? Then i can use it add some more “orders” in a time slot from my local_pickup without import the full order.
    Best regards
    Arnaud

    #38008
    amba.fr
    Participant

    Like this function in your file ligne 838-868 with a new apply_filters :

        return apply_filters( 'lafka_modify_number_of_orders_per_timeslot', $query->post_count, $branch_id, $order_date, $order_timeslot );
    
    #38034
    Alex
    Keymaster

    Hello Arnaud,

    We will discuss this with our team.

    Regards,
    Alex

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register