Home › Forums › WoodMart support forum › Problems with notifications and warning messages
Problems with notifications and warning messages
- This topic has 4 replies, 2 voices, and was last updated 4 years, 4 months ago by
Artem Temos.
-
AuthorPosts
-
April 10, 2021 at 11:19 am #281225
metuzaParticipantHello,
I got some compaints from customers not able to purcase some products and after looking into this i found that notifications no longer is working and users does not get the message showing why they can not purchase the product.
I have always had sticky notifications disabled in theme settings and used this custom function to make it work in single product only.
function sticky_notifications_single_products( $classes ) { if ( is_product() ) { $classes[] = 'notifications-sticky'; } return $classes; } add_filter( 'body_class', 'sticky_notifications_single_products' );
But now with v6+ it does no longer work. So i activated sticky notifications in theme settings and everything was OK.
So what has been changed since my code above no longer works and why does not the standard notifications work when sticky is disabled?
Brgds
RuneApril 10, 2021 at 12:52 pm #281263
metuzaParticipantI have now checked deeper into this issue and found that woocommerce notices is placed into the footer no matter what settings i use. So any errors my customers get when sticky notifications is of, does load invisible at the very bottom of the single product page.
I seems to be a similar issue as we had with the header banner not closing the placeholder.
Rune
April 10, 2021 at 3:22 pm #281323
Artem TemosKeymasterHello,
Please, provide us a screenshot of this problem for better understanding. Also, send us a link and steps to see this notification.
Note that you can use our new Presets feature and enable sticky notifications option for the single product page only.Thank you
April 10, 2021 at 3:43 pm #281338
metuzaParticipantHello,
Well, i have fixed it now with JS so it works ok by now and i can not provide you with any screenshots as site now is cached again.
But it is as simple as when sticky notifications is disabled it does not show the error notifications at all, but it is possible to see a little part of it below the footer.
Normally it should show up on top of page.
So it seems to me that disabling sticky notifications does not disable all sticky notifications functionality. So the woocommerce notice wrapper is empty and notices loads below footer into nowhere.
Brgds
RuneApril 12, 2021 at 6:02 am #281699
Artem TemosKeymasterHello,
Strange, but we are not able to reproduce this on our side. Probably, you have done some customization or it is some plugin conflict.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register