usage restriction is not working
-
hi , when i create a coupon and use the usage restriction allowed emails
and apply it for one email only , the coupon is available for all users like the usage restriction is not applied ..
how can i fix this issue ?
-
Hey there!
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”. Once you’ve done that, paste it here in your response.Can you also send screenshots of your coupon settings? I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your response. It works with Chrome, Firefox and Edge.
### WordPress Environment ### WordPress address (URL): https://bluepharma.store Site address (URL): https://bluepharma.store WC Version: 4.1.0 REST API Version: ✔ 1.0.7 WC Blocks Version: ✔ 2.5.16 Action Scheduler Version: ✔ 3.1.5 WC Admin Version: ✔ 1.1.1 Log Directory Writable: ✔ WP Version: 5.4.1 WP Multisite: – WP Memory Limit: 3 GB WP Debug Mode: ✔ WP Cron: ✔ Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.17 PHP Post Max Size: 25 GB PHP Time Limit: 30000 PHP Max Input Vars: 10000 cURL Version: 7.70.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.6.41-84.1 Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.1.0 WC Database Prefix: wp_ Total Database Size: 26.17MB Database Data Size: 21.11MB Database Index Size: 5.06MB wp_woocommerce_sessions: Data: 1.58MB + Index: 0.06MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.11MB + Index: 0.05MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.08MB + Index: 0.06MB + Engine MyISAM wp_ajaxsearchpro: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_ajaxsearchpro_priorities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ajaxsearchpro_statistics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_arm_auto_message: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_arm_badges_achievements: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_arm_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_arm_drip_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_asp_index: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_asp_synonyms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bulkgate_module: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_csshero4: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ewwwio_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ewwwio_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_frm_fields: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_frm_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_frm_items: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_frm_item_metas: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_content_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_core_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_icl_languages_translations: Data: 0.10MB + Index: 0.08MB + Engine MyISAM wp_icl_locale_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_message_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_node: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_reminders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_strings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_string_positions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_string_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_string_translations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_translate: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_translate_job: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_translations: Data: 0.48MB + Index: 0.72MB + Engine MyISAM wp_icl_translation_batches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_translation_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_download_monitor_limit: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_reason_for_cancel_delete_levels: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_security_login: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_user_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_user_sites: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_woo_products: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ihc_woo_product_level_relations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_nm_wooconvo: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 3.89MB + Index: 0.19MB + Engine MyISAM wp_postmeta: Data: 12.24MB + Index: 1.76MB + Engine MyISAM wp_posts: Data: 0.99MB + Index: 0.39MB + Engine MyISAM wp_smush_dir_images: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_termmeta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM wp_terms: Data: 0.11MB + Index: 0.12MB + Engine MyISAM wp_term_relationships: Data: 0.32MB + Index: 0.57MB + Engine MyISAM wp_term_taxonomy: Data: 0.17MB + Index: 0.10MB + Engine MyISAM wp_tm_taskmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 0.06MB + Index: 0.04MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_cancel_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_category_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.08MB + Index: 0.12MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woof_stat_buffer: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woof_stat_tmp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woos_search_trends: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woo_wallet_transactions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woo_wallet_transaction_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yith_wcwl: Data: 0.28MB + Index: 0.13MB + Engine MyISAM wp_yith_wcwl_lists: Data: 0.41MB + Index: 0.42MB + Engine MyISAM ### Post Type Counts ### attachment: 2219 awdp_pt_products: 1 blocks: 10 br_product_filter: 3 custom_css: 2 everest_form: 2 featured_item: 8 frm_form_actions: 2 frm_styles: 1 groovy_menu_preset: 1 ig_campaign: 2 ig_message: 5 mc4wp-form: 1 nav_menu_item: 160 page: 54 phoe_badge: 1 polylang_mo: 2 post: 5 private-page: 5 product: 1130 product_variation: 201 productsliderwoo: 2 pw_bogo: 2 shop_coupon: 3 shop_order: 8 sp_wps_shortcodes: 2 tt_font_control: 1 um_directory: 1 um_form: 6 user_registration: 1 user_request: 1 wapl: 1 wishlist: 1 wobd-badge-designer: 1 woo_discount: 4 woo_discount_cart: 1 woocarousel: 1 wpforms: 1 wphash_ntf_bar: 2 wppb-ul-cpt: 4 wpsm_servicebox_r: 1 wpuf_forms: 2 wpuf_input: 2 wpuf_profile: 2 yith_wcps_type: 4 yith-wcbm-badge: 2 ywdpd_discount: 13 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (24) ### Polylang Pro: by WP SYNTEX – 2.7.2 Child Theme Configurator: by Lilaea Media – 2.5.2 Export User Date: by Q Studio – 2.0.3 Formidable Forms: by Strategy11 – 4.04.03 JWT Authentication for WP-API: by Enrique Chavez – 1.2.6 Max Mega Menu: by megamenu.com – 2.7.7 Monitization: by Igor Glavatskiy – 1.0 Profile Builder - WooCommerce Sync Add-on: by Cozmoslabs Adrian Spiac – 1.5.7 – Installed version not tested with active version of WooCommerce 4.1.0 Polylang for WooCommerce: by WP SYNTEX – 1.4.1 – Installed version not tested with active version of WooCommerce 4.1.0 Profile Builder Pro: by Cozmoslabs – 3.1.4 Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.3.3 YellowPencil Pro: by WaspThemes – 7.2.9 WooCommerce Arabic Currencies: by Said El Bakkali – 1.2.6 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Checkout Manager: by QuadLayers – 5.0.6 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.4.10 WooCommerce Subscribe to Newsletter: by WooCommerce – 2.7.0 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce: by Automattic – 4.1.0 WP Edit Menu: by saurav.rox – 1.0.2 WP Fastest Cache: by Emre Vona – 0.9.0.5 Smush Pro: by WPMU DEV – 3.6.1 YITH WooCommerce Badge Management Premium: by YITH – 1.3.16 – Installed version not tested with active version of WooCommerce 4.1.0 YITH WooCommerce Checkout Manager: by YITH – 1.2.5 – Installed version not tested with active version of WooCommerce 4.1.0 YITH WooCommerce Dynamic Pricing and Discounts Premium: by YITH – 1.6.2 – Installed version not tested with active version of WooCommerce 4.1.0 YITH WooCommerce Wishlist: by YITH – 3.0.10 ### Inactive Plugins (11) ### Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.2 – Installed version not tested with active version of WooCommerce 4.1.0 Flexible Checkout Fields: by WP Desk – 2.4.11 HashBar - WordPress Notification Bar Pro: by HasTech – 1.1.4 Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 1.4.3 – Installed version not tested with active version of WooCommerce 4.1.0 Loco Translate: by Tim Whitlock – 2.3.4 W3 Total Cache: by BoldGrid – 0.13.3 WC Cancel Order: by Vikram Singh – 2.9.1 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Dynamic Pricing & Discounts with AI: by RedefiningTheWeb – 1.4.0 – Installed version not tested with active version of WooCommerce 4.1.0 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.0.19 WP Fastest Cache Premium: by Emre Vona – 1.5.8 WP Rocket: by WP Media – 3.5.4 ### Must Use Plugins (2) ### rms_unique_wp_mu_pl_fl_nm.php: by – SSO: by Garth Mortensen Mike Hansen – 0.3 ### Settings ### API Enabled: ✔ Force SSL: – Currency: SYP (SYP) Currency Position: right_space Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) wooco (wooco) woosb (woosb) 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: #10178 - /en/shop/ Cart: #2714 - /en/cart-2/ Checkout: #58 - /en/checkout/ My account: #5827 - /en/account/ Terms and conditions: #630 - /en/term-conditions/ ### Theme ### Name: Flatsome Child Version: 3.10.3.1581325560 Author URL: http://www.uxthemes.com/ Child Theme: ✔ Parent Theme Name: Flatsome Parent Theme Version: 3.11.3 Parent Theme Author URL: http://www.uxthemes.com/ WooCommerce Support: ✔ ### Templates ### Overrides: flatsome-child/woocommerce/archive-product.php flatsome-child/woocommerce/cart/cart-empty.php flatsome-child/woocommerce/cart/cart-shipping.php flatsome-child/woocommerce/cart/cart.php flatsome-child/woocommerce/checkout/form-checkout.php flatsome-child/woocommerce/checkout/form-coupon.php flatsome-child/woocommerce/checkout/terms.php flatsome-child/woocommerce/checkout/thankyou.php flatsome-child/woocommerce/content-product.php flatsome-child/woocommerce/content-product_cat.php flatsome-child/woocommerce/content-single-product.php flatsome-child/woocommerce/content-widget-product.php flatsome-child/woocommerce/emails/admin-new-order.php flatsome-child/woocommerce/emails/customer-new-account.php flatsome-child/woocommerce/global/breadcrumb.php flatsome-child/woocommerce/global/quantity-input.php flatsome-child/woocommerce/global/wrapper-end.php flatsome-child/woocommerce/global/wrapper-start.php flatsome-child/woocommerce/loop/loop-end.php flatsome-child/woocommerce/loop/loop-start.php flatsome-child/woocommerce/loop/pagination.php flatsome-child/woocommerce/loop/result-count.php flatsome-child/woocommerce/loop/sale-flash.php /home4/bluephar/public_html/blue/wp-content/plugins/pb-add-on-woocommerce/templates/myaccount-edit-profile.php flatsome-child/woocommerce/myaccount/form-login.php version 3.6.0 is out of date. The core version is 4.1.0 flatsome-child/woocommerce/myaccount/navigation.php flatsome-child/woocommerce/notices/error.php flatsome-child/woocommerce/notices/notice.php flatsome-child/woocommerce/notices/success.php flatsome-child/woocommerce/product-searchform.php flatsome-child/woocommerce/single-product/photoswipe.php flatsome-child/woocommerce/single-product/price.php flatsome-child/woocommerce/single-product/product-image.php flatsome-child/woocommerce/single-product/product-thumbnails.php flatsome-child/woocommerce/single-product/rating.php flatsome-child/woocommerce/single-product/related.php flatsome-child/woocommerce/single-product/review.php flatsome-child/woocommerce/single-product/sale-flash.php flatsome-child/woocommerce/single-product/share.php flatsome-child/woocommerce/single-product/short-description.php flatsome-child/woocommerce/single-product/tabs/tabs.php flatsome-child/woocommerce/single-product/title.php flatsome-child/woocommerce/single-product/up-sells.php flatsome-child/woocommerce/single-product-reviews.php flatsome-child/woocommerce/single-product.php Outdated Templates: ❌ Learn how to update ### WC Pages Translations ### Shop base: ✔ Cart: ✔ Checkout: ✔ My account: ✔ ### Action Scheduler ### Canceled: 14 Oldest: 2020-05-03 08:48:54 +0000 Newest: 2020-05-10 11:43:32 +0000 Complete: 462 Oldest: 2020-04-18 17:03:18 +0000 Newest: 2020-05-19 14:06:04 +0000
thank you for your response
this is the general settings : https://snipboard.io/wLBaT9.jpg
and this is the usage restriction : https://snipboard.io/AkPLVM.jpg
i hope the problem can be fixedHello WooCommerce:)
Hi @raghadmadwar,
Those screenshots are helpful. It looks like you’ve set the coupon up just right and it should only apply to the user logged in with that email address.
I wasn’t able to test this as it looks like you’ve deleted the TEST1 coupon from the site.
You’ll want to recreate this to enable folks test what’s going on.
Full Size: https://d.pr/i/MwPCB3Hi @raghadmadwar,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
- The topic ‘usage restriction is not working’ is closed to new replies.