Olly

Forum Replies Created

Viewing 20 posts - 301 through 320 (of 4,426 total)
  • Author
    Posts
  • in reply to: How to keep address for registered user #56140
    Olly
    Admin & Mod

      did you enable them to be prefilled ?
      have you cleared your cache / cookie s(so you are not looking at old and / or already submitted data ?

      nothing has changed in relation to this for years so there’s no reason to think this is suddenly broken
      (and also doing a quick test here it works just fine )

      in reply to: Order for the next day open #56138
      Olly
      Admin & Mod

        glad to hear it . thanks

        (but of course let me know if you get issues)

        in reply to: How to keep address for registered user #56111
        Olly
        Admin & Mod

          it’s inbuilt, no plugin needed.
          simply enable the fields in wppizza->orderform “use when registering”

          in reply to: WPPizza – Rewards #56094
          Olly
          Admin & Mod

            sorry, for the somewhat late reply.

            in any event, the only way you can give a discount for payment gateways that are prepay (i.e credit card payments etc)
            is by filtering and forcing discounts (i assume here you know how WordPress filters work, else have a look here https://docs.wp-pizza.com/developers/?section=filters-actions-functions)

            something like the following.

            
            add_filter('wppizza_filter_gateway_objects', 'myprefix_myfunctionname');
            function myprefix_myfunctionname($obj){
            /* 5 EUR/USD/whatever discount */
            $obj->MOLLIE->discounts['fixed'] = 5;
            /* and or for 5 percent instead */
            $obj->MOLLIE->discounts['percent'] = 5;
            return $obj;
            }
            

            as always , use at your own risk . if you discount for credit card payments you may end up your credit card fee being more than your profit margin on a sale depending on how you set things up if you do the above

            in reply to: There is no spot for the shipping address #56049
            Olly
            Admin & Mod

              >they are unable to see the Shipping Address field.
              that is correct, because the shipping (aka delivery) address should really be added to the checkout form in the first place
              or the plugin will never have any information about where to send the order to . And as that is typically the case, asking for the shipping address again once in the paypal payment screen is superfluous.

              that said, if you want to enable this anyway for some reason or another , you can do this by using a filter like so (not tested, but should work just fine)

              
              add_filter('wppizza_filter_paypal_parameters', 'myprefix_set_paypal_parameters');
              function myprefix_set_paypal_parameters($parameters){
              unset($parameters['no_shipping']);
              /*
              or instead try one of the below if the above does not work
              */
              //$parameters['no_shipping'] = 0;
              //$parameters['no_shipping'] = false;
              return 	$parameters;
              }
              

              note: this applies when using the paypal standard redirect implementation (which you are seemingly using)

              in reply to: Order for the next day open #56026
              Olly
              Admin & Mod

                yup, timezone settings most certainly have an impact too , but it’s not the underlying problem here as it happens

                in reply to: Order for the next day open #56024
                Olly
                Admin & Mod

                  >Olly, now it’s the same problem everyday
                  that actually makes more sense . as you know – as a temporary workaround at least – you could set the “Timeslot expiration” to zero . as you are only doing full days it makes virtually no difference , unless someone stays on your orderpage for a full day before actually ordering the chances of that are quite small i would think.
                  yes, i need to fix this and will do so. i also know *where* the issue is, but i want to be sure as much as i can be that the update for this would not break things elsewhere for people that have other settings….

                  (in the next few days i would think i should have this done though in any event)

                  in reply to: Currency switcher for WP Pizza prices? #56018
                  Olly
                  Admin & Mod

                    there’s also more here
                    https://docs.wp-pizza.com/developers/?section=change-prices-of-menu-items-depending-on-day-of-week
                    and here
                    https://docs.wp-pizza.com/developers/?section=prices-output-in-loop

                    (all depends on how complicated you want to make this thing and indeed if you want to actually allow to order in a different currency too)

                    in reply to: Currency switcher for WP Pizza prices? #56017
                    Olly
                    Admin & Mod

                      there is nothing inbuilt, but i suppose you could use the currency filter
                      https://docs.wp-pizza.com/developers/?section=currency
                      to change the currency in conjunction with some dropdown/select and xchange rate setting
                      alongside filtering the (wppizza)post meta values for the wppizza post types posts (what’s what in the meta values should be reasonably obvious from the array keys)

                      in reply to: WPPizza – Rewards #56016
                      Olly
                      Admin & Mod

                        >Since there is no specific topic for this plugin I’ll just ask here.
                        that’s fine (and the right place anyway)

                        >Is it possible to set rewards for each type of gateway
                        at the current time: no, sorry. and there are currently no plans to implement this in the foreseeable future (not unless this is going to be requested many times)

                        >We also want to be able to make a difference between customers who pay in the shop at pickup and those who pay on-line
                        you could set discounts/surcharges for each gateway if you wanted, but there is nothing regarding different kind of rewards for different payment methods (see above)

                        thanks

                        in reply to: Order for the next day open #55996
                        Olly
                        Admin & Mod

                          ok, thanks for all the info. i can actually reproduce this now here – that’s a good thing – when i use your settings
                          just need to find out what causes the issue. probably related to only using whole days as noone else has reported this issue, but my guess would also be that most shops will have some sort of timeintervalls
                          anyway, we’ll see. cannot give you any ETA though at the moment as to when this will be fixed, as I do not know yet what the issue is, but will keep you posted

                          in reply to: Order for the next day open #55994
                          Olly
                          Admin & Mod

                            one more thing (though unlikely to make any difference really, just mentioning it )
                            your closing times from monday tuesday and thursdays under “Closed” in your “wppizza -> openingtimes” settings are completely unnecessary. you have already set those days as closed in the regular opening tims

                            in reply to: Order for the next day open #55986
                            Olly
                            Admin & Mod

                              when you say
                              “…it states sunday as 0 and in pre-order sunday is 7…”
                              where exactly are you seeing this sunday == 7 please ?
                              there is nothing in the php of the preorder plugin – not that I’m aware of anyway – that makes any reference to any specific weekday

                              in reply to: Order for the next day open #55985
                              Olly
                              Admin & Mod

                                thanks for all the info. one more question though please.
                                what day of the week do you have “Week Starts On” set to in your general wordpress setting (wp-admin/options-general.php) ?

                                in reply to: Order for the next day open #55885
                                Olly
                                Admin & Mod

                                  your screenshot is a 404 ?!

                                  in reply to: Order for the next day open #55655
                                  Olly
                                  Admin & Mod

                                    can i see a screenshot of
                                    – the setting in the plugin (wppizza->preorder)
                                    – your main opening times (wppizza->openingtimes)
                                    alongside the version of the preorder plugin you hare using ?

                                    thanks

                                    in reply to: Date format #55623
                                    Olly
                                    Admin & Mod
                                      in reply to: Date format #55621
                                      Olly
                                      Admin & Mod
                                        in reply to: Replace transaction id with order id on thank y ou page #55616
                                        Olly
                                        Admin & Mod

                                          you can change it if you want, but you’ll probably make it unnecessarily complicated for yourself to find an order in your mollie account if any question regarding payment’s should ever arise

                                          all up to you though

                                          in reply to: Replace transaction id with order id on thank y ou page #55601
                                          Olly
                                          Admin & Mod

                                            something along these lines i guess (though unless you are only accepting COD type order , removing transaction id’s may not be a good idea , but up to you of course)

                                            
                                            add_filter('wppizza_filter_transaction_details', 'my_custom_transaction_details', 10, 3);
                                            function my_custom_transaction_details($tx_keys, $type, $order){
                                            /*
                                            get selected (filterable) parameters
                                            available keys:
                                            [wp_user_id] [order_update] [order_delivered] [notes] [payment_gateway] [payment_status] [user_data]
                                            [ip_address] [order_date] [order_id] [payment_due] [pickup_delivery] [payment_type] [payment_method]
                                            [transaction_id] [total]
                                            */
                                            /* example : adding order id */
                                            $tx_keys[] = 'order_id';
                                            /* 
                                            example: removing transaction_id 
                                            (wppizza version <= 3.13.1)
                                            */
                                            $_keys = array_flip($tx_keys);//flip key/value
                                            $_txid_key = $_keys['transaction_id'];//get key for tx_id
                                            unset($tx_keys[$_txid_key]);//remove tx id from array
                                            /* 
                                            example : removing transaction_id 
                                            as of wppizza 3.13.2+ you will be able to 
                                            simply do the following instead 
                                            */	
                                            unset($tx_keys['transaction_id']);
                                            return $tx_keys;
                                            }
                                            
                                          Viewing 20 posts - 301 through 320 (of 4,426 total)