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

    I’m trying to do the following:
    -Add woocommerce short codes into “buttons” and not sure where to do this. I went into Developer location, but not sure what to do from there. The button should not redirect to cart or checkout page.
    -I want it also to pop up a little message or highlight button showing that product has been added.

    #1404091

    Hey simplycoding15,

    Thank you for the inquiry.

    Did you try adding the shortcode using a Text or Code block? Keep in mind that WooCommerce messages, such as “added to cart”, will only appear on default product templates or pages, such as the category or base shop page. These messages will not display on custom pages created using the Advanced Layout Builder.

    Best regards,
    Ismael

    #1404124

    Ismael,

    I tried adding it to a BUTTON module here: https://snipboard.io/fc7WOQ.jpg

    #1404127

    think it I figured it out. I added a link to the button. I just don’t know how to do the following:

    1) After a customer clicks on ADD COURSE, it should keep them in the same spot on the page and not refresh the page and go to the top.
    2) It would be nice to have the button go a different color and say COURSE ADDED or something like that.

    #1404180

    Hi,

    Have you tried using the actual add to cart shortcode? Please check the link below for more info.

    // https://woocommerce.com/document/woocommerce-shortcodes/#add-to-cart

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.