Coupon Field not appearing
-
I have created coupons and enabled them in Woocommerce but the field for users to enter a coupon code never appears.
In testing:
– I have made sure all plugins are up to date
– I have disabled all plugins except woocommerce
– I have changed themes to Twenty TwentyEverything I have seen online on how to properly setup coupons has been done and the field still never shows up. Can anyone help please?
Thanks.
The page I need help with: [log in to see the link]
-
You can login with [redacted]
- This reply was modified 4 years, 1 month ago by Steven Stern (sterndata).
Please never share sensitive information such as a username/password on these forums, as they are public.
Even if the credentials are for a limited user role.
As for the problem, please repeat the steps of switching to the Twenty Twenty theme, as well as disabling all plugins, except for WooCommerce. Once your site is that state, please grab a copy of your System Status Report and share that with us here.
Moderator Note
================================
@msndrstdPlease don’t offer to send or post logon credentials on these forums: https://www.ads-software.com/support/guidelines#the-bad-stuff
You may trust this developer/author, but it normalizes a dangerous practice. It’s a fine line, but one that we need to enforce. Thanks for your cooperation.
### WordPress Environment ### WordPress address (URL): https://thewhydrategroup.com Site address (URL): https://thewhydrategroup.com WC Version: 4.6.1 REST API Version: ? 4.6.1 WC Blocks Version: ? 3.4.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.6.2 Log Directory Writable: ? WP Version: 5.5.1 WP Multisite: – WP Memory Limit: 128 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Flywheel/5.1.0 PHP Version: 7.2.34-2+ubuntu20.04.1+deb.sury.org+1 PHP Post Max Size: 300 MB PHP Time Limit: 180 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 5.7.25-google Max Upload Size: 300 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.6.1 WC Database Prefix: wp_fmg75mn9s9_ Total Database Size: 11.62MB Database Data Size: 9.00MB Database Index Size: 2.62MB wp_fmg75mn9s9_woocommerce_sessions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_actionscheduler_actions: Data: 0.23MB + Index: 0.16MB + Engine InnoDB wp_fmg75mn9s9_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_actionscheduler_logs: Data: 0.14MB + Index: 0.13MB + Engine InnoDB wp_fmg75mn9s9_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_fmg75mn9s9_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_options: Data: 3.17MB + Index: 0.11MB + Engine InnoDB wp_fmg75mn9s9_postmeta: Data: 1.52MB + Index: 0.45MB + Engine InnoDB wp_fmg75mn9s9_posts: Data: 2.20MB + Index: 0.13MB + Engine InnoDB wp_fmg75mn9s9_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_rank_math_internal_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_fmg75mn9s9_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_rank_math_sc_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_usermeta: Data: 0.30MB + Index: 0.27MB + Engine InnoDB wp_fmg75mn9s9_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_fmg75mn9s9_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fmg75mn9s9_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fmg75mn9s9_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_fmg75mn9s9_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_fmg75mn9s9_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_fmg75mn9s9_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fmg75mn9s9_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_wpf_logging: Data: 0.14MB + Index: 0.02MB + Engine InnoDB wp_fmg75mn9s9_wpgb_cards: Data: 0.28MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_wpgb_facets: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_fmg75mn9s9_wpgb_grids: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fmg75mn9s9_wpgb_index: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### acf-field: 1 acf-field-group: 1 attachment: 184 custom_css: 1 customize_changeset: 3 docs: 1 et_body_layout: 7 et_footer_layout: 1 et_header_layout: 8 et_pb_layout: 10 et_template: 16 et_theme_builder: 1 nav_menu_item: 11 oembed_cache: 1 page: 20 policies_procedures: 2 post: 18 product: 105 product_variation: 47 revision: 231 shop_coupon: 2 shop_order: 9 wpblogmanager: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (1) ### WooCommerce: by Automattic – 4.6.1 ### Inactive Plugins (20) ### Advanced Custom Fields: by Elliot Condon – 5.9.1 Antispam Bee: by pluginkollektiv – 2.9.2 Birds Custom Login: by Frédéric Serva – 1.0.8 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.4 – Installed version not tested with active version of WooCommerce 4.6.1 Content Visibility for Divi Builder: by AoD Technologies LLC – 3.15 Continue Shopping Anywhere for WooCommerce: by Ivan Chernyakov – 1.1.0 – Installed version not tested with active version of WooCommerce 4.6.1 Custom Post Type UI: by WebDevStudios – 1.8.1 Safe SVG: by Daryll Doyle – 1.9.9 Scheduled Post Trigger: by Jennifer Moss - Moss Web Works – 3.0 UberMenu 3 - The Ultimate WordPress Mega Menu: by Chris Mavricos SevenSpark – 3.6.1 User Role Editor: by Vladimir Garagulya – 4.56.1 WooCommerce Admin: by WooCommerce – 1.6.2 – Installed version not tested with active version of WooCommerce 4.6.1 WooCommerce Min/Max Quantities: by WooCommerce – 2.4.20 – Installed version not tested with active version of WooCommerce 4.6.1 WooCommerce Stripe Gateway: by WooCommerce – 4.5.3 – Installed version not tested with active version of WooCommerce 4.6.1 WP Fusion: by Very Good Plugins – 3.35.5 – Installed version not tested with active version of WooCommerce 4.6.1 WP Fusion - Ecommerce Addon: by Very Good Plugins – 1.13.6 WP Fusion - Logins Addon: by Very Good Plugins – 1.0.1 WP Fusion - Webhooks Addon: by Very Good Plugins – 1.3.1 WP Grid Builder: by Lo?c Blascos – 1.1.9 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 3.2.6 ### Dropin Plugins (1) ### db-error.php: db-error.php ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) 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: ? ### WC Pages ### Shop base: #343 - /shop/ Cart: #344 - /dashboard/cart/ Checkout: #345 - /dashboard/checkout/ My account: #346 - /dashboard/my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Twenty Twenty Version: 1.5 Author URL: https://www.ads-software.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 WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 506 Oldest: 2020-09-22 13:04:15 -0400 Newest: 2020-10-23 12:29:44 -0400 Pending: 2 Oldest: 2020-10-23 12:31:34 -0400 Newest: 2020-10-23 13:29:43 -0400 Failed: 2 Oldest: 2020-05-10 19:33:54 -0400 Newest: 2020-05-10 19:40:10 -0400
- This reply was modified 4 years, 1 month ago by msndrstd.
Anyone?
I see in your System Status Report that your My Account, Cart, and Checkout pages are all in a different file path than your shop?
Shop base: #343 - /shop/ Cart: #344 - /dashboard/cart/ Checkout: #345 - /dashboard/checkout/ My account: #346 - /dashboard/my-account/
Was this something that you intentionally did? If so, what steps did you do to set that up.
That is not how WooCommerce is normally configured. These pages should all be on your site’s root folder by default.
My guess is that this issue is either from customizations that have been made to WooCommerce, or if any odd custom setups have been configured, such as the page structure that I mentioned above.
With only WooCommerce and the Twenty Twenty theme active, there is no reason why you wouldn’t see the coupon field if you have enabled the coupon option under your WooCommerce > Settings.
When you had everything else disabled, did you try checking your browser’s console to see if there are any errors there?
This site was built by someone else who apparently was a bit slow on the followup and not easily accessible after the build, so I was brought in to take over and I’ve honestly, never seen this issue before and tried to hunt it down for a while, before posting. It’s a head scratcher for sure.
The previous developer may have changed directories for the base installation, although I have no idea why. The site is setup with permissions for access to different parts of the site, so maybe that has something to do with the unusual structure?
I have access to a staging site that I can manipulate safely. If I delete woocommerce and re-install it, is there a possibility that it wouldre-install with the proper directory structure?
I will try debugging with the browser console. Thanks.
On the staging site, I’d recommend the following:
Set the site to a conflict testing state (all plugins except for WooCommerce disabled and using the Twenty Twenty theme). Then delete and reinstall WooCommerce as you had mentioned.
When you do that, check your system status report to see if the page structure still has the Checkout/Cart/My Account pages in a separate directory. If it does, please try deleting those page. Then go to WooCommerce >Status > Tools and use the option to create the default pages.
Once you’ve done that check to see if that helps.
As you mentioned, it’s definitely a head-scratcher ??
WP-Fusion….WP Fusion was the culprit.
Glad to you were able to find the source of that @msndrstd!
I’m not familiar with their platform, so not sure if they have any options that would cause this or not. You’ll want to reach out to their support team to have them take a look.
@fullysupportedphil Thanks so much for your help!
- This reply was modified 4 years, 1 month ago by msndrstd.
- The topic ‘Coupon Field not appearing’ is closed to new replies.