• Resolved mihaiiceyro

    (@mihaiiceyro)


    Hello,
    I want to hide 2 messages from the product page when I have the following setup:
    Auto-apply coupon with the free product when a particular product is in the cart.

    I’ve looked in the code but didn’t find the exact line that adds those 2 notifications, can you tell me where I should change the code so it doesn’t work on the product page? (is_product())

    Here is the message: https://prnt.sc/-RaEDlSwIZZ-

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @mihaiiceyro,

    Greetings from WebToffee! Thanks for contacting us on this forum.

    You may use the woocommerce_coupon_message filter to hide the Coupon code applied successfully message and the wt_sc_alter_free_product_added_message filter to hide the Greetings! You’ve got a free gift! message

    Please check with it and let us know how it goes.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @mihaiiceyro,

    As this thread has been inactive for a while, we are going to mark it as resolved. If you need any further assistance, please create a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide message on product page’ is closed to new replies.