Delivery Price per Category

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38722
    Markus Grund
    Participant

      Hi,

      we are calculating the delivery costs with the “Delivery per Post/Zipcode” Extension which works great. But now we also need an additional solution: Is there a way, to add special delivery costs for certain categorys? Maybe with a filter? And if so, can you give me a hint?

      Thanks and regards, Markus

      #38724
      Olly
      Admin & Mod

        you could probably use this one

        add_filter('wppizza_fltr_delivery_charges', 'my_function', 10, 2);
        function my_function($delivery_charges, $items){
        /* do your thing here based on $items */
        return $delivery_charges;
        }
        
      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘Delivery Price per Category’ is closed to new replies.