Promo codes are displayed to users
-
In the last two days, users who enter promo codes intended for specific users have started appearing to me. A customer told me that when he clicked on the option “Have a Promo Code?” then he was offered some of the promo codes. I also have a picture he sent me of being offered promo codes himself. A past customer told me the same thing.
PS. I disabled promo codes right now until I find a solution for this error.
-
This topic was modified 3 years, 2 months ago by
sadistiko.
The page I need help with: [log in to see the link]
-
This topic was modified 3 years, 2 months ago by
-
Hi @sadistiko
Please double check if the promo code restriction settings are set up properly. Here is the documentation for your reference: https://woocommerce.com/document/coupon-management/#usage-restriction
If all is set correctly, can you please confirm if your using any plugin for the promo codes? 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.
Hi Margaret,
But what option would freely give clients promo codes, this should not be the normal case. I don’t use any plugin for promo codes.Here is the System status:
### WordPress Environment ### WordPress address (URL): https://inmybox.eu Site address (URL): https://inmybox.eu WC Version: 6.1.1 REST API Version: ? 6.1.1 WC Blocks Version: ? 6.8.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.0.3 Log Directory Writable: ? WP Version: ? 5.8.3 - There is a newer version of WordPress available (5.9) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.27 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/1.1.1m SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.32-MariaDB Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.1.1 WC Database Prefix: wpbj_ Total Database Size: 52.30MB Database Data Size: 47.02MB Database Index Size: 5.28MB wpbj_woocommerce_sessions: Data: 20.87MB + Index: 0.67MB + Engine MyISAM wpbj_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbj_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_order_items: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wpbj_woocommerce_order_itemmeta: Data: 0.89MB + Index: 0.29MB + Engine MyISAM wpbj_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbj_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_actionscheduler_actions: Data: 0.23MB + Index: 0.11MB + Engine MyISAM wpbj_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbj_actionscheduler_logs: Data: 0.15MB + Index: 0.12MB + Engine MyISAM wpbj_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_commentmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpbj_comments: Data: 0.48MB + Index: 0.18MB + Engine MyISAM wpbj_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbj_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_loginizer_logs: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wpbj_mailchimp_carts: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpbj_mailchimp_jobs: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpbj_mo_openid_linked_user: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_nextend2_image_storage: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpbj_nextend2_section_storage: Data: 0.06MB + Index: 0.01MB + Engine MyISAM wpbj_nextend2_smartslider3_generators: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_nextend2_smartslider3_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpbj_nextend2_smartslider3_sliders_xref: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_nextend2_smartslider3_slides: Data: 0.09MB + Index: 0.01MB + Engine MyISAM wpbj_options: Data: 15.87MB + Index: 0.37MB + Engine MyISAM wpbj_postmeta: Data: 5.26MB + Index: 1.78MB + Engine MyISAM wpbj_posts: Data: 1.00MB + Index: 0.28MB + Engine MyISAM wpbj_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_SH_CD_SHORTCODES: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_SH_CD_SHORTCODES_MULTISITE: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_sm_advanced_search_temp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_stock_log: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wpbj_termmeta: Data: 0.12MB + Index: 0.07MB + Engine MyISAM wpbj_terms: Data: 0.02MB + Index: 0.05MB + Engine MyISAM wpbj_term_relationships: Data: 0.05MB + Index: 0.12MB + Engine MyISAM wpbj_term_taxonomy: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpbj_usermeta: Data: 0.34MB + Index: 0.21MB + Engine MyISAM wpbj_users: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpbj_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpbj_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_wc_customer_lookup: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wpbj_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_wc_order_product_lookup: Data: 0.04MB + Index: 0.05MB + Engine MyISAM wpbj_wc_order_stats: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wpbj_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_wc_product_meta_lookup: Data: 0.03MB + Index: 0.05MB + Engine MyISAM wpbj_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbj_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbj_woo_shippment_provider: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpbj_yoast_indexable: Data: 0.94MB + Index: 0.33MB + Engine MyISAM wpbj_yoast_indexable_hierarchy: Data: 0.04MB + Index: 0.12MB + Engine MyISAM wpbj_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbj_yoast_primary_term: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpbj_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine MyISAM wpbj_yoast_seo_meta: Data: 0.14MB + Index: 0.17MB + Engine MyISAM ### Post Type Counts ### attachment: 994 br_minmax_limitation: 1 br_product_filter: 1 content_block: 13 customize_changeset: 3 inspire_invoice: 174 is_search_form: 1 jetpack_migration: 2 mc4wp-form: 1 nav_menu_item: 34 oembed_cache: 2 page: 20 post: 41 product: 113 product_variation: 244 revision: 347 shop_coupon: 137 shop_order: 325 shop_order_refund: 8 tablepress_table: 50 wcpa_pt_forms: 1 wp_block: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (33) ### Ivory Search: by Ivory Search – 5.4.1 AfterShip Tracking - All-In-One WooCommerce Order Tracking (Free plan available): by AfterShip – 1.14.1 Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.2.1 Content Blocks (Custom Post Widget): by Johan van der Wijk – 3.2.2 Customer Reviews for WooCommerce: by CusRev – 4.36 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.4 Enhanced Media Library PRO: by wpUXsolutions – 2.8.9 Flexible Checkout Fields PRO: by WP Desk – 3.1.3 Flexible Checkout Fields: by WP Desk – 3.1.2 Flexible Invoices for WooCommerce PRO: by WP Desk – 4.0.1 Flexible Shipping PRO: by WP Desk – 2.9.3 Flexible Shipping: by WP Desk – 4.11.2 reCaptcha by BestWebSoft: by BestWebSoft – 1.66 GP Premium: by Tom Usborne – 2.1.1 Loginizer: by Softaculous – 1.7.0 Mailchimp for WooCommerce: by Mailchimp – 2.5.4 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.6 Meta Tag Manager: by Marcus Sykes – 3.0.2 Social Login, Social Sharing by miniOrange: by <a href="https://www.miniorange.com/">miniOrange</a> – 7.5.9 Smart Slider 3 Pro: by Nextend – 3.5.1.3 PHP Compatibility Checker: by WP Engine – 1.5.2 Snippet Shortcodes: by Ali Colville – 3.5.4 Smart Manager For WooCommerce – Stock Management, Bulk Edit & more...: by StoreApps – 5.33.0 TablePress: by Tobias B?thge – 1.14 Ultimate Addons for Gutenberg: by Brainstorm Force – 1.25.2 WooCommerce Cart Weight: by WP Desk – 1.4.3 WooCommerce Blocks: by Automattic – 6.8.0 WPC Smart Wishlist for WooCommerce: by WPClever – 2.9.3 WooCommerce PayPal Payments: by WooCommerce – 1.6.4 WooCommerce Shipping & Tax: by WooCommerce – 1.25.20 Woocommerce Side Cart Premium: by XootiX – 3.0 WooCommerce: by Automattic – 6.1.1 Yoast SEO: by Team Yoast – 18.0 ### Inactive Plugins (4) ### Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd: by SeedProd – 6.6.0 Facebook for WooCommerce: by Facebook – 2.6.9 Jetpack: by Automattic – 10.5.1 Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.19 ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space 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: #2632 - /webshop/ Cart: #26 - /cart/ Checkout: #27 - /checkout/ My account: #28 - /my-account/ Terms and conditions: #711 - /terms-conditions/ ### Theme ### Name: GeneratePress Version: 3.1.1 Author URL: https://tomusborne.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: – ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: HR WooCommerce currency supported: ? PayPal card processing available in country: – Pay Later messaging available in country: – Webhook status: – Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: ? ### Action Scheduler ### Complete: 490 Oldest: 2021-12-26 11:25:18 +0100 Newest: 2022-01-26 10:31:40 +0100 Pending: 3 Oldest: 2022-01-27 07:30:55 +0100 Newest: 2022-01-28 00:22:42 +0100 ### Status report information ### Generated at: 2022-01-26 11:01:29 +01:00
Hi there,
Thanks for sharing this info.
WP Version: ? 5.8.3 – There is a newer version of WordPress available (5.9)
As a first step, can you please check if after updating the version of WordPress the issue persists?
To securely update WordPress, please check this blog.
Let us know if there are any questions.
Hi Igor,
I upgraded and there is the same issue.
I tried by myself and if you click on Have a Promo Code button you get a whole bunch of promo codes.Hi @sadistiko
I tried by myself and if you click on Have a Promo Code button you get a whole bunch of promo codes.
I tried testing this on my test site which has the latest versions of WordPress, WooCommerce and our free Storefront theme as the only enabled software. When doing so I’ve not been able to replicate the behavior which you describe – any coupon codes were not offered.
My question is – the list of promo codes that you are offered – are they current and functional? Or are they from the past?
In either case, please clear your browser cache as explained in this guide.
If the problem doesn’t resolve still, then I would recommend that you check whether the issue persists when you change to a default WP theme like Twenty Twenty-One or Storefront, and deactivate all plugins apart from WooCommerce. Here’s the conflict test guide for reference: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
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 test this out on a staging site using a plugin like WP Staging, if your host doesn’t offer a staging platform already.
Hope this leads to a resolution. Please let us know how it goes.
I think I know what could cause this problem.
I have Woocommerce Side Cart Premium, and this button “Have a Promo Code” is there, also it stays there even though I turned off Promo CodesEDIT: That’s it. I located the problem
-
This reply was modified 3 years, 2 months ago by
sadistiko.
Hi @sadistiko.
Happy to hear you found the problem.
I’ll go ahead and mark this as resolved.
Cheers.
-
This reply was modified 3 years, 2 months ago by
- The topic ‘Promo codes are displayed to users’ is closed to new replies.