• I am setting up a wholesale user system so some of our wholesale clients can order items at a reduced price and in quantity. Can I turn off Afterpay on the category and product pages just for those users? I can during checkout via the wholesale plugin. I would prefer that the offer for Afterpay doesn’t appear at all for them. Thanks.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tomigco

    (@tomigco)

    Is there any Afterpay support here? 4 days and counting…

    Plugin Author Afterpay

    (@afterpayit)

    Hi @tomigco,

    Thank you for your message.

    The Afterpay Gateway for WooCommerce plugin has a number of hooks that can be implemented to modify behaviour and / or display.

    The afterpay_is_product_supported filter hook can be used to not only hide the messaging, but also disable the Afterpay Payment Gateway if the product is included in the customers cart.

    To modify or hide the badge and logo on the product page (without affecting the checkout) the afterpay_html_on_individual_product_pages hook can be used. Hiding the messaging on category pages and search results can be achieved by using the afterpay_html_on_product_thumbnails hook.

    Examples can be found here: https://developers.afterpay.com/afterpay-online/docs/woocommerce-hooks

    Thank you

    Thread Starter tomigco

    (@tomigco)

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Afterpay option completely for wholesale users’ is closed to new replies.