[Resolved] Coupon Code Field Gone Missing on Checkout Page

Home Forums Support [Resolved] Coupon Code Field Gone Missing on Checkout Page

Home Forums Support Coupon Code Field Gone Missing on Checkout Page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1092829
    pairfum

    Dear Support,

    We have noticed that the WooCommerce Coupon Code Field has gone missing on the Checkout Page and we don’t understand why.

    This is our website:
    https://www.pairfum.com

    We have switched from our GeneratePress Child Theme (with customisations) to the standard (parent) GeneratePress Theme and the Coupon Code Field retuns.

    Hence, we know it is linked to the customisations of our GeneratePress Child Theme.

    However, when looking at functions.php and style.css we can’t see anything that we believe might cause it.

    Can you help?

    Here is a comparison of the Child Theme’s style.css file (left is the live site and right is the staging site, where the coupon code field is visible):
    https://www.diffchecker.com/BTit5sFc

    Here is the same comparison but for the Child Themes’s functions.php file (left pairfum.com and right staging.pairfum.com):
    https://www.diffchecker.com/ZFQhJ4Lq

    Can you spot the problem?

    Many thanks for your help.

    Kind regards,

    Pairfum London

    #1093331
    Leo
    Staff
    Customer Support

    Hi there,

    Unfortuantely we cannot go through that much code for you.

    Have you tried temporarily removing each block of code until you identify the problematic one?

    #1093769
    pairfum

    Hi Leo,

    Many thanks for your reply.

    We fully understand that you cannot go through the entire code.

    However, the two links show the differences between the two files.

    The files on the right hand side belong to our staging site where we don’t have the problem of the coupon code disappearing:
    https://staging.pairfum.com

    We were hoping you could at the difference between the two files to see whether you can spot why the live site does not show the coupon code field but the staging site does.

    Many thanks for your help.

    Kind regards,

    Pairfum London

    #1093776
    Leo
    Staff
    Customer Support

    Unfortunately this is outside of the theme support as it’s working in the parent theme.

    The easiest method is to comment out each of your own CSS or functions until the problem disappears.

    #1094500
    pairfum

    Dear Leo,

    I am really disappointed by your reply, particularly since your forum does help to solve problems of Theme customisation and malfunction, i.e. not just Parent Theme issues.

    We are under the impression that part of the license fee is for ongoing support.

    Hence, I disagree with your logic that because the parent theme works, you don’t have to help.

    Has there been a change in your support policy because in the past I suspect the answer to our support request would have been different.

    Regards,

    Pairfum London

    #1094698
    David
    Staff
    Customer Support

    Hi there,

    NB: We haven’t changed our support policy. Our support has always been 100% theme and GP Premium plugin related. And any custom development to a users site is outside of our scope. But we unfortunately have this annoying habit of wanting to help wherever we can hence the lines get a little bit blurred.

    Back to the matter – i can’t see how those code differences would affect the coupon field being displayed. But that is not the only difference between the two sites. The live site has additional payment notifications and methods that may be affecting how those woo functions are called.

    First thing to check – What happens if you remove the function for disabling the cart coupon field on the live site?

    Let us know.

    #1102977
    pairfum

    Hi David,

    Many thanks for your reply, explanation and for taking the time to look at the code.

    Our testing site https://staging.pairfum.com is a copy of our live site https://www.pairfum.com and should be identical to the live site.

    Having said this, your suggestion of removing the function that disables the coupon on the cart page, did the trick! Thank you for this tip.

    It does not seem to make any sense but it works!

    Thank you for your help. I really appreciate it.

    Kind regards,

    Pairfum London

    #1103065
    David
    Staff
    Customer Support

    I can only assume that the additional payment functions has changed that functions behaviour. Glad to be of help.

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