Forum Replies Created
- AuthorPosts
-
>switching the option off only disables the style and not the JS
that is correct. there is an awful lot of functionality attached to this spinner ui element which would not work if the js is not loadedthanks for sharing your experiences here. I’m sure this will help some others too at some point
Olly
that option already exists by not including/enabling the themeroller css and adding your own css for the spinner (presumably from copying it when creating your own themeroller css) somewhere
People might disagree here – and that’s perfectly ok of course – but in my book, if you are using/loading a jquery ui-element you should also use (or at least offer the option to use) one of the themes/styles that are made for that purpose
(not to mention the convenience of not having to maintain it and automatically being able to take advantage of any improvements etc that might get added over time)>This is happening because the plugin loads its styles on all pages instead of loading it on pages where it is used.
that’s simply not true
it’s caused by including the themeroller style – the inclusion of which was made optional for precisely the reason that if themes already include styling for jquery ui-elements it won’t be neededalas – from what i can see – your theme does not actually provide any styling for ui elements and it is the gdlr-hotel plugin that provides and styles the datepicker using it’s own style but only for the datepicker.
furthermore – though somewhat unrelated – the wppizza.css only ever targets it’s own distinct elements and only where strictly necessary. Wherever possible and sensible it will try to use a themes’ style
lastly, using an equivalent of “is_woocommerce” would do no such thing as it would also not load any styles on the checkout pages or in fact any page that shows the wppizza menu items or any wppizza widgets, shortcodes etc etc
(the overheads of checking a page content/sidebar to see if a particular widget/shortcode/whatnot is used are quite high and one would have to do that for every single pagecall. one of the reasons why woo doesn’t do that either one suspects)>do we have to set the ingredients individually for each pizza so that they can be deselected?
yes, that’s the way to do it (otherwise the plugin has no idea what is or is not part of that pizza)
i.e , let’s assume you have a tuna pizza that – by default – comes with onions too that you want a customer to be able to not have.
So, add a(nother) custom group for this where you set “group type” to be “PRESELECT … etc ” and select your “Onions” there.
When a user clicks on it in the frontend, the “Onions” will be pre-selected but are also de-selectableYou (probably) might then also then want to enable (in the “Options” tab of the Add Ingredients plugin under the heading “Show de-selected pre-selected ingredients ?”) “if you have pre-selected a specific ingredient…etc” so it will be submitted as “No Onions” so it’s clearer to the Kitchen so to speak what’s required
(I’m aware these things can get complicated, so if the above is not clear, shout)
see the caveat below, but…
…you could use the add ingredients extension somewhat (see examples here https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ – perhaps the “BREAKFAST EXAMPLE” example) to create this kind of “Meal Deal”
(essentially you would have to add your sides and drinks as additional/separate ingredients)however, “add ingredient”s does not then allow you to add more ingredients to a subitem , so you could not then choose what to have on each pizza for example , as that’s not really what it’s designed for
———————————————-
Caveat:
The “Add Ingredients” extension is NOT a “Special Offer” or “Meal Deal” or similar type plugin and was never conceived for this .
(although – clearly- many things are possible as you can see in the user examples https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ that are not really within the scope of the plugin)At some – as yet undetermined – point in the future I *might* create a dedicated plugin for this sort of thing or will actually add a “add product-to-product” (or whatever it’s going to be called ) to the ” Add Ingredients” plugin
That will allow *menu items* to be added to other menu item, but at the moment this idea is only in the “ideas” / “perhaps an idea to do one day” stageno, because it would defeat the point of using it in the first place
so if you want to have your own custom version, you have to use your own custom css (as mentioned previously in this thread)PS: my *guess* is that the theme is using a copy of a themeroller css somewhat anyway , only with a bunch of ui elements omitted so selecting from the appropriate css from the wppizza dropdown will automatically add all missing elements’ css with the added bonus of not having to maintain it as well as consistency across all of them
thanks
the problem is that neither your theme nor your gdlr-hotel plugin provides css for the spinner element (only the datepicker from what i can see)
so if you want to keep everything as is on that front , you’d have to add your own spinner css to your theme’s css ( and leave it as “I have my own style… etc”)
alternatively “roll” your own theme and include that for all those jquery ui interfaces – https://jqueryui.com/themeroller/
or select a theme from the ones available in wppizza (perhaps the “ui-darkness” one or the “dark hive”) which – as you know – will affect all other ui elements too (which is a good thing in my book to keep things consistent throughout all those elements)
you could – of course – also just get the spinner parts/css of those and add those to your (child)theme’s css
essentially , your theme’s/plugins styling of jQuery UI elements is incomplete as it only assumes usage of the ui element implemented by your particular theme/plugin. That’s understandable somewhat , but results in the issue you are facing
(hope the above makes sense somewhat -kind of late here)
what do i have to click on – on your site – to actually see a wppizza “counter” (as you call them) box
(PS: they are called “spinners” officially, just fyi )>It seems that WPP (3.3.5) is affecting the style of the date pickers that are used elsewhere on my site
that’s correct if you enable WPPizza->Order Settings->Item and Cart Updates and Amendments -> “Enable increase/decrease …” (2 options) as it includes a themeroller stylesheet to style the spinner/number input boxes (these jquery/themeroller stylesheets affect all those UI interfaces ).
However, as you have also a dropdown there to choose a particular style, i would think you can make that match the one that comes with the theme (if not, then i would have to see what stylesheet the theme includes if you have wppizza – or those options i mentioned above – disabled )it’s a button and your theme controls this
(use your browsers elements inspector…..)that – most likely – means that your php sessions don’t work / are not configured correctly
you should speak to your hoster/server admin
(more often than not it’s because the session save path is wrong/not configured)Hi
I am not entirely sure what you mean by “V2 resides on a different site than the one V3 will be created on”.
If V3 is a different site entirely , I would assume you simply use v3.x to start off with
Otherwsie, I would suggest you *clone* the entire (V2) site and do the upgrade as outlined in the docsthe next version (or the one after that, not yet 100% sure) will have a – then documented – helper function that will let you pull out all orders according to a query you can set (i.e you can also then get all orders from a certain user / user id)
which you can then use to create csv’s (or whatever format you like)
Furthermore, there is of course already a “customer” tab in v3.x of the plugin that shows orders for a specific customereither setting up a discount to that effect with this
https://www.wp-pizza.com/downloads/wppizza-coupons-and-discounts/ (i.e if 2 pizzas usually cost 15 each, your discount for 2 would be 10. as in 15+15-10 = 20)or you could also use the add ingredients extension somewhat (see examples here https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ – perhaps the “SIMPLE MEAL FOR 2” example)
however, add ingredients does not then allow you to add more ingredients to a subitem , so you could not then choose what to have on each pizza , as that’s not really what it’s designed for———————————————-
please note:
The “Add Ingredients” extension is NOT a “Special Offer” or “Meal Deal” or similar type plugin and was never conceived for this .
(although – clearly- many things are possible as you can see in the user examples https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/ that are not really within the scope of the plugin)At some – undetermined – point in the future I *might* create a dedicated plugin for this sort of thing or will actually add a “add product-to-product” (or whatever it’s going to be called ) to the ” Add Ingredients” plugin
That will allow *menu items* to be added to other menu item, but at the moment this idea is only in the “ideas” / “perhaps an idea to do one day” stageThis reply has been marked as private.This reply has been marked as private.>but when I add an item to the menu in the original site it adds it to the new site menu.
are you using a multisite setup or 2 distinctly different domains and installations>Is there another log file I can check?
no (and even if there was , it would tell you the same thing)if you do not have access to the php.ini then whoever administers your site/server needs to fix this
that error “PHP Warning: session_start(): Cannot find save handler ‘memcache’ – session startup failed…” should be more than enough to know where to look (i.e the php sessions setup)
the most basic google search for that error will also show various approaches to fix this . which on would be the appropriate one , however, only the server/site admin will knowfurthermore, php.ini’s might also be configurable for each site, so even if one site on the same host works, does not mean another one must do if the configurations differ.
again, if you do not have access to the php.ini (as you say you don’t) there is zero you can do (or I for that matter) and it is for the admin to fix.
that said (again, i think this is only a very very very VERY – you get the idea – remote possibility), you could try to de-activate all other plugins.
if for some mysterious reason this suddenly works you ‘ll have to find the culprit by re-activating your plugins one by one
if you find that de-activating all other plugins does not make any difference, the previously said applies - AuthorPosts