Order confirmation page -> 404
-
When I place a test order after the order the customer is redirected to a 404 page instead of the order confirmation page.
you can try to place ad order to the provided url to reproduce the issue there is only bank transfer as payment (i will delete the order afterwards)
The page I need help with: [log in to see the link]
-
Hi @byographic,
Thanks for reaching out.
I understand that customers are redirected to a?
404
?error page after completing their purchase.Can you confirm if the Checkout Endpoint?for?Order received?is properly set? You can do this by navigating to WooCommerce →? Settings →??
Advanced
?tab, and check that the?Checkout Endpoint is properly set.Looking forward to assisting you further.
Yes they are setted, I’ve attached a screenshot: https://pasteboard.co/DA2DwIKhsY6G.png
the website is build with elementor pro and there is WPML for transaltions
Hey, @byographic!
Thanks for the screenshot.
I tried accessing your website to check the error, but I got a “page cannot be reached” error on the homepage. Are you able to access it?
You mentioned you used Elementor, have you made any changes to the order received page with it?
Can you please run a conflict test to see if something external is interfering with this?
To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.
If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce (this includes deactivating Elementor and WPML) and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.
— Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
— It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.
You can find more about this in this guide.
Please let us know about your findings.
Have a wonderful day!
Hi the store should be accessible at the link provided,
I’ve tried change the theme to storefront (was build on hello elementor) and to disable every plug-in except Woocommerce and even in this state I cannot get it to work.
https://pasteboard.co/J8GEQlV4Qrhz.png
if I try to add products to the cart it doesn’t work. There is only one product “stuck” in the cart and if i try to place ad order the pages refreshes but the order doesn’t not register.
thanks
I’ve also done an additional test I’ve installed a fresh new WordPress with Woocommerce (in a different subfolded “2024”) and just imported the products if I click on a products shows a 404 page this is a link of a product: https://montebaducco.it/2024/product/latte-di-asina-in-polvere-bio-1kg/
you can try click on related product and still get a 404 page
https://pasteboard.co/I2ZC9PR2fwC5.png
the hosting is Siteground
- This reply was modified 4 months, 1 week ago by byographic.
Hello byographic
Thank you for your reply.
Appreciate your step for creating a new site.
Could you navigate to Dashboard → Settings → Permalinks.
Then share a screenshot of the Product permalinks section.
Then choose Default option, click Save Changes and check if that fixes the 404 issue on product pages.To make sure you are visting the correct URL format, go the Product and click View link on any product.
Let me know how it goes. ??
Best regards.
Hi, I’ve changed the permalink on the test site the one in the “2024” subfolder and is now working correctly.
this made me realise that is indeed a permalink problem.
this is the url structure of the order confirmed page of the “2024” subfolder that now works correctly
https://montebaducco.it/2024/checkout/order-received/92/?key=wc_order_faGTwSxbcoF3V
this is the structure of the website i’m having trouble with, installed in the “new” subfolder
https://montebaducco.it/new/?page_id=61%2Forder-received%2F15180%2F&key=wc_order_qcT8LOG4Gz6Ep
the page_id=61 does not exist! the checkout page is the page id=76 were I have customised the slug to translate in Italian “pagamento” instead of “checkout”
this is a screenshot of Woocommerce setting
https://pasteboard.co/Uwdprni11ud2.png
also if I try to change the product permalinks to Default and save it goes back to the “Custom base” setting
https://pasteboard.co/TXPL4ZNboAmP.png
thanks
Hello byographic
Thank you for your reply.
You did a great job identifying the issue.
Now that we know this is related to permalinks, we can try to fix this.Could you check if you can change and save the Permalink Structure settings?
Try choosing Day and name and save the settings.
Then check if these changes are saved.
This will determine whether the problem is at the WordPress level or the WooCommerce level.If this does not fix the issue, try again with all plugins disabled and the theme set to Twenty Twenty-four.
Access your server via FTP or FileManager and delete the .htaccess file in the root directory https://montebaducco.it/new/.
Then try the same steps to save Day and name as permalink settings.Let me know how it goes. ??
Best regards.
Hi, I’ve changed the WordPress permalink and the product permalink I’ve selected “Shop base with category” and the permalink seem to save but it site in the “new” subfolder is still now working.
https://pasteboard.co/GTJWrA77MU9g.png
I’ve disabled every plug-in (except for Woocommerce) and enabled the storefront theme even in this bare minimum state does not work.
For example if I put in the cart this product: https://montebaducco.it/new/shop/donkey-milk-cosmetics/2-assorted-soaps/
https://pasteboard.co/Ye3XudUWPa4J.png
and proceed to the cart i find in it a completely different product: https://montebaducco.it/new/shop/powdered-donkey-milk/asin-milk-powder-bio-1kg/
https://pasteboard.co/aGcXBjZpFLNL.png
and if I try to place an order paying with bank transfer the cart page refresh but return to the same page (cart) and in the backend Woocommerce -> orders does not register
Hi, I’ve done another test.
I’ve imported the elementor template and content on the website that was working installed in the subfolder “2024” and now when I place an order i get redirected to an image specifically this url: https://montebaducco.it/2024/wp-content/uploads/2024/07/reflora-2_WEB.jpg?key=wc_order_zQpUAY7aZqzp4
so I belive the problem is in elementor somewhere how do I proceed now?
Hi @byographic,
That’s correct. This is an issue with Elementor Pro. We had a similar case about a month ago. You can check?their solution as well; I’m sure it’ll help!
If you have further questions, please contact Elementor Pro support here or review their documentation here.
Cheers!
-OPHello,
I’ve contacted Elementor support, they where very helpful and guided me to the solution.
Basically there is a setting in Elementor Pro -> Site Settings -> Woocommerce
https://pasteboard.co/03VYet9k7OWK.png
where I had to set the page where I want the user to be redirected after the order, this solved the problem!
I hope this help other people with the same issue!
thanks
Hello @byographic,
It’s great to hear that your issue was resolved and thank you for sharing it with the community.?This might help other users with the same problem.
Should you have further inquiries, kindly?create a new topic here.
Cheers!
- You must be logged in to reply to this topic.