WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Oderdetails/Thanks text after order not in the right Theme template
- AuthorPosts
- 1 December, 2024 at 6:38 pm #69328
Hi Olly,
I have a problem, but it is probably a small one. 🙂
After the whole order process, you’ll get the thanks message and the order details after you (the customer) click on send. Somehow, the side reloads for the thanks message and the order details, but the widget loads in an empty Theme site (w/o footer, header, and the whole template) and also on just the default site.
I dunno where I probably just missed checking a box for not doing that and loading the content in the correct template, since you see in the URL, that this page is still located on the cart site. (www.domain.de/cart/nocache…) so I think I just forgot something, but dunno where to search and enable it.Maybe you have an idea.
Thanks in advance.Kr
Vesaros1 December, 2024 at 8:05 pm #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 )1 December, 2024 at 8:07 pm #69338Hi,
i work with Elementor and it’s the Shortcode Widget with the input: [wppizza type=”orderpage”] on the Theme Pizzon. (w/o woocommerce)
Hmmz..
1 December, 2024 at 8:36 pm #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 .
2 December, 2024 at 10:53 am #69340This reply has been marked as private.2 December, 2024 at 1:18 pm #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
2 December, 2024 at 1:41 pm #69349Hi Olly,
I did the trial and error way…Elementor seems to not work with wppizza.
I tried it with the 20xx Theme and with Pizzon without Elementor (Plugin) active and it worked.
As I used Elementor with both Themes, it does not work. Thats so ‘”%§!§%!(§%(!…. annoying.
That is the only thing, why I can’t finish my work and publish the website..lol2 December, 2024 at 2:11 pm #69350works just fine here with Elementor …
2 December, 2024 at 2:14 pm #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 3:08 pm #69352This reply has been marked as private.2 December, 2024 at 3:44 pm #69353This reply has been marked as private.2 December, 2024 at 3:46 pm #69354This reply has been marked as private.2 December, 2024 at 3:48 pm #69355This reply has been marked as private.2 December, 2024 at 5:23 pm #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
10 December, 2024 at 12:11 am #69426I have now taken the time to come to the following conclusion.
Wpizza does not work properly in a commercial design that is based on Elementor and delivered with WooCoomerce.
How did I come to this conclusion?
Because I have now tried 4 different commercial themes and all four have the same problem (for information, from different providers). When the order is sent, the thank you page no longer loads in the same template/layout but in the standard template on the same page (I found this out by examining the pages).
I paid for two of the themes myself and borrowed two others. All themes were in the standard installation with the demo content (which you could not specifically deselect in 3 themes, but needed to have the layouts for the individual Elementor pages) with WPpizza then the standard pizza category with the order page widget and the set shopping cart page. Only the email sending was deactivated in the tools.
And the same for all of them. I then spoke to Elementor Support, they referred to WPPizza, as did WooCoomerce Support, and at least the supporters of the two themes I bought also pointed to WPPizza as the cause.
So now I’m faced with a problem and nobody can or wants to help me. I don’t have the skills to understand why Wppizza is the only one that’s making things difficult at this point. I do NOT want to set up the whole thing with WooCoomerce, which is why I extended the licenses for WPPizza and the plugins in the set. I also spent money on one or two themes that should be appropriately appealing.
Unfortunately, the CSS code didn’t help much either, as only the thank you page output is formatted a little on the layout-less page. I know you don’t want to put your energy into it, but it must be possible somehow for the thank you page output to be in the same template as the shopping cart. WooCoomerce has the option to define a shopping cart and a checkout page in the settings. Unfortunately, adjustments to this to use possible filters or hooks for WPPizza didn’t help.
So I’m asking you again if you have any ideas on how I can continue to use WPPizza in the themes I’ve bought. Is there perhaps a way to implement this in the functions.php?
I love WPPizza and have been working with it for years. It worked wonderfully well in my old theme, but the provider removed it from the portfolio years ago and because of all the PHP updates, I can only use it rudimentarily and only in an outdated PHP version. If I can’t control this one problem, I’ll have to switch to WooCommerce and that’s really not what I’m looking for. 🙁
10 December, 2024 at 3:55 am #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 4:05 am #69429> but the provider removed it from the portfolio <
Was referring to my old theme. This is no longer supported and only works on older PHP versions, has nothing to do with WPPIzza in this regard (I just wanted to point out that I have been using WPPizza for years and have learned to love it)
>delivered with WooCoomerce<
Almost every commercial theme that would be acceptable to edit with Elementor is delivered at the same time with the WooCommerce integration. > So you cannot use WPPizza on these themes because of the error.
> Other than that you might also find that 3.19.2 will fix your thank you page issue. <
Oh my God…that fixed the problem!
I could literally cry! I spent hours trying to solve it somehow and you have fixed it now.
May Santa bring you lots of presents this year. <3
10 December, 2024 at 12:39 pm #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
- AuthorPosts
- You must be logged in to reply to this topic.