Olly

Forum Replies Created

Viewing 20 posts - 3,861 through 3,880 (of 4,431 total)
  • Author
    Posts
  • in reply to: Orders no longer sending email #7078
    Olly
    Admin & Mod

      btw, any other plugin/theme you updated ?
      (or even server software)

      in reply to: Orders no longer sending email #7077
      Olly
      Admin & Mod

        thanks.
        ignoring – for the moment at least – all the errors/notices etc that your theme and other plugins throw here
        http://www.broncossandwiches.com/wp-content/debug.log

        can you set your mailer – at least temporarily – (wppizza->settings->Select Type of Mail Delivery) to HTML and PLaintext (as that tends to give better error messages)

        in reply to: Orders no longer sending email #7075
        Olly
        Admin & Mod

          thanks, can you turn on debug please (and let me know when you’ve done so)
          https://support.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/

          in reply to: Orders no longer sending email #7073
          Olly
          Admin & Mod

            link please

            Olly
            Admin & Mod
              
              
              	$wppizzaOptions=get_option(WPPIZZA_SLUG);
              	$opt=wppizza_frontendOpeningTimes($wppizzaOptions);
              	echo ''.$opt.'';
              
              
              in reply to: opening times shortcode – make each segment on new line #7047
              Olly
              Admin & Mod

                >this css works well for that.
                not saying it doesnt, but you can do the same without relying on the classnames (so it doesnt matter how the days end up being grouped

                in reply to: opening times shortcode – make each segment on new line #7046
                Olly
                Admin & Mod

                  i might add some more classes one day (or add a filter or something), but can’t really see the point adding more bloat when it’s not required

                  in reply to: opening times shortcode – make each segment on new line #7044
                  Olly
                  Admin & Mod

                    or wrap it in a div (with an id presumably) and don’t bother with the classes/classnames…

                    in reply to: opening times shortcode – make each segment on new line #7042
                    Olly
                    Admin & Mod

                      the
                      1-4
                      5
                      etc

                      refer to the days that are in the same span
                      (1 being monday 7 being sunday so 1-4 refers to the mon to thu span etc)

                      if you change opening times in the future than those will change (possibly, depends on the tom changes you make of course)
                      doesnt matter one bit though, if you wrap the whole thing in a div/span/whatever and use the appropriate selector

                      in reply to: opening times shortcode – make each segment on new line #7040
                      Olly
                      Admin & Mod

                        you can do whatever you like. that’s what css is for

                        in reply to: Show adress in multi google maps #7029
                        Olly
                        Admin & Mod

                          that is already available in the delivery by postcode extension…..
                          (but only when used with google maps option)

                          in reply to: authorize.net CIM Addon Suggestion #7020
                          Olly
                          Admin & Mod

                            change

                            
                            do_action('wppiza_gateway_anet_verified',$gatewayReply, $orderId);
                            

                            to

                            
                            do_action('wppiza_gateway_anet_verified',$gatewayReply, $orderId , $this->gatewayOptions);
                            

                            and then do

                            
                            add_action('wppiza_gateway_anet_verified','my_function',10,3);
                            function my_function($gwreply,$orderid,$gwoptions){
                            
                            /* do your cim stuff with the reply from authorize.net contained in $gwreply */
                            
                            /*plugin options will be in $gwoptions */
                            
                            /* fyi: $orderid is the id of the order in the wppizza_orders table ...just in case you need it for something*/
                            }
                            

                            obviously that do_action change will be in the next update

                            in reply to: only show custom groups ingredients #7011
                            Olly
                            Admin & Mod

                              >there is no class for custom groups as a general class
                              sure there is (unless you are referring to something else)

                              wppizza-ingredients-req-[x]-[y]

                              where [x] represents first quarter/half or second quarter/half etc and [y] the custom group id
                              so
                              wppizza-ingredients-req-3-1 is the 3rd quarter of custom group id 1
                              wppizza-ingredients-req-1-10 is the 1st quarter, or first half, or just the full thing if not using halfs/quarters of custom group id 10
                              etc etc
                              as there are no more than 4 quarters as max [x] will only ever be 1,2,3 or 4

                              but you are right, it would not make it future proof when you add new custom groups, therefore…

                              >I think it is a realistic scenario that you have dishes with specific ingredients which only show up only at that dish.

                              which is precisely why you really should create meal sizes for specific meal types and then add the relevant ingredients for those as it is even a more realistic scenario I would have thought, that ALL your pizzas allow a bunch of certain ingredients and ALL your desserts (for arguments sake) allow ANOTHER bunch of ingredients.

                              but maybe I am missing something (!?) (always a possibility of course)

                              PS: maybe mealsizes should be renamed into mealsizes/types perhaps , but that’s just cosmetics

                              in reply to: authorize.net CIM Addon Suggestion #6999
                              Olly
                              Admin & Mod

                                >Thanks for being so kind

                                you’re welcome

                                in reply to: only show custom groups ingredients #6998
                                Olly
                                Admin & Mod

                                  >unfortunately they don’t have a specific css class
                                  there are classes and id’s all over the place, so i don’t know what else you could need to target them

                                  in any case, for your own sanity, you should probably just create it’s own mealsize for desserts and add dessert ingredients (as opposed to all ingredients for everything i would have thought)

                                  Alternatively, use an “exclude” custom group for the ingredienst you do not need and assign that one to your desserts

                                  any of the above will work

                                  in reply to: authorize.net CIM Addon Suggestion #6991
                                  Olly
                                  Admin & Mod
                                    This reply has been marked as private.
                                    in reply to: authorize.net CIM Addon Suggestion #6990
                                    Olly
                                    Admin & Mod

                                      thats because i’m talking gibberish

                                      change

                                      add_action(‘wppiza_gateway_anet_verified’,$gatewayReply,$orderId);

                                      to

                                      do_action(‘wppiza_gateway_anet_verified’,$gatewayReply,$orderId);

                                      (i edited the code above to reflect this )

                                      in reply to: Extra charge per main category #6984
                                      Olly
                                      Admin & Mod

                                        the only way you can do that – *reasonably* easily- is by writing a filter using the ‘wppizza_filter_summary’ hook (that’s where i would look/try anyway)

                                        so, something along those lines

                                        
                                        add_filter('wppizza_filter_summary','my_custom_filter');
                                        function my_custom_filter($summary){
                                        
                                        /** 
                                        here now overwrite/amend/do whatever you need to do overwriting, 
                                        amending bits of the $summary array
                                        **/
                                        
                                        return $summary;
                                        }
                                        
                                        in reply to: authorize.net CIM Addon Suggestion #6975
                                        Olly
                                        Admin & Mod

                                          PPS (sorry but just in case)

                                          if you want to run your function “before” it gets verified again just add

                                          
                                          do_action('wppiza_gateway_anet_reply',$gatewayReply);
                                          

                                          right after

                                          
                                          function gateway_handle_response($gatewayReply){
                                          

                                          instead (will also be added to the next update, just for good measure)

                                          and then do

                                          
                                          add_action('wppiza_gateway_anet_reply','my_function');
                                          function my_function($gwreply){
                                          
                                          /* do your cim stuff with the reply from authorize.net contained in $gwreply */
                                          
                                          }
                                          

                                          just thought i’d mention it in case it’s useful

                                          as ever, any questions , just shout

                                          in reply to: authorize.net CIM Addon Suggestion #6974
                                          Olly
                                          Admin & Mod

                                            PS: “my_function” should probably be changed to something more meaningful

                                          Viewing 20 posts - 3,861 through 3,880 (of 4,431 total)