Olly

Forum Replies Created

Viewing 20 posts - 321 through 340 (of 4,430 total)
  • Author
    Posts
  • in reply to: Error Geocode – Request_denied #57235
    Olly
    Admin & Mod

      first of all, i’d suggest you turn off outputting error, but logging them instead like so:
      https://docs.wp-pizza.com/troubleshooting/

      secondly – when you look at your browser console – you will see :
      “Geocoding Service: you must enable billing on the google cloudproject at …etc…”

      in reply to: Grid Layout Broken #57223
      Olly
      Admin & Mod

        Having had another look at your site and duoble checking things , I do now actually think you are using the “normal” (option 1) shortcodes , so my above assumption is probably incorrect.

        However, the dynamic css that needs to be loaded on your site to make the grid work
        i.e.
        https://parminderc2.sg-host.com/wp-content/plugins/wppizza/css/wppizza.grid.css.php?grid=4-1.5-480
        is a 403 response

        only your server admin will know why it is a 403 . This file needs to be loaded for the grid to work

        in reply to: Grid Layout Broken #57222
        Olly
        Admin & Mod

          it seems to me you are not using the shortcodes but simply displaying the categories according to your theme templates.
          If you do that , you need to create the appropriate template.

          See what is called “option 2” here
          //docs.wp-pizza.com/getting-started/?section=setup

          Alternatively you can of course just use the shortcode(s) on pages (“option 1”)
          hope that helps

          (Deleted by admin: see post below)

          in reply to: WPPizza Delivery By Postcode and Postcode not working #57194
          Olly
          Admin & Mod

            so what changed ?
            did you enable debug and checked your debug log ?
            https://docs.wp-pizza.com/troubleshooting/

            in reply to: Maximum 1 article per order #57145
            Olly
            Admin & Mod

              have you checked your debug.log ?
              https://docs.wp-pizza.com/troubleshooting/

              >tried to deactivate some plugins
              you should be deactivateing *ALL* non-wppizza plugins and use a default theme and check if you can reproduce this

              in reply to: Wp Pizza Problem #57140
              Olly
              Admin & Mod

                this is not actually related to WP5.8 but when using php v8+

                in any event, I have just updated the wppizza plugin (to v3.13.7) and i believe this is now fixed (at least i cannot reproduce this here anymore)

                thanks for reporting the issue

                in reply to: Spam Registration #57061
                Olly
                Admin & Mod

                  how did you determine that this is related to the wppizza plugin ?

                  In any event, wppizza uses the standard wordpress registration process.
                  There are lots and lots of plugins on wordpress.org that would let you tweak the registration process to your liking.
                  It’s not really anything that wppizza does or controls

                  in reply to: Maximum 1 article per order #57030
                  Olly
                  Admin & Mod

                    additionally the price (element) title on your pages looks like this
                    title="9976"
                    wppizza does not do that which makes me think there’s some filtering going on on the element which may (or may not of course) affect things

                    in reply to: Maximum 1 article per order #57029
                    Olly
                    Admin & Mod

                      works just fine here
                      tried de-activating all other plugins using a default theme ?
                      do you still get the same issue if you do that ?

                      in reply to: Maximum 1 article per order #56941
                      Olly
                      Admin & Mod

                        As of v1.8 the stockmanagement plugin (https://support.wp-pizza.com/downloads/wppizza-stockmanagement/) will also now allow you to apply the “Maximum per item per order” to selected menu items only

                        in reply to: Change number of search results #56936
                        Olly
                        Admin & Mod

                          the number of search results per page is controlled by the theme (or indeed by wordpress itself using 10 as a default i would guess). wppizza does not control this.

                          I am quite sure though that there are probably some filters you could use to adjust this as you like
                          the reason why you get 10 and 6 results is (most likely) that you have 16 search results but your theme will simply only display a max of 10 per page so the 10+6 would be expected
                          if your theme were to show 5 per page, you’d probably get 4 pages with 5, 5, 5 and 1 result

                          in reply to: Update of the PHP version from 7.4.18 to 7.4.21 #56865
                          Olly
                          Admin & Mod

                            this has nothing to do with a php update but with open_basedir being set on your server.
                            the latest update of the wppizza plugin also accounts for this now.
                            however, generally speaking i would also suggest you do not output any errors/warnings but log them instead (https://docs.wp-pizza.com/troubleshooting/)

                            in reply to: Link to map #56721
                            Olly
                            Admin & Mod

                              you could use the [wppizza_dbp_map] shortcode which does that and more
                              see here: https://docs.wp-pizza.com/developers/?section=delivery-by-post-zipcode

                              or add your orderhistory shortcode somewhere and setup the address as outlined here (which will make it a link)
                              https://docs.wp-pizza.com/shortcodes/?section=admin-orderhistory

                              or filter your emails like so (adjust as required)

                              
                              add_filter('wppizza_filter_template_customer_section','my_email_template_markup', 100, 4 );
                              function my_email_template_markup($section, $template_type, $template_id, $order){
                              	if($template_type == 'emails'){
                              		$field_id = 'wppizza-dbp-map-location';
                              		$section[$field_id] ='<tr><td style="text-align: left; padding: 2px; white-space:nowrap; vertical-align:top;">'.$order['customer'][$field_id]['label'].'</td><td style="text-align: right;padding: 2px;;"><a href="[some link to some mapping site with the address/apikey/etc  added as necessary]">'.$order['customer'][$field_id]['value'].'</a></td></tr>';
                              	}	
                              return $section;	
                              }
                              	
                              
                              in reply to: How to suppress the “amounts do not match” error? #56689
                              Olly
                              Admin & Mod
                                This reply has been marked as private.
                                in reply to: How to suppress the “amounts do not match” error? #56668
                                Olly
                                Admin & Mod

                                  >Do you know why it is happening?
                                  No, as it works just fine here and without seeing what you’ve done, i cannot comment any more really

                                  in reply to: How to suppress the “amounts do not match” error? #56629
                                  Olly
                                  Admin & Mod

                                    delivery charges are filterable like so (as a basic example)

                                    
                                    add_filter('wppizza_fltr_delivery_charges','my_delivery_charges', 10, 3 );
                                    function my_delivery_charges($deliveryCharges, $session_items, $filter_param){
                                    $deliveryCharges = 20;//set delivery charges to 20 	
                                    return $deliveryCharges;
                                    }
                                    
                                    in reply to: How to suppress the “amounts do not match” error? #56606
                                    Olly
                                    Admin & Mod

                                      PS: if you tell me for what purpose the amount needs to be modified I *might* be able to suggest something (but it entirely depends on what you are trying to do)

                                      in reply to: How to suppress the “amounts do not match” error? #56605
                                      Olly
                                      Admin & Mod

                                        Sorry, but the amounts of what is going to be charged and what has been paid must match exactly. There is no provision for making this optional.

                                        in reply to: Track order #56564
                                        Olly
                                        Admin & Mod
                                          in reply to: Delivery Post/Zip Codes sorting #56387
                                          Olly
                                          Admin & Mod

                                            I don’t understand. they are already sorted

                                          Viewing 20 posts - 321 through 340 (of 4,430 total)