Home › Forums › WoodMart support forum › Woocommerce checkout notices appearing at top of page??
Woocommerce checkout notices appearing at top of page??
- This topic has 32 replies, 3 voices, and was last updated 7 months, 4 weeks ago by
Artem Temos.
-
AuthorPosts
-
August 16, 2024 at 1:35 pm #590561
RichardTRCParticipantI have a checkout page configured using Layouts.
I have included the woocommerce notices element on the page but it doesn’t appear in the correct place. No matter where I insert the woocommerce notices they always appear at the top of the page content which messes up the page.
See screenshots.
Attachments:
You must be logged in to view attached files.August 16, 2024 at 3:58 pm #590602
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
August 16, 2024 at 7:08 pm #590633
RichardTRCParticipantThanks. See below.
August 16, 2024 at 7:12 pm #590634
RichardTRCParticipantAlso, the contact form 7 form (bottom of every page) doesn’t display on the Checkout page for some reason?? It’s in exactly the same place as all the other pages but gives the error: “Error: This contact form is placed in the wrong place.”
Could you look at this too please?
August 17, 2024 at 2:41 pm #590688
Aizaz Imtiaz AwanKeymasterHello,
May be there is an issue with the 3rd party plugins. Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and share the WP admin login details of your site so I will check and give you a possible solution.
Best Regards.
August 17, 2024 at 2:52 pm #590689
RichardTRCParticipantDisabled plugins and both issues (incorrect woocommerce notifices location and broken CF7 on checkout page).
You already have the login credentials from my previous comment.
August 17, 2024 at 2:52 pm #590690
RichardTRCParticipant*both issues still present
August 17, 2024 at 2:58 pm #590691
RichardTRCParticipantWith only woodmart core, wpbakery, woocommerce and password protected plugin enabled I still get the two issues I describe above.
Could you please escalate this issue as I believe it may be a bug and not the fault of my setup.
August 17, 2024 at 3:48 pm #590706
RichardTRCParticipantNote; you disabled the password protected plugin, I have just enabled it. Please do not disable this. I do not want the site public or indexable at the moment. The issues occur with or without this plugin so it can remain enabled.
August 17, 2024 at 4:37 pm #590708
Aizaz Imtiaz AwanKeymasterHello,
The issue is that you have created only a “Checkout form” layout, for the correct work there should be the “Checkout top content” – https://prnt.sc/-7i8cTEXkYbW
In general, the checkout page contains two different areas that need to be customized separately. A checkout form that will contain all checkout fields and buttons, and Checkout top content needed for login and coupon forms, notices.
Kind Regards
August 17, 2024 at 4:41 pm #590709
RichardTRCParticipantThanks but that’s completely broken my background. It also shows the white box which splits the page. See attached.
Attachments:
You must be logged in to view attached files.August 17, 2024 at 5:03 pm #590712
RichardTRCParticipantSurely Top Content should be inserted into the checkout layout and not be its own layout? That doesn’t really make sense.
August 17, 2024 at 7:57 pm #590727
RichardTRCParticipantI don’t know if you can tag here but; @admin
Artem, Why is checkout top content a separate layout entirely? Surely it makes more sense to have it as an element to insert into the normal checkout layout?
August 18, 2024 at 7:51 pm #590797
RichardTRCParticipantWe need to launch this site ASAP so for the time being I have added CSS to hide the woocommerce notices on the checkout page.
Can I trigger a custom warning to complete required form fields on checkout instead?
August 19, 2024 at 9:42 am #590829
Aizaz Imtiaz AwanKeymasterHello,
For this, you have to create the Checkout Top content layout separately and the Checkout form layout separately in the layouts: https://ibb.co/HVM1dt4
You should add the notices and page title and checkout steps in the Checkout top content layout and other forms in the checkout Froms layout then the notices will show fine.
You need to create both layouts separately and do not use the Notices and checkout steps in the Checkout form layout.
Best Regards.
August 19, 2024 at 2:38 pm #590969
RichardTRCParticipantHi, could you please escalate this issue (perhaps to Artem?) because having checkout top content and the other checkout elements in different layouts it completely screws up the page.
I don’t understand why they need to be two different layouts, they should just be elements on the same layout surely??
August 19, 2024 at 4:50 pm #591025
Artem TemosKeymasterHello,
Checkout consists of two layout parts: one for the actual checkout form (which is wrapped with HTML form tag). And the top part needs to be outside the form, that is why it needs to be created separately. We recommend you import some of our prebuilt checkouts and start customizing it to make sure that it is done correctly. Also, refer to our documentation. https://xtemos.com/docs-topic/checkout-page-builder/
Kind Regards
August 20, 2024 at 8:27 pm #591369
RichardTRCParticipantHi Artem, the issue with that is that it duplicates the background (see my previous screenshots).
It seems very weird that these need to be individual layouts for two parts of the same page. Is this entirely necessary? Eg; would putting them in two different rows not be a better solution? Then you can have a row with the background, an inner row with top content and then another inner row below it with the checkout layout?
August 21, 2024 at 9:25 am #591432
Artem TemosKeymasterHello,
It is necessary because of WooCommerce checkout structure and the nature of HTML forms. You can’t put login and coupon code inside the main form with checkout fields. They will not work because it is not allowed to put one form inside another.
In your case, we recommend you to set the background via Theme Settings and not for particular rows on your page with WPBakery.Kind Regards
August 21, 2024 at 2:16 pm #591533
RichardTRCParticipantThanks. I’ll make those changes and see how I get on.
One thing which is still a concern though; the woocommerce notices opens with a white background, splitting the page. I’ve used CSS to try and make this transparent but not had any joy with that.
August 21, 2024 at 4:58 pm #591559
Artem TemosKeymasterYes, it is because the background image is set for the row and not for the entire page. Try to set it via Theme Settings and it will work correctly.
August 23, 2024 at 11:39 pm #592163
RichardTRCParticipantHi Artem (@admin). Many thanks for clarifying. I’ve now made those changes (removing row bg’s and using settings instead). Thanks for your help with that.
1) I’m still having the issue I mentioned previously where the contact form 7 form is producing an error on the checkout page only. Would you be able to take a look at this please?
2) If you add an item to basket and go to the cart, then remove the product from the cart, it forwards to the empty cart page which is quite malformed. Any advice on this?
Thanks.
August 24, 2024 at 7:47 pm #592289
RichardTRCParticipantThere is also an issue with the Order Complete step of the checkout process. Link can be found in the private info box.
August 24, 2024 at 8:21 pm #592293
RichardTRCParticipantJust realised that link above wont work, so I’ve supplied a screenshot below.
Attachments:
You must be logged in to view attached files.August 24, 2024 at 8:27 pm #592295
RichardTRCParticipantI have now also attached a screenshot of how it looks when you remove a product from your cart. If you just go to the /cart page then it displays fine, this issue only pops up when you remove an item from your cart.
Attachments:
You must be logged in to view attached files.August 25, 2024 at 8:37 pm #592381
RichardTRCParticipantUpdate, and to keep things organised as I know I’ve commented a lot here.. :
– I fixed the issue with malformed empty cart page by creating an empty cart layout, adding the empty cart element and the html block for the footer. This works but the notice appears at the very top of the page, and there is no “top content” option for this so I cannot move it down. Please advise. Screenshot attached.
– The issue with the thankyou page is still present. The “enable default thankyou page” option nor the “Extra content for Thank you page” option don’t have any effect. There is no thankyou page layout option so I cannot customise this. I’ve also attached the screenshot of this to keep things tidy.
– The issue with the CF7 form on the checkout page is still present. I’m not understanding why this is only happening on the checkout page.
Attachments:
You must be logged in to view attached files.August 26, 2024 at 9:48 am #592450
Artem TemosKeymasterHello,
1. You need to add padding top for the first row in your Empty cart content as shown on the screenshot https://monosnap.com/file/8unPtYWlU8wBSF4BTzj1B7atl5CSrP
2. You need to put the
[woocommerce_checkout]
to the checkout page to fix this https://gyazo.com/b488eb5c4bc6bebc904b7acc569ab9863. Checkout content is wrapped in HTML
form
tag so you can’t place any forms inside it. You can either create a prefooter for this form or add it to the checkout top content.Kind Regards
August 26, 2024 at 2:08 pm #592589
RichardTRCParticipantThanks Artem, I will look at this today.
I can see from my security logs that you’re in Ukraine. I wish calm skies and peace soon for you. Stay safe.
August 26, 2024 at 3:55 pm #592651
RichardTRCParticipant1) I added padding to the top row and then removed the padding at the top of the empty cart text to bring everything together, this now displays ok. Thanks.
2) I thought the use of the checkout layout negates the need to include the [woocommerce_checkout] shortcode? If I include the [woocommerce_checkout] shortcode then I cant have a customised checkout form configured through Layouts right? Is there perhaps a way for me to have an entirely separate Thankyou page which isn’t part of the checkout process which would help me workaround this issue?
3) Thanks, this was very confusing as it was only happening on the checkout page. I think for now I will just hide the CF7 form on the checkout page and perhaps try and workaround this later down the line. Thanks.
Point number 2 is the only real issue right now.
August 26, 2024 at 5:01 pm #592681
RichardTRCParticipantI added the woocommerce checkout shortcode to the checkout page (not the checkout layout) and its still broken. See screenshot.
Attachments:
You must be logged in to view attached files. -
AuthorPosts
The topic ‘Woocommerce checkout notices appearing at top of page??’ is closed to new replies.
- You must be logged in to create new topics. Login / Register