maherali

Forum Replies Created

Viewing 20 posts - 41 through 60 (of 145 total)
  • Author
    Posts
  • in reply to: Request for individual coding #10057
    maherali
    Participant

      That did the trick Olly thank you! I did try that too but it didn’t work for me I must have messed some other bit up. What part of the code do I need to alter so that the popup dialog only comes up when I change the status to ‘DELIVERED’?

      With the code as it is if I change it to any status it will come up with a blank popup message but if I changed it to delivered it will come up with the ’email sent’ popup which I only want for delivered.

      in reply to: Request for individual coding #10038
      maherali
      Participant

        Hi Olly I have managed to get there 99% with the send email on order status update. Editing who from etc and message was easy enough and I have deleted the order info as I didn’t want that in a follow up email.

        I am having trouble figuring out how to set it so that it only sends an email when status has been changed to ‘delivered’ rather than just every status update (as in my place we changed to acknowledged that does a print popup then again to delivered when it’s been sent out or ready for collection).

        I know I must edit this bit of code but I can’t figure out what exactly it should be could you help me please?

        if($postdata[‘vars’][‘type’]==’statusupdate’){// could also add a ” && in_array($postdata[‘vars’][‘type’],array(‘PROCESSED’,’REJECTED’,’REFUNDED’))” to only send when status changed to those

        I changed ‘statusupdate’ to ‘DELIVERED’ but it did not work. I changed the text after type from “==’statusupdate’)” to “,array(‘DELIVERED’)” and that did not work either. Obviously i’m doing something very wrong could you advise me where please?

        Thank You

        in reply to: Request for individual coding #10003
        maherali
        Participant

          Thank you Olly! This will make life a lot easier on Thursdays as the bills were hard to read foe the chefs when we’re busy. I have seen the code snippet for my first request but I can’t get my head around it but I will have a go tomorrow to see if I can customise it to the email I want sent – currently we email each customer 1 by 1 when dispatched which is very time consuming especially on a busy day.

          in reply to: Request for individual coding #9992
          maherali
          Participant

            If anyone reading this thread can make these changes please post!

            in reply to: Does Stripe payment work with mobiles? #9898
            maherali
            Participant

              Now working. Seems they did change their Api for the better the popup fills the whole screen it looks better on a mobile.

              maherali
              Participant

                This is already an option – buy the pre-order extension.

                in reply to: Discount code not excluding certain dishes #9779
                maherali
                Participant

                  Exact same issue as stated on this thread… I cba to take screenshots and show the same thing again lol it’s ok I will just use the old way I suppose it just requires a bit more effort it’s not an important fix you have done so much already fixing other issues!

                  in reply to: Discount code not excluding certain dishes #9755
                  maherali
                  Participant

                    Hi Olly. I never actually tested whether the new updated worked but I have just tried it with new coupon codes I have set with certain dishes not to be discounted but they are still being discounted…

                    in reply to: submit order email address #9707
                    maherali
                    Participant

                      I can pretty much guarantee this will be due to the spam filters gmail or aol have setup or something to do with the host you’re using.

                      in reply to: error when browsing #9626
                      maherali
                      Participant

                        Olly the new changes seem to have fixed my problems (touch wood). I have been monitoring the console and it did a Bad Request 503 but continued to poll thereafter. I will keep using it obviously with the console open for the next couple of weeks just to confirm properly.

                        in reply to: Dowload list of Products on Future Orders #9577
                        maherali
                        Participant

                          I’m not quite sure what you’re asking… but look at the order history screen that keeps all the orders on record you have your list there just print it.

                          in reply to: error when browsing #9576
                          maherali
                          Participant

                            That’s fine – only time I would get 5 consecutive failed polls is when the server is down I never get 2 together.

                            in reply to: error when browsing #9574
                            maherali
                            Participant

                              Thanks Olly I will test it tonight when I get in. Just to confirm however will it fail on 5 consecutive failed polls or 5 total failed polls? And also what would be the alert a sound alert or just a silent popup as before?

                              in reply to: error when browsing #9566
                              maherali
                              Participant

                                When I got the errors intially when browsing it was when I changed pages quickly (as if I didn’t allow something to fully load) although I don’t get these anymore when browsing my website.

                                in reply to: error when browsing #9563
                                maherali
                                Participant

                                  If you could implement this then it would be great as the websites in question would continue to work and orders would continue to poll. I would also be able to sell my websites on because I don’t want to make any websites for anyone else just in case I get this error.

                                  in reply to: error when browsing #9562
                                  maherali
                                  Participant

                                    If the error displayed in console and not a popup say in the order history screen – would the order history screen still continue to poll for orders (obviously not the time it made an error but any polls thereafter?)

                                    I don’t blame you AS SUCH it is more just order polling in general I don’t think it can be 100% perfect all the time and if you pay for a mega great big perfect host then it outweighs the benefit of having wppizza and just pay a 3rd party company to make your website. But from my understanding from talking to Ibrar the guy who created my old website the way his software polled for orders (similar to your order history screen) he set a timer of 15 second intervals and if one poll failed – it would just carry on to 30 seconds and if that failed it would carry onto 45 seconds and so on. Once it reached 2 minutes it would make a siren noise (any noise whatever .wav file you set) that would alert us (the takeaway/restaurant/client whoever) that the software is not polling. Therefore you would check the website to make sure it is not down etc or contact the host. Problem is the host is not down that often however it may fail multiple polls daily (my old website used to poll to 30 seconds constantly but rarely more).

                                    But if you can do something similar where it goes to console but continues to poll that would be great although some sort of notification would be nice. I am looking into this further there maybe some order polling software out there (FoodOrderDIYClient).

                                    in reply to: error when browsing #9544
                                    maherali
                                    Participant

                                      I had errors both on frontend and backend – I still believe it is host related (server didn’t relay information perfectly) but every time a order poll trips it gives no sound/warning so is troublesome. I can prove I’ve had it on frontend also just like the OP has so was trying to help him nothing for myself. iazomuk I would be interested if you get this error on order history screen also when polling for orders but if you can’t do this then no problem. I am in the process on moving to a good host and if this still occurs I will just have to pay a software developer to create a polling program that ignores non polls. I am wanting to make a few websites for my friends who own takeaways but I can’t when this slight problem remains.

                                      in reply to: error when browsing #9541
                                      maherali
                                      Participant

                                        Obviously if the OP gave permission otherwise no.

                                        And what do you mean by mine is a backend issue and his a frontend issue? (By backend do you mean mine was within the wordpress settings screen and his was just on the normal website browsing?)

                                        in reply to: error when browsing #9539
                                        maherali
                                        Participant

                                          Is it possible I get a link to the website in question? I know how to induce the errors on my website I want to see if I can do the same on the website created by the OP.

                                          in reply to: error when browsing #9537
                                          maherali
                                          Participant

                                            This is the same error I get on my website Olly but I thought we agreed it was maybe the host? However I see someone else getting this error maybe there is a conflict somewhere.

                                          Viewing 20 posts - 41 through 60 (of 145 total)