nsrplanet

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Add ingredients- Single vs Menu Feature #61242
    nsrplanet
    Participant

      Hello,

      first of all thanks for your answer and for your advice.

      first of all, this is already possible. You simply need to use “exclude” type custom groups and apply those as required to your first menu item (the single burger in this case)

      At the moment I’m actually planning that the single item has to come without any other ingredient. The corresponding menu must offer the possibility of adding different ingredients. I tried this with the exclude function. I have excluded all ingredients in “single”. Unfortunately, the ingredient window still opens. But the window is empty.

      It appears to me you are somewhat trying to combine 2 different things into one item.

      Treating them as two different products will make my list of items big. Because I have several items that are both single and menu.

      in reply to: Pickup option as dropdown menu #60254
      nsrplanet
      Participant

        I turned off the option with the popup in the menu page because I didn’t want it. If I activate this option then the option with self-pickup is indeed displayed under the drop menu.
        What i have at the moment is the following:
        I built an option on the start page using the shortcode [wppizza_dbp]. the customer has to decide on the start page which postal code he has to select.
        The pickup option is displayed under the dropmenu. If the customer choose the option to selfpickup and then he clicked on “ok”, the page don´t switch to menupage.
        Better it was when the option of selfpickup is part of the dropmenu.

        in reply to: Order emails arrive after 2 hours #58975
        nsrplanet
        Participant

          ok. But the other e-mails arrive normally and immediately. only the emails from the plugin take a long time 🙁

          in reply to: Force users to pay online if they proceed a preorder #53926
          nsrplanet
          Participant

            Thanks for your answer Olly,
            Sorry, i have forget to define the variable in my exemple above. Here is my next try:

            add_filter('wppizza_filter_gateways_payment_options', 'my_custom_gateways_on_zero', 10 , 3);
            function my_custom_gateways_on_zero($gateway_objects, $order,  $user_data){
            $pluginSlug = 'wppizza_preorder';
            $preorder =  wppizza_get_order_meta($order['ordervars']['order_id']['value'], $pluginSlug, true );
            if($preorder !='asap'){
            foreach($gateway_objects as $id => $obj){	
            if($id !== 'COD'){
            unset($gateway_objects->PAYPAL);	
            }		
            }
            }
            }

            =>
            Warning: get_object_vars() expects parameter 1 to be object, null given in /www/htdocs/xxx/xxx/wp-content/plugins/wppizza/classes/class.wppizza.gateways.php on line 428

            Warning: count(): Parameter must be an array or an object that implements Countable in /www/htdocs/xxx/xxx/wp-content/plugins/wppizza/classes/class.wppizza.gateways.php on line 428

            Warning: Invalid argument supplied for foreach() in /www/htdocs/xxx/xxx/wp-content/plugins/wppizza/classes/class.wppizza.gateways.php on line 437

            Note, that when the user choose a time slot for the preoder in the order page (so the value is not more ‘asap’), the order page will not be updated!

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