All time slots showing when open.

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Preorder Support All time slots showing when open.

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #8352
    maherali
    Participant

      Hi Olly I have set the minimum preparation time for 60 minutes yet all time slots are still showing as available when placing an order. Therefore a customer could therhetically place an order at 8pm wanting it for 8:15pm or 7:45pm.

      #8353
      maherali
      Participant
        This reply has been marked as private.
        #8374
        Olly
        Admin & Mod

          read the manual …….
          STOP…..CACHING…..YOUR…..ORDER…….PAGE
          (that’s not to say that that actually causes the behaviour you are describing – though it might – but it most certainly will cause all sorts of other issues)
          https://www.wp-pizza.com/topic/things-to-do-on-first-install/
          https://www.wp-pizza.com/topic/using-a-cache-plugin/

          #8376
          maherali
          Participant

            Ok this was probably the issue… Is there anything I have to do to fix the damage caused?

            #8377
            maherali
            Participant

              AH christ now my coupon codes aren’t working either… Help me lol.

              #8378
              Olly
              Admin & Mod

                >Is there anything I have to do to fix the damage caused
                yes: STOP…..CACHING…..YOUR…..ORDER…….PAGE

                #8380
                maherali
                Participant

                  Yes i’ve excluded it now! But there has been some damage caused already – is there anyway for me to rectify these problems?

                  #8382
                  Olly
                  Admin & Mod

                    >But there has been some damage caused already

                    like what ? turning cache on/off should not make any difference (other than showing stuff that should not be shown and viceversa)

                    #8400
                    maherali
                    Participant

                      I just checked again the only thing not working is being able to choose the right time – I thought maybe the coupons weren’t working but they are I didn’t realise they were case-sensitive. Is there anyway for me to fix the time slots?

                      #8401
                      Olly
                      Admin & Mod
                        This reply has been marked as private.
                        #8402
                        Olly
                        Admin & Mod
                          This reply has been marked as private.
                          #8403
                          Olly
                          Admin & Mod

                            you also want to fix your insecure content

                            http://fonts.googleapis.com/css?family=Oswald

                            should be either
                            https://fonts.googleapis.com/css?family=Oswald
                            or just
                            //fonts.googleapis.com/css?family=Oswald

                            (and why are you loading it 2x anyway ?)

                            #8404
                            maherali
                            Participant

                              That’s not me loading the insecure content that is the theme setting as is from the maker that also has it loading twice – but i’ll fix it thanks for the heads up my browser showed all content as secure for some reason and the timezone didn’t realise you have to set it in another location other location other than inside wordpress.

                              #8405
                              Olly
                              Admin & Mod

                                >That’s not me loading the insecure content that is the theme setting
                                i’m aware of that

                                > timezone didn’t realise you have to set it in another location
                                most of the time it’s fine without setting it and wordpress uses its own internal calculation.
                                however, wordpress transients (that’s what the preorder thing uses to cache things) depend on that setting . if you just want something to expire in 4 hours , its fine either way, but if you calculate expiry time to be at 5PM for example from now , it goes awol (as 5PM server time !=5PM wordpress time if the 2 aren’t the same)

                                #8406
                                maherali
                                Participant

                                  Thanks as always Olly i’ll try and sort it this weekend.

                                  #8649
                                  maherali
                                  Participant

                                    I have fixed unsecured content and I’m trying to fix time zone but I got this reply – so I’m guessing the pre-order extension will have problems when the time change by an hour?

                                    http://i.imgur.com/q43GeFD.png

                                    #8650
                                    Olly
                                    Admin & Mod

                                      > so I’m guessing the pre-order extension will have problems when the time change by an hour

                                      only if you have the caching enabled. just uncheck that box in preorder->options and you should be fine (just slows things down a bit)

                                      #8651
                                      maherali
                                      Participant

                                        No problem – I disabled it anyways as I was getting the previous issue as before where I could choose any timeslot – I haven’t cache the webpage.

                                      Viewing 18 posts - 1 through 18 (of 18 total)
                                      • The topic ‘All time slots showing when open.’ is closed to new replies.