• Resolved seank123

    (@seank123)


    Since the last update we have noticed that the ‘Have a coupon code? Click here to enter your code’ option in checkout is no longer clickable to reveal the add coupon form.

    Looking at the code I have:

    
    <div class="woocommerce-form-coupon-toggle">
    <div class="woocommerce-info">
    "Have a coupon code? Click here to enter your code"
    ::after
    </div>
    </div>
    

    There is not <a href around the ‘Click here to enter your code’ text any more!

    I’ve temporarily worked around it by adding .checkout_coupon.woocommerce-form-coupon {display:block!important;} to show the Add Coupon form without the toggle

    • This topic was modified 2 years, 8 months ago by seank123.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there!

    Since the last update we have noticed that the ‘Have a coupon code? Click here to enter your code’ option in checkout is no longer clickable to reveal the add coupon form.

    Good analysis. Cheers.
    Let’s have a look at the markup together. Where can we see this please?

    I’ve temporarily worked around it by adding .checkout_coupon.woocommerce-form-coupon {display:block!important;} to show the Add Coupon form without the toggle

    Got it ✅.

    Kind regards,

    Thread Starter seank123

    (@seank123)

    @conschneider thanks for the response!

    The site is: https://clothing.brandsavvy.co.uk/product/bracken-lane-primary-polo/

    As you can seem in Checkout the link that toggles the add coupon form is not there – it’s just text!

    The temporary fix to display the input is fine for now – and I might keep it like that and display:none the toggle area too.

    I’ve tried it on a few other sites using the same theme (GeneratePress) and it works fine on those so I suspect a plugin conflict. When I have time I will clone the site and play about with disabling plugins to see if that’s the issue!

    Plugin Support lionel.a11n

    (@lioneldaniel)

    Hello @seank123,

    Thanks for the link and additional information!

    I strongly agree that it appears to be a plugin conflict (or a problem with this particular instance of your theme). If you are able to search your plugin files, you could look for any cases of the WooCommerce filter woocommerce_checkout_coupon_message (located in templates/checkout/form-coupon.php), which is the filter where the link is created – though there might be some other conflict stripping the HTML link out of the notice.

    Since it sounds like your workaround is sufficient for now and you aren’t immediately planning to test for conflicts, I’m going to mark this as Resolved – but please do let us know what you find so we can troubleshoot further if needed. 🙂

    Thanks!

    Thread Starter seank123

    (@seank123)

    Had a look at a few more sites and they all work fine so it does look like it’s specific to this site.
    I’ll have a look at that filter when I get a chance!
    But as you say, it’s not sure major issue so happy for it to be closed!
    I’ll let you know if I sort it!

    Thanks

    Hello – I’d like to chime in on this thread, since it wasn’t really resolved.

    Our website is having the exact same problem. So after cloning the live site for a staging site, I have taken the following steps:

    1. Changed the theme from our custom theme to Twenty Nineteen
    2. Went to the Plugins page, and deactivated everything except the core WooCommerce plug-in.

    And the issue is still happening. The promo code I’ve created (VUKJFU8G) works at /cart to provide a fixed discount of $44.00. But if I remove that promo code (or don’t enter it at /cart) and proceed to /checkout, the text “Have an Promo Code? Click here to enter your code” doesn’t provide a link or option to enter the code.

    Since I’ve removed the custom theme and deactivated all other plug-ins, this appears to be an issue with the core WooCommerce plug-in.

    Note: currently running Version 5.9.0

    You can see this for yourself at the staging site: https://954cfbbb37.nxcli.net/

    Thanks for your further help with this issue,
    Jim

    Hi @jimmb

    Could I ask you to please open your own thread regarding this issue – this thread has been previously closed and we want to ensure your issue does not get missed. Please open a new topic here – https://wordpress.org/support/plugin/woocommerce/#new-topic-0

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘‘Have a coupon code? Click here to enter your code’ Not clickable in Checkout’ is closed to new replies.