• Resolved terrics

    (@terrics)


    I’m testing a coupon (polcon) that I want to apply to an item only once per buyer, however I always get “Coupon usage limit has been reached” no matter what. I’ve tried having a quantity of 1 as well as greater than 1. My coupon usage limits are set like this:
    Usage limit per coupon: 20
    Limit usage to X items: 1
    Limit usage per user: 1

    I’ve tried this with different themes and had other people test as well. I always get the message that the limit has been reached. Any advice would be appreciated.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    My coupon usage limits are set like this:
    Usage limit per coupon: 20
    Limit usage to X items: 1
    Limit usage per user: 1

    To understand better the site setup please provide us with the following:

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).

    Screenshots of your coupon settings under marketing > coupons you can send the screenshot link via https://snipboard.io.

    We’ll look forward to hearing from you.

    Thread Starter terrics

    (@terrics)

    Here is the system report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://fallentreepress.com
    Site address (URL): https://fallentreepress.com
    WC Version: 6.6.1
    REST API Version: ? 6.6.1
    WC Blocks Version: ? 7.6.2
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.30
    PHP Post Max Size: 1 GB
    PHP Time Limit: 1500
    PHP Max Input Vars: 2000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 10.3.35-MariaDB-log-cll-lve
    Max Upload Size: 1 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.6.1
    WC Database Prefix: wpvr_
    Total Database Size: 25.06MB
    Database Data Size: 21.42MB
    Database Index Size: 3.64MB
    wpvr_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wpvr_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpvr_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpvr_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_actionscheduler_actions: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    wpvr_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_cleantalk_ac_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_cleantalk_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_cleantalk_sfw: Data: 0.17MB + Index: 0.33MB + Engine MyISAM
    wpvr_cleantalk_sfw_logs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpvr_cleantalk_spamscan_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_cleantalk_ua_bl: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpvr_loginizer_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpvr_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wpvr_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpvr_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpvr_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpvr_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpvr_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wpvr_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_options: Data: 2.53MB + Index: 0.08MB + Engine MyISAM
    wpvr_postmeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wpvr_posts: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
    wpvr_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpvr_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpvr_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpvr_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpvr_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpvr_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfconfig: Data: 3.46MB + Index: 0.02MB + Engine MyISAM
    wpvr_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wffilemods: Data: 6.24MB + Index: 0.74MB + Engine MyISAM
    wpvr_wfhits: Data: 0.20MB + Index: 0.03MB + Engine MyISAM
    wpvr_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfissues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpvr_wfknownfilelist: Data: 4.56MB + Index: 0.22MB + Engine MyISAM
    wpvr_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wflogins: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpvr_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpvr_wfnotifications: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_wfstatus: Data: 0.14MB + Index: 0.06MB + Engine MyISAM
    wpvr_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpvr_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 9
    mailpoet_page: 1
    nav_menu_item: 5
    page: 10
    post: 2
    product: 2
    revision: 25
    shop_coupon: 1
    shop_order: 1
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (12) ###
    
    Anti-Spam by CleanTalk: by СleanTalk  – 5.179.1
    Jetpack: by Automattic – 11.0
    LiteSpeed Cache: by LiteSpeed Technologies – 4.6
    Loginizer: by Softaculous – 1.7.1
    MailPoet 3 (New): by MailPoet – 3.91.0
    Shortcodes Ultimate: by Vladimir Anokhin – 5.12.0
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.12
    
    WooCommerce Payments: by Automattic – 4.3.0
    WooCommerce Shipping & Tax: by WooCommerce – 1.26.1
    WooCommerce Square: by WooCommerce – 3.1.0
    WooCommerce: by Automattic – 6.6.1
    Wordfence Security: by Wordfence – 7.5.11
    
    ### Inactive Plugins (1) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.4
    
    ### 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)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: –
    
    ### WC Pages ###
    
    Shop base: #26 - /shop/
    Cart: #75 - /cart/
    Checkout: #76 - /checkout/
    My account: #77 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: The Writers Blog
    Version: 0.6.8
    Author URL: https://www.themeseye.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: the-writers-blog/woocommerce/archive-product.php
    the-writers-blog/woocommerce/checkout/form-checkout.php
    the-writers-blog/woocommerce/emails/admin-new-order.php
    the-writers-blog/woocommerce/global/wrapper-end.php
    the-writers-blog/woocommerce/global/wrapper-start.php
    the-writers-blog/woocommerce/single-product.php
    
    ### Subscriptions ###
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://fallentreepress.com
    Subscription Statuses: –
    WooCommerce Account Connected: ? No
    
    ### Store Setup ###
    
    Country / State: United States (US) — Maryland
    
    ### Payment Gateway Support ###
    
    Square: products
    card_types
    customer_decline_messages
    payment_form
    authorization
    charge
    charge-virtual
    capture_charge
    refunds
    voids
    customer_id
    tokenization
    add_payment_method
    token_editor
    
    ### Square ###
    
    Environment: Production
    Tokenization Enabled: –
    Debug Mode: Off
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-07-01 20:19:06 +00:00
    Options: ?
    Notes: 61
    Onboarding: completed
    
    ### WooCommerce Payments ###
    
    Version: 4.3.0
    Connected to WPCOM: Yes
    Blog ID: 206000761
    Account ID: -
    
    ### Action Scheduler ###
    
    Complete: 60
    Oldest: 2022-06-01 01:39:53 +0000
    Newest: 2022-06-30 22:36:40 +0000
    
    Pending: 1
    Oldest: 2022-07-01 12:19:17 +0000
    Newest: 2022-07-01 12:19:17 +0000
    
    ### Status report information ###
    
    Generated at: 2022-07-01 00:06:27 +00:00
    

    The only thing in the logs is:
    2022-06-13T00:58:13+00:00 INFO Approved Download Directories sync: new scan scheduled.
    2022-06-13T00:58:13+00:00 INFO Approved Download Directories sync: scan is complete!

    Here’s a link to screenshots of the coupon settings:
    Woo commerce coupon

    Plugin Support Raif D. a11n

    (@rdeari)

    Hi @terrics !

    Thanks for providing those! Everything looks to be set up correctly.

    This kind of problem might be caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Try to apply the coupon

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thank you!

    Thread Starter terrics

    (@terrics)

    I have now changed to Storefront and disabled every plugin except WooCommerce. I even turned off all the other WooCommerce plugins. No change.

    Hi @terrics!

    I checked your site and could apply the polcon coupon without a problem.

    Is this the expected behavior?

    If so, could you please clear your cache plugins, and your browser cache and check if the issue persists?

    Also, you could try activating your theme and plugins back, one by one, testing after each to see if the problem appears again and find the one causing the conflict.

    Let us know!

    Thread Starter terrics

    (@terrics)

    Ok, this is working now. I think I know what happened. Originally, I misunderstood what the Usage Limit Per Coupon did and I had it set to 1. That is incorrect, I needed it set higher, but I didn’t clear the browser cache, so it kept thinking the limit was 1. This must have still been set somewhere because people tried it from other machines and it failed. Now, I’ve cleared the history and have gone back to my plugins being enabled and my original theme, and it works.

    Thanks for your help!

    Hello @terrics!

    Ok, this is working now.

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, please consider creating a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“Coupon usage limit has been reached” all the time’ is closed to new replies.