Forum Replies Created
- AuthorPosts
-
wrong place.
That particular one is set in wppizza->layoutam not going to bore you with the details why that was moved there , though maybe something to look at again at some point as this was done years ago, but for now, it’s there
Preorder v3.12 allows for this now to be enabled in the settings
Hope that helps
10 December, 2024 at 12:39 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69438>Was referring to my old theme…
Ok, thanks for the clarification.>Almost every commercial theme…
It’s not actually themes themeselves – or indeed woocommerce – that were the issue, but elementor (as you know of course)
but I’ll spare you the details as it’s quite irrelevant now>Oh my God…that fixed the problem!
Glad to hear it>I spent hours trying to solve it somehow and you have fixed it now
Only possible because you provided the info and details I asked for . So you can thank yourself too 😉Don’t cry. It’s almost xmas. Time to rejoice and all that and if you have any more / other issues, get in touch. I cannot fix or amend things if I know nothing about them
Cheers
10 December, 2024 at 3:55 am in reply to: Oderdetails/Thanks text after order not in the right Theme template #69428>but the provider removed it from the portfolio years ago and because of all the PHP updates
Sorry, but I do not understand that statement. Could you expand on that ? what provider removed what exactly ? I am also somewhat puzzled as to what you mean by you can only use it on “outdated php versions “. wppizza is being developed with latest php (and with even not yet marked as stable future / development php versions)>delivered with WooCoomerce
I don’t follow. WPPizza has nothing to do with woocommerce ?!Other than that you might also find that 3.19.2 will fix your thank you page issue.
(As it happens, when dealing with something else a few days ago, I stumbled across a different way to implement the thank you page output which I believe works around all these potential theme and page builder incompatibilities.)In any event, it is of course entirely your choice to switch to woocommerce if you so wish .
10 December, 2024 at 3:45 am in reply to: The self-collection option does not lead to redirection to the menu page #69427As of 5.3 of the postcode plugin the redirection should work (again)
furthermore – as mentioned above in this thread – there is also now a ‘redirect’ attribute added that can be used in the shortcode (see https://docs.wp-pizza.com/developers/?section=delivery-by-post-zipcode).Hope that helps
Just out of curiosity, I had a dig around. So below some comments which may (or may not) be helpful
Not exhaustive research though. Maybe it helps someone somewhere.>If I upload the pictures directly it seems to work.
Yup. If you upload pics the regular way with wordpress, it generates 4 distinct separate images scaled and/or cropped.
exmage-wp-image-links (other/similar plugins may do the same) simply uses the image you added which then gets resized via css and image attributes. No actual resizing/cropping is taking place.
Since WP 6.7 WP adds the ‘auto’ attribute – if it’s missing and in certain circumstances – to the image sizes attribute.
So if the actual (thumbnail) image is meant to be square – but the actual image is not – it will simply be distorted to make it square.As it turns out, you can actually turn this off with the filter below, but this might have implications elsewhere.
I did not want disappear all the way down that rabbit hole – so if you do that , make sure to check all your images / pages .
Perhaps it works or perhaps it’s just a starting point . All depends on your particular site setup and many other factors. Suffice to say, it’s out of my (wppizza) hands and evidently something that WP introduced to the detriment of these kind of plugins…//remove auto from image sizes attribute (if set to lazy) add_filter('wp_img_tag_add_auto_sizes', 'myprefix_img_tag_remove_auto_sizes'); function myprefix_img_tag_remove_auto_sizes(){ return false; }
Has nothing to do with wppizza. WPPizza does not set image sizes like that.
it only ever gets the thumbnail depending on what’s set as thumbnail sizes
and generates and outputs something like this:<img width="64" height="64" src="http://[somedomain]/wp-content/uploads/2022/08/pizza-64.png" class="wppizza-article-image-thumb wp-post-image" alt="" title="Special Pizza" />
your theme – or some plugin – generates this:
<img loading="lazy" decoding="async" width="768" height="768" src="https://[somedomain]/wp-content/uploads/2024/10/pizza_pomodori.png" class="wppizza-article-image-thumb wp-post-image" alt="" title="Pizza POMODORI" srcset="https://[somedomain]/wp-content/uploads/2024/10/pizza_pomodori.png 300w, https:/[somedomain]e/wp-content/uploads/2024/10/pizza_pomodori-150x150.png 150w, https://[somedomain]/wp-content/uploads/2024/10/pizza_pomodori.png 768w, https://[somedomain]/wp-content/uploads/2024/10/pizza_pomodori.png 1024w, https://[somedomain]/wp-content/uploads/2024/10/pizza_pomodori.png 800w" sizes="auto, (max-width: 768px) 100vw, 768px">
you will also find that where your images look the right size the last declaration is
sizes="(max-width: 768px) 100vw, 768px"
instead of
sizes="auto, (max-width: 768px) 100vw, 768px"
i.e whatever generates the “auto” is your culprit. Only you will know whether that’s a theme or plugin. I can guarantee you though it’s not wppizza
6 December, 2024 at 6:51 pm in reply to: The self-collection option does not lead to redirection to the menu page #69379Forget the screenshot.
I think there’s simply a misunderstanding here. From what I can see, this works all just fine and as intended.A few things:
>When selecting the pick-up option, the “Our Menu” page does not appear as expected.
From what I can see (correct me if I’m wrong) you put the wppizza_dbp shortcode on your homepage.
If you put it on a page that does not have a cart/menu item on there it simply sets the choices made by the customer in the background so a subsequent visit to your wppizza menu page will take this into consideration. Nothing other than that will happen .
The idea of the shortcode is to offer an alternative to the popup (plugin settings). It cannot have any idea if or indeed where you want to redirect to.That said, there’s of course always the possibility that I misunderstand the problem you are referring to. If so , let me know.
Furthermore, thinking out loud here , perhaps I could add an attribute to the plugin short code options in th enext update that would allow you to set a redirection pageid or something when the “OK” was clicked.
I’ll think about that>However, the new version has more problems than the old one
How so ?6 December, 2024 at 4:33 pm in reply to: The self-collection option does not lead to redirection to the menu page #69377Can you post a screenshot of your postcode plugin options/settings please
5 December, 2024 at 1:28 pm in reply to: Which database tables contain all wppizza+plugin settings? #69374there is no such thing.
wppizza is a regular wordpress custom post type which is therefore adding it’s db entries in multiple tables alongside other db entries.
However, wppizza does not really care about themes (unless you customised them somewhat in which case I would recommend the paragraph here regarding portability https://docs.wp-pizza.com/developers/?section=filters-actions-functions) so you can simply switch between themes as you wish – though themes will need their own setup of courseOption 1: you name the ingredient accordingly. i.e call it “ohne Olives” in the first place
(you may want to also then enable option: ‘Omit “1x” in cart, order and account history?’ – though the 1x is still shown initially when choosing. I may look into this at some point )Option 2: The much easier option is to simply add a textfield ( custom groups => add textbox to item) where the customer can write this sort of thing.
PS:
Personally I always found Option 2 above complete overkill (and it would not make the administration of it all any simpler). I believe it only manages to confuse people and is only really that useful for some specific situations.
Customers (most of them anyway) are quite capable to say if they do not want something from a menu item (or perhaps they should order something different to start off with – but that’s somewhat academic here).
Just my 2 cents worth thoughThe choice is yours of course
> the pre-selected items are already the main ingredients
in which case they should not be an additional selectable ingredient .
E.g a (typical) Pizza Margharita is a pizza topped with tomato, mozzarella, and fresh basil.
Unless you want the customer to be able to add “extra mozarella” – in which case you would add an “extra mozarella” ingredient – it would simply not be available as an add ingredient (you would probably want to write “pizza topped with tomato, mozzarella, and fresh basil” in the product description instead though)2 December, 2024 at 5:23 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69356Ok, so:
Elementor adds lots and lots of surrounding elements to the orderpage widget (about a dozen or more)
Interestingly, after payment (i.e on the so-called “thankyou page”) it does not add those wrapper elements anymore.
Why ? I have no idea.
That said – given the popularity of elementor – I’ll have a look as to whether it’s something they should perhaps be doing or I should perhaps be doing and/or find a workaround/fix if applicable. I simply do not know yet where the issue is exactly
so will probably not be something that can be done quickly as it may have many implications elsewhere.That said, if the only page where you are having issues is your thank you page, there is certainly an easy fix by simply adding the following (adjust as required) to your css somewhere (see https://docs.wp-pizza.com/advanced/?section=frontend-css-styles-layout). This is a very specific override to that widget there so should be quite safe to use
.wppizza-order-wrap-thankyoupage{ padding-top: 100px; margin: 0 20%; }
PS: if you enable debug on your site you will see that elementor throws lots and lots of database errors. which may – or may not – be related. Just mentioning it though that really is something for them to fix.
That’s it from me for now on this subject
2 December, 2024 at 3:48 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69355This reply has been marked as private.2 December, 2024 at 3:44 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69353This reply has been marked as private.2 December, 2024 at 2:14 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69351out of curiosity, if you want to make a duplicator package available for me somewhere, I can have a look (i assume you know what i am talking about)
2 December, 2024 at 2:11 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69350works just fine here with Elementor …
2 December, 2024 at 1:18 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69348as you are using a commercial theme I can only advise you to the usual troubleshooting as per
https://docs.wp-pizza.com/troubleshooting/if you disable all plugins except the main wppizza one and only get the issue with the theme you are using but not any default theme , you will have to speak to the theme author.
I will not be able to advise you as to what your theme’s issues may be (as it is commercial, I will not be buying it as i have no use for it)PS: You should make sure to also check your javascript console too for some clues
1 December, 2024 at 8:36 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69339As I know nothing about the “Pizzon” theme, all I can only really say is :
Does it work as expected with a default 20something theme ? If so , it’s a question for the “Pizzon” theme developerAs it’s all a bit abstract though, do you have a screenshot of your thank you page you can share ?
Ideally with some comments as to what you expect there to be different if it’s not that obviousPS: woocommerce usage (or not) is not relevant .
1 December, 2024 at 8:05 pm in reply to: Oderdetails/Thanks text after order not in the right Theme template #69337>but the widget loads in an empty Theme site
what widget please ?That said, if you are using the “Avada” theme, then the fault is there and they need to fix this – they know about this but seemingly refuse to do anything about this .
(Regardless of what they say, they are simply using the ‘the_content’ filter multiple times on the same page – with the results you can see ) - AuthorPosts