Viewing 6 replies - 1 through 6 (of 6 total)
  • supervinnie40

    (@supervinnie40)

    A second vote from me to bring this back (if it was deleted).
    The official Woocommerce plugin for Cart Notices has this function, but it has much less condition to use.

    An example is on their page: https://woocommerce.com/products/cart-notices/
    (I have used this plugin for 2 years, but I was always annoyed by the limited amount of conditions you can use. So I don’t recommend the official Woocommerce plugin).

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    That image is outdated. Plugin functionality was changed.

    To add a button to the cart notice you need to use custom html eg

    
    <a href="http://google.com"><button>TEST</button></a>
    

    Where http://google.com is a destination link and TEST is a button text.

    Regards,
    Dima

    Thread Starter msblic

    (@msblic)

    If I put this in a notice:

    This notice will be displayed if products from the cart have selected category

    %category% – category name <button>TEST</button>

    I end up with a blue banner box of the text with a left-aligned white button “TEST” beneath it–which isn’t a very desirable look. I would hope it might match the styling of the default cart notices (after adding something to your cart, for example, you get a notice with a right aligned button to “View Cart”)

    Is it not possible to do that with this plugin? Thank you for the info!

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    If you need button with same style, then use same HTML for button “View Cart” as default message on your site has.

    Regards,
    Oleg

    Thread Starter msblic

    (@msblic)

    Thank you, Oleg. That worked great.

    One (hopefully) final follow-up question on the admin demo! By checking the “Use WC notices” in settings, does that add the notices by default? So you do not need to add any shortcodes manually–it’s just integrated into WooCommerce pages automatically?

    Thank you! (one little thing–there’s a typo in “Checkout page” after you’ve clicked on “Use WC notices”–just an FYI!)

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    With enabled option “Use WC notices” plugin will add notice to WooCommerce notices, but how it is displayed on page depend on your theme.

    Regards,
    Oleg

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Support for notice button?’ is closed to new replies.