Home Forums WoodMart support forum Problems with notifications and warning messages

Problems with notifications and warning messages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #281225

    metuza
    Participant

    Hello,

    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
    Rune

    #281263

    metuza
    Participant

    I 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

    #281323

    Artem Temos
    Keymaster

    Hello,

    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

    #281338

    metuza
    Participant

    Hello,

    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
    Rune

    #281699

    Artem Temos
    Keymaster

    Hello,

    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

Viewing 5 posts - 1 through 5 (of 5 total)