WPPizza – A Restaurant Plugin for WordPress › Support › General Support › The self-collection option does not lead to redirection to the menu page
- AuthorPosts
- 18 November, 2024 at 8:59 am #69229
Hello Olly,
I hope you can help me with my problem. I use the DBP plugin.
When selecting the pick-up option, the “Our Menu” page does not appear as expected. The option “do NOT require the customer to make a selection if he/she has selected “self-pickup” from your store” is activated.
The option “require customer to select a post/zipcode” is not activated.
Do you have an idea where the problem could be?
Here is my installation: http://webshop.deinliefershop.deThank you and best regards
NsrPlanet30 November, 2024 at 8:26 pm #69316Unfortunately, I’m still waiting for a statement or feedback
1 December, 2024 at 2:57 am #69327Hi
apologies for the delay – I had responded in my head, but never put it to paper so to speak.
Regardless, looking at your site , your (wppizza related ) plugins – specifically the post/zipcode plugin – are several years out of date, so I would suggest you update those to to most recent version to start off with.
Furthermore, enabling debugging is also always a good thing to do if you have any issues ( see https://docs.wp-pizza.com/troubleshooting/ )PS: your site also links to localhost images/links that do not work obviously
6 December, 2024 at 1:48 pm #69375Thank you for your answer.
I bought and installed the new version of the plugin. However, the new version has more problems than the old one. That’s why I thought I’d continue working with the old one.
I’m installing the new version and turning on the debug function. There are still links to localhost because I’m still editing the page. I’ve put it online temporarily just for this problem so that you can see what the problem is.
Can you take a look with the new version of plugin please. The problem still occurs either with the new installed version.6 December, 2024 at 4:33 pm #69377Can you post a screenshot of your postcode plugin options/settings please
6 December, 2024 at 6:51 pm #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 7:51 pm #69380From 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 .Yes, you got it right. I assumed that this function was already integrated into the plugin.
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.
Please consider adding such a redirect in the next update. I can imagine that many users will be looking forward to it.
How so ?
The redirection does not take place even though it is set in the setting (See the first screenshot)
http://webshop.deinliefershop.de/wp-content/uploads/2024/12/Screenshot-2024-12-06-145346.png
http://webshop.deinliefershop.de/wp-content/uploads/2024/12/Screenshot-2024-12-06-201024.png
10 December, 2024 at 3:45 am #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
10 December, 2024 at 9:17 am #69430Thank you, Olly. It works.
Great work (y) - AuthorPosts
- You must be logged in to reply to this topic.