• Resolved alekseyn

    (@alekseyn)


    Hello,

    It is possible to keep showing ‘Have a coupon?’ after a coupon was already applied on the checkout page?

    On cart page – there is no problem. We’d like our customers to apply multiple coupons on the checkout page.

    Looks like the default behavior is to hide that message once one coupon was applied. How to prevent that from happening?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi,

    Your theme probably uses Javascript to modify the class of the “Have a coupon” link. For example the Storefront theme keeps both: https://cld.wthms.co/ytBhSI

    You can see that there is a class called showcoupon. I would examine the markup for any behaviour and if needed write some Javascript keeps the form there or edit the Javascript of your theme that modifies the visibility.

    Thread Starter alekseyn

    (@alekseyn)

    Hello again.

    I am also testing on Storefront. Once the coupon is applied, please refresh the page and the ‘have a coupon’ message will no longer be there.

    So if someone programmatically applies a coupon before the customer gets to the checkout screen, there would be no way to apply another coupon.

    Thanks for your support!

    Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy!

    I did confirm that the Have a coupon? Click here to enter your code. box is removed upon page refresh.

    I’ve submitted an issue to our developers to look into. You can follow along and check the status of it here (as well as add your comments if you have any additional things to say): https://github.com/woocommerce/woocommerce/issues/20783

    I’ll be closing this thread now, please be sure to keep an eye on the GitHub issue link for updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Keep showing ‘Have a coupon?’ after a coupon already applied’ is closed to new replies.