Olly

Forum Replies Created

Viewing 20 posts - 1,221 through 1,240 (of 4,431 total)
  • Author
    Posts
  • in reply to: Export Customers #37685
    Olly
    Admin & Mod

      >don’t shoot the messenger
      I wasn’t going to :)

      FYI : I specifically do not make that data easily accessible as it inevitably gets misused.

      in reply to: Export Customers #37683
      Olly
      Admin & Mod

        >The restaurant wishes to enable guest checkouts to increase conversion rates whilst maintaining the ability to Remarket email and SMS promotions in the future.

        and this would be completely illegal. never mind GDPR (which may or may not apply to that restaurant)
        it’s simply called SPAM

        in reply to: Export Customers #37681
        Olly
        Admin & Mod

          >and the majority of customers don’t register
          then I cannot really see any legitimate reason for handling/needing that data to be honest (I am missing something here ?)

          >Is there a table in WP Pizza that stores the first name, last name, phone and email?
          personal info is stored with each order . there is no dedicated table for this , unless a user has registered of course, then it will be available like any other wordpress user data

          in reply to: Export Customers #37676
          Olly
          Admin & Mod

            I am sure there are plenty of wordpress plugins out there that let you export registered users with whatever data they chose to register

            and there’s also the “WordPress -> tools -> export personal data” option (WP 4.9.6+)

            in reply to: Google maps #37625
            Olly
            Admin & Mod

              without a link i cannot comment (i also don’t know where you inserted the api key)
              generally speaking though the most likely issue is that your api key is not valid for the site you are using it on

              in reply to: Remove Ingredients #37533
              Olly
              Admin & Mod

                really depends how it’s setup in the first place
                if you have something (in this case Onions) preselected, the customer can just de-select it
                if it is only in your description that an item has onions, then of course th eplugin will not know anything about it
                however, you could simply add a “No Onion” topping so to speak a customer can then select (you could also set negative prices
                there if you wanted!)

                Naturally, the customer can of course also write “no onions” into a textbox

                in reply to: Postcode plugin popup only with menu click #37470
                Olly
                Admin & Mod

                  ok, glad we got it sorted out

                  in reply to: Postcode plugin popup only with menu click #37466
                  Olly
                  Admin & Mod

                    > but now I have just activated.
                    and i dont see any popup anymore….

                    …you must define a homepage of some sort in wordpress

                    in reply to: Postcode plugin popup only with menu click #37463
                    Olly
                    Admin & Mod

                      why is your homepage (http://www.pizzeria-insel.ch) different to clicking on home (https://pizzeria-insel.ch/home/) ?

                      https://pizzeria-insel.ch/ behaves (looks) more like a 404….. ?

                      something looks somewhat funny here (just an initial observation to find out what’s going on to start off with)

                      in reply to: Postcode plugin popup only with menu click #37461
                      Olly
                      Admin & Mod

                        i cannot comment without a link to the site in question

                        in reply to: Anyone else got cloud print problems? #37450
                        Olly
                        Admin & Mod

                          PS: with all this GDPR going on , you might have to re-request/re-setup authorization for cloudprint as per directions (though it still works here as it always did)

                          in reply to: Anyone else got cloud print problems? #37449
                          Olly
                          Admin & Mod

                            have you checked the wppizza/logs directory for any error logs in there (or indeed your debug.log provided you enabled debug)

                            in reply to: multi language webpage & WP-Pizza #37349
                            Olly
                            Admin & Mod

                              polylang breaks things
                              https://docs.wp-pizza.com/getting-started/?section=known-incompatabilities

                              wppizza is checked with WPML , so I would recommend that, but other translation plugins (other than polylang) might work too

                              in reply to: Datepicker issue #37182
                              Olly
                              Admin & Mod

                                in fact, it might even work by simply dequeueing the jquery-ui-[selected_style]-css and rerequeing it with a lower priority so it gets loaded before any of your other stylesheets so those (i.e your datepicker) simply overwrite the set styles
                                without having to check for post_id’s and whatnot

                                mileage will vary. really depends on what the other styles do

                                in reply to: Datepicker issue #37181
                                Olly
                                Admin & Mod

                                  i dont know in how many other ways i can say this:
                                  the spinner (and all other jquery ui elements’) css is coming directly from jquery ui / themeroller and not from the wppizza plugin (hence you will see something like //ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.min.css) in your source
                                  wppizza only “enqueues” it if selected

                                  if you want to add only the spinner css have to grab it from there and add/include it (but i believe we’ve been here before. the spinner css in tons of lines of css so finding and getting all the ones you need is – at bets – tedious)

                                  i would suggest you simply look into dequeueing it on the relevant pages (as mentioned )

                                  PS: of course you will change/break customised css if you change priorities of the themes’ stylesheet without accounting for it elsewhere.

                                  in reply to: Delivery Charge on Specific Items #37164
                                  Olly
                                  Admin & Mod

                                    >On the settings page
                                    I assume you are referring to the *order* settings page

                                    >Can each menu item specify whether a delivery charge will be applied or not?
                                    not natively in the plugin, however, there is the following filter you could use to substract the delivery charge if a particular item (let’s say with id 5) is in the cart
                                    I also assume you are using “Delivery Charges per item” in the settings here

                                    So, something like this (not tested, mileage will vary, but should give you an idea):

                                    
                                    add_filter('wppizza_fltr_delivery_charges', 'my_prefix_delivery_charges_filter', 10, 3);
                                    function my_prefix_delivery_charges_filter($delivery_charges, $cart_items, $general_parameters){
                                    	global $wppizza_options;
                                    	/* current set delivery charges per item */
                                    	$dcpi = $wppizza_options['order_settings']['delivery_charge_per_item'];
                                    	
                                    	$reduce_delivery_charges = 0;
                                    	foreach($cart_items as $items){
                                    		foreach($items as $item){
                                    			if($item['post_id'] == 5 ){
                                    				$reduce_delivery_charges += $dcpi;	
                                    			}
                                    		}
                                    	}
                                    
                                    	/* substract */
                                    	$delivery_charges = $delivery_charges-$reduce_delivery_charges;
                                    
                                    return $delivery_charges;	
                                    }
                                    
                                    
                                    in reply to: Datepicker issue #37097
                                    Olly
                                    Admin & Mod

                                      i’m simply not going to add the overhead of checking every single page or sidebar on every single page request for the possibility of a page haveing wppizza code/shortcodes on them , for the odd theme here or there (hence such an option will never be added to the plugin)
                                      but you can do this for your particular thing as mentioned without having to cause this overhead as you know what your pages are

                                      in reply to: Datepicker issue #37096
                                      Olly
                                      Admin & Mod

                                        of course dequeueing things (or similar) on pages that – one day perhaps – have datepickers and spinners on them will break things

                                        in reply to: Datepicker issue #37095
                                        Olly
                                        Admin & Mod

                                          there are many ways to do that .
                                          the one outlined above
                                          or dequeueing the ui-css on the pages that have the datepicker on them
                                          or filtering the parameter (wppizza[order_settings][order_page_quantity_change_style]) to be empty https://docs.wp-pizza.com/developers/?section=filter-wppizza_filter_options on those pages

                                          really up to your imagination

                                          in reply to: Datepicker issue #37093
                                          Olly
                                          Admin & Mod

                                            sure, if you want to style ui-elements with your own css instead of taking advantage of the themeroller css options, you’ll spend a lot of time doing this and – in my book – is a complete waste of time as not only are you trying to re-invent the wheel but also have to know each and every class etc etc that ui-elements use whereas if you use what exists you can sinply forget about all of that

                                            you dont even have to know what the classes are and don’t have to ever worry about updating anything when versions or whatnot change.
                                            For example, currently wordpress uses 1.11. One day wordpress will probably be using 1.12 or higher. If you use your own css, you’ll have to maintain it.
                                            Do you really want to waste your time checking for this every time there might be an update to something ?

                                          Viewing 20 posts - 1,221 through 1,240 (of 4,431 total)