• Resolved michdia

    (@michdia)


    The input box for users to enter the coupon code on my checkout page will no longer display. The problem began when I upgraded from WooCommerce Version 9.7.1 to Version 9.9.5 (I tested each plugin independently to ensure that this is the culprit). I have since upgraded to the latest version of WooCommerce, but the issue persists. I’m guessing that the problem may have something to do with the input changes made in version 9.9.0, but I can’t figure it out. Any ideas are most appreciated.

    To see the problem, visit the URL provided, select a product and click “order now” to go to the checkout page. On the checkout page, click “enter coupon code” at the top to see where the input box should display.

    Here is my system status:

    System Status Report

    ### WordPress Environment ###

    WordPress address (URL): [Redacted]
    Site address (URL): [Redacted]
    WC Version: 10.0.2
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ✔ 3.9.2
    Log Directory Writable: ✔
    WP Version: ❌ 6.8.1 - There is a newer version of WordPress available (6.8.2)
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info:
    Server Architecture: Linux 6.8.0-1016-aws x86_64
    PHP Version: 8.1.33
    PHP Post Max Size: 100 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 10000
    cURL Version: 7.88.1
    OpenSSL/3.0.16

    SUHOSIN Installed: –
    MySQL Version: 8.0.32
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    [REDACTED]

    ### Post Type Counts ###

    acf-field: 15
    acf-field-group: 2
    amn_smtp: 1
    attachment: 8
    bnfw_notification: 1
    job_listing: 706
    nav_menu_item: 15
    oembed_cache: 1
    page: 11
    post: 2
    product: 4
    revision: 231
    shop_coupon: 7
    shop_order: 676
    shop_order_refund: 55
    wp_global_styles: 1
    wp_navigation: 1

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (16) ###

    Advanced Custom Fields PRO: by WP Engine – 6.4.2
    Advanced Google reCAPTCHA: by WebFactory Ltd – 1.30
    Better Notifications for WP: by Made with Fuel – 1.9.8
    DisabilityScoop Job Manager: by – 1.2
    Post Status Notifier: by Timo Reith – 1.12.0
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.9
    Two Factor: by ww.wp.xz.cn Contributors – 0.14.0
    WooCommerce.com Update Manager: by Automattic – 1.0.3
    WooCommerce Stripe Gateway: by Stripe – 9.6.0
    WooCommerce Smart Coupons: by StoreApps – 9.44.0
    WooCommerce: by Automattic – 10.0.2
    Wordfence Security: by Wordfence – 8.0.5
    Yoast SEO: by Team Yoast – 25.5
    WP Job Manager - WooCommerce Paid Listings: by Automattic – 3.0.3
    WP Job Manager: by Automattic – 2.4.0
    WP Mail SMTP: by WP Mail SMTP – 4.5.0

    ### Inactive Plugins (1) ###

    Braintree for WooCommerce Payment Gateway: by WooCommerce – 3.2.9

    ### Dropin Plugins () ###

    maintenance.php: maintenance.php

    ### Must Use Plugins (1) ###

    Pagely Management V2: by Pagely – 2.0.66

    ### Settings ###

    Legacy API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    job_package (job_package)
    job_package_subscription (job_package_subscription)
    resume_package (resume_package)
    resume_package_subscription (resume_package_subscription)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    Connected to WooCommerce.com: ✔
    Enforce Approved Product Download Directories: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    Enabled Features: analytics
    marketplace
    order_attribution
    site_visibility_badge
    remote_logging
    blueprint
    point_of_sale


    ### Logging ###

    Enabled: ✔
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 2 KB

    ### WC Pages ###

    Shop base: #2030 - /shop/
    Cart: #5 - /cart/ - Contains the woocommerce_cart shortcode
    Checkout: #6 - /checkout/ - Contains the woocommerce_checkout shortcode
    My account: #7 - /my-account/ - Contains the [woocommerce_my_account] shortcode
    Terms and conditions: #51 - /terms-of-sale/

    ### Theme ###

    Name:
    Version: 1.0
    Author URL: http://www.amberweinberg.com
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    Theme type: Classic theme
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: ds-jobs/woocommerce/checkout/form-login.php version 2.0.0 is out of date. The core version is 10.0.0
    ds-jobs/woocommerce/checkout/payment.php version 2.5.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/checkout/terms.php version 2.5.0 is out of date. The core version is 3.4.0
    ds-jobs/woocommerce/checkout/thankyou.php version 3.0.0 is out of date. The core version is 8.1.0
    ds-jobs/woocommerce/emails/admin-cancelled-order.php version 2.5.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/admin-failed-order.php version 2.5.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/admin-new-order.php version 2.5.0 is out of date. The core version is 10.0.0
    ds-jobs/woocommerce/emails/customer-completed-order.php version 2.5.0 is out of date. The core version is 9.9.0
    ds-jobs/woocommerce/emails/customer-invoice.php version 2.5.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/customer-new-account.php version 1.6.4 is out of date. The core version is 10.0.0
    ds-jobs/woocommerce/emails/customer-note.php version 2.5.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/customer-on-hold-order.php version 2.5.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/customer-processing-order.php version 3.7.0 is out of date. The core version is 9.9.0
    ds-jobs/woocommerce/emails/customer-refunded-order.php version 2.5.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/customer-reset-password.php version 2.0.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/email-addresses.php version 3.0.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/email-customer-details.php version 2.5.0 is out of date. The core version is 9.7.0
    ds-jobs/woocommerce/emails/email-footer.php version 2.3.0 is out of date. The core version is 10.0.0
    ds-jobs/woocommerce/emails/email-header.php version 2.4.0 is out of date. The core version is 10.0.0
    ds-jobs/woocommerce/emails/email-order-details.php version 3.0.0 is out of date. The core version is 9.8.0
    ds-jobs/woocommerce/emails/email-order-items.php version 3.0.0 is out of date. The core version is 9.9.0
    ds-jobs/woocommerce/emails/email-styles.php version 2.3.0 is out of date. The core version is 9.9.0
    ds-jobs/woocommerce/global/wrapper-end.php version 1.6.4 is out of date. The core version is 3.3.0
    ds-jobs/woocommerce/global/wrapper-start.php version 1.6.4 is out of date. The core version is 3.3.0
    ds-jobs/woocommerce/myaccount/dashboard.php version 2.6.0 is out of date. The core version is 4.4.0
    ds-jobs/woocommerce/myaccount/form-edit-account.php version 2.6.0 is out of date. The core version is 9.7.0
    ds-jobs/woocommerce/myaccount/form-edit-address.php version 3.0.0 is out of date. The core version is 9.3.0
    ds-jobs/woocommerce/myaccount/form-reset-password.php version 3.0.0 is out of date. The core version is 9.2.0
    ds-jobs/woocommerce/myaccount/my-account.php version 2.6.0 is out of date. The core version is 3.5.0
    ds-jobs/woocommerce/myaccount/my-address.php version 2.6.0 is out of date. The core version is 9.3.0
    ds-jobs/woocommerce/myaccount/orders.php version 3.0.0 is out of date. The core version is 9.5.0
    ds-jobs/woocommerce/myaccount/view-order.php
    ds-jobs/woocommerce/order/order-details-customer.php version 3.0.0 is out of date. The core version is 8.7.0
    ds-jobs/woocommerce/order/order-details-item.php version 3.0.0 is out of date. The core version is 5.2.0
    ds-jobs/woocommerce/order/order-details.php version 3.0.0 is out of date. The core version is 9.8.0

    Outdated Templates: ❌


    Learn how to update |




    Clear system status theme info cache

    ### WooCommerce Stripe Payment Gateway ###

    Version: 9.6.0
    Account ID: acct_1JDCeHLHyTi60yUk
    Account Email: [email protected]
    Test Mode Enabled: ✔
    No
    OAuth Connected: No
    Legacy Checkout Experience: ✔
    No
    Enabled Payment Methods: card
    Express Checkout: ✔
    Enabled (product,cart)
    Auth and Capture: ✔
    Yes
    Logging: No

    ### Admin ###

    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store
    add-to-cart-with-options-stepper-layout

    Disabled Features: product-data-views
    experimental-blocks
    experimental-iapi-mini-cart
    experimental-iapi-runtime
    coming-soon-newsletter-template
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system
    use-wp-horizon

    Daily Cron: ✔ Next scheduled: 2025-07-17 21:03:49 -04:00
    Options: ✔
    Notes: 249
    Onboarding: completed

    ### Action Scheduler ###

    Complete: 105
    Oldest: 2025-06-16 00:59:04 -0400
    Newest: 2025-07-16 17:29:33 -0400

    Failed: 2
    Oldest: 2023-03-30 23:45:11 -0400
    Newest: 2023-05-05 16:04:51 -0400

    Pending: 3
    Oldest: 2025-07-17 05:29:33 -0400
    Newest: 2025-07-17 14:17:21 -0400


    ### Smart Coupons related settings ###

    ⠀* Number of coupons to show: 5
    ⠀* Number of characters in auto-generated coupon code:
    ⠀* Valid order status for auto-generating coupon: Processing | Completed
    ⠀* Automatic deletion: ❌ No
    ⠀* Coupon emails: ❌ No
    ⠀* Printing coupons: ✔ Yes
    ⠀* Sell gift cards at less price?: ❌ No
    ⠀* Use gift card applied in first subscription order for subsequent renewals until credit reaches zero: ✔ Yes
    ⠀* Allow sending of coupons to others: ✔ Yes
    ⠀* Allow schedule sending of coupons?:
    ⠀* Combine emails:
    ⠀* Auto generated coupon email: ❌ No
    ⠀* Combined auto generated coupons email: ❌ No
    ⠀* Acknowledgement email: ❌ No
    ⠀* Include tax in the amount of the generated gift card:
    ⠀* Deduct credit/gift before doing tax calculations: ❌ No
    ⠀* Gift Card discount is inclusive of tax: ❌ No
    ⠀* Enable taxes: ❌ No
    ⠀* Prices entered with tax: ❌ No
    ⠀* Display prices in the shop: ❌ Excl
    ⠀* Display prices during cart and checkout: ❌ Excl
    ⠀* Rounding: ❌ No
    ⠀* Display tax totals: Itemized
    ⠀* Enable the use of coupon codes: ✔ Yes
    ⠀* Calculate coupon discounts sequentially: ❌ No
    ⠀* Account endpoints > Coupons: wc-smart-coupons
    ⠀* WooCommerce Account Connected: ✔ Yes

    ### Status report information ###

    Generated at: 2025-07-16 23:08:40 -04:00
    • This topic was modified 10 months, 3 weeks ago by michdia.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for sharing those details and the steps to reproduce the issue.

    I tried to replicate the problem on your site, and I can confirm that the coupon input field is not displaying. Upon inspecting the page, I noticed that a CSS rule is setting the coupon field to display: none, which is preventing it from appearing. This CSS appears to be coming from your theme’s stylesheet, not WooCommerce itself.

    To resolve this, you can try adding the following custom CSS to your site (under Appearance > Customize > Additional CSS):


    body form#woocommerce-checkout-form-coupon p.form-row.form-row-first{
    display: block !important;
    }

    This should force the coupon input box to become visible again when the “Enter coupon code” link is clicked.

    Please give that a try and let me know if it works. Please note that Generally we do not provide support for custom code. If that does not work, I would suggest you contact the theme support and asked them to help you to remove that css code. https://go.screenpal.com/watch/cTibjJnl8JV

    I hope this helps.

    Thread Starter michdia

    (@michdia)

    Thank you so much for your help. All fixed!

    Hi @michdia,

    That’s wonderful to hear, and I’m really glad the fix worked for you. Thank you for confirming!

    If WooCommerce has been helpful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick 5-star review here: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post

    Wishing you smooth checkouts and continued success!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Coupon Code Input Box Won’t Display’ is closed to new replies.