Limiti di utilizzo codici promozionale
-
Ciao
ho un problema con il limite di utilizzo per persona di un codice promozionale. In pratica ho creato il codice che può essere utilizzato solo una volta per persona dopo essersi iscritto alal newsletter. è attivo da un paio di anni. funziona perfettamente tranne che per un persona. Questa cliente riesce ad applicarlo ad ogni acquisto.
NB
– la mail utilizzata è sempre la stessa
– non fa disiscrizione dalla lista e riscrizione. si è iscritta una volta e li è rimasta.Non capisco proprio da cosa possa dipendere.. succede solo con lei.
Grazie per l’aiuto
The page I need help with: [log in to see the link]
-
Hi @silvia74,
Thanks for reaching out!
I understand that the coupon code that is limited to be used once per person is being used or applied several times.
Can you please share with us how you created the coupon? Is it thru
Marketing - Coupons - Add New
? If so, can you please check under theUsage Limits
tab the values ofUsage limit per coupon
andUsage limit per user
?Image Link: https://woocommerce.com/wp-content/uploads/2013/05/coupon-data-usage-limits.png
You can also check our support page here for your reference:
https://woocommerce.com/document/coupon-management
Otherwise, are you using a plugin in generating this coupon code? If so, can you please share what plugins are used?
Looking forward to hearing from you!
I created it gy marketing, Promo codes, add new…
The values of usage limit are:Usage limit per coupon: Unlimited
Usage limit per user : 1Hi @silvia74
Thanks for your confirmation.
I replicated this on my test site using the same settings you provided. I was able to use the code only once upon checkout and when trying to use it again on another transaction, this is the error message I received:
Image Link: https://snipboard.io/gOSUHB.jpg
Guest users who do not have a registered account would however be able to apply the coupon on the checkout page again. It would therefore initially look like they could use that coupon multiple times. When they click to pay for the order, that coupon will however detect their email address has been used with that coupon before and the coupon will be removed.
Can you please check the
Usage Restrictions
tab and check that theallowed emails
is filled up?Image Link: https://snipboard.io/a21yIA.jpg
If this does not resolve the issue, can you please share your System Status Report, that will help us further troubleshoot.
You can find it via
WooCommerce > Status
. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.- This reply was modified 2 years, 3 months ago by xue28 (woo-hc).
Thanks for your answer. So, the problem occurs only with a specific mail. With all the other customers it works properly. This costumer is registered.
Allowed mails is blank because I need to exclude the email and not allow it.Here is system status
### WordPress Environment ###
WordPress address (URL): https://www.olimpiacosmetics.com
Site address (URL): https://www.olimpiacosmetics.com
WC Version: 6.7.0
REST API Version: ? 6.7.0
WC Blocks Version: ? 7.8.3
Action Scheduler Version: ? 3.4.0
Log Directory Writable: ?
WP Version: ? 5.8.4 – è disponibile una versione più recente di WordPress (6.0.1)
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ?
Language: it_IT
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.30
PHP Post Max Size: 100 MB
PHP Time Limit: 0
PHP Max Input Vars: 1000
cURL Version: 7.76.1
OpenSSL/1.0.2k-fipsSUHOSIN Installed: –
MySQL Version: ? 5.5.62-38.14-log – Consigliamo l’uso di MySQL con versione minima 5.6. Per i dettagli: Requisiti WordPress
Max Upload Size: 100 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 4.3.1
WC Database Prefix: wp_
Dimensione totale database: 65.56MB
Dimensione dati database: 55.41MB
Dimensione indice database: 10.15MB
wp_woocommerce_sessions: Dati: 18.15MB + indice: 0.35MB + motore MyISAM
wp_woocommerce_api_keys: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_attribute_taxonomies: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_woocommerce_downloadable_product_permissions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_order_items: Dati: 0.10MB + indice: 0.04MB + motore MyISAM
wp_woocommerce_order_itemmeta: Dati: 0.76MB + indice: 0.38MB + motore MyISAM
wp_woocommerce_tax_rates: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_tax_rate_locations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_shipping_zones: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_shipping_zone_locations: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_woocommerce_shipping_zone_methods: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_payment_tokens: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_payment_tokenmeta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_actionscheduler_actions: Dati: 0.65MB + indice: 0.30MB + motore MyISAM
wp_actionscheduler_claims: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_actionscheduler_groups: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_actionscheduler_logs: Dati: 0.50MB + indice: 0.32MB + motore MyISAM
wp_cf7_vdata: Dati: 0.01MB + indice: 0.01MB + motore MyISAM
wp_cf7_vdata_entry: Dati: 1.32MB + indice: 0.08MB + motore MyISAM
wp_cmplz_cookiebanners: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_cmplz_cookies: Dati: 0.02MB + indice: 0.00MB + motore MyISAM
wp_cmplz_services: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_commentmeta: Dati: 0.08MB + indice: 0.03MB + motore InnoDB
wp_comments: Dati: 2.11MB + indice: 0.31MB + motore InnoDB
wp_db7_forms: Dati: 0.10MB + indice: 0.00MB + motore MyISAM
wp_ewwwio_images: Dati: 1.63MB + indice: 0.69MB + motore MyISAM
wp_ewwwio_queue: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_fusion_forms: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_fusion_form_entries: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_fusion_form_fields: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_fusion_form_submissions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_layerslider: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_mailchimp_carts: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_mailchimp_jobs: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_ms_snippets: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_newsslider: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_options: Dati: 8.20MB + indice: 0.14MB + motore InnoDB
wp_postmeta: Dati: 8.30MB + indice: 4.52MB + motore InnoDB
wp_posts: Dati: 7.19MB + indice: 0.28MB + motore InnoDB
wp_rank_math_404_logs: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_rank_math_analytics_gsc: Dati: 3.49MB + indice: 1.60MB + motore MyISAM
wp_rank_math_analytics_inspections: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_rank_math_analytics_objects: Dati: 0.02MB + indice: 0.02MB + motore MyISAM
wp_rank_math_internal_links: Dati: 0.14MB + indice: 0.03MB + motore MyISAM
wp_rank_math_internal_meta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_rank_math_redirections: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_rank_math_redirections_cache: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_revslider_css: Dati: 0.09MB + indice: 0.01MB + motore MyISAM
wp_revslider_css_bkp: Dati: 0.09MB + indice: 0.01MB + motore MyISAM
wp_revslider_layer_animations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_revslider_layer_animations_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_revslider_navigations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_revslider_navigations_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_revslider_settings: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_revslider_sliders: Dati: 0.05MB + indice: 0.00MB + motore MyISAM
wp_revslider_sliders_bkp: Dati: 0.02MB + indice: 0.00MB + motore MyISAM
wp_revslider_slides: Dati: 0.13MB + indice: 0.00MB + motore MyISAM
wp_revslider_slides_bkp: Dati: 0.16MB + indice: 0.00MB + motore MyISAM
wp_revslider_static_slides: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_revslider_static_slides_bkp: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_slug_history: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_snippets: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_squalomail_carts: Dati: 0.03MB + indice: 0.00MB + motore MyISAM
wp_squalomail_jobs: Dati: 0.15MB + indice: 0.01MB + motore MyISAM
wp_termmeta: Dati: 0.01MB + indice: 0.02MB + motore MyISAM
wp_terms: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_term_relationships: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
wp_term_taxonomy: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
wp_tm_taskmeta: Dati: 0.02MB + indice: 0.01MB + motore MyISAM
wp_tm_tasks: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_usermeta: Dati: 1.52MB + indice: 0.64MB + motore InnoDB
wp_users: Dati: 0.08MB + indice: 0.05MB + motore InnoDB
wp_wc_admin_notes: Dati: 0.04MB + indice: 0.00MB + motore MyISAM
wp_wc_admin_note_actions: Dati: 0.02MB + indice: 0.01MB + motore MyISAM
wp_wc_category_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wc_customer_lookup: Dati: 0.01MB + indice: 0.01MB + motore MyISAM
wp_wc_download_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wc_order_coupon_lookup: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_wc_order_product_lookup: Dati: 0.04MB + indice: 0.04MB + motore MyISAM
wp_wc_order_stats: Dati: 0.01MB + indice: 0.02MB + motore MyISAM
wp_wc_order_tax_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wc_product_attributes_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wc_product_download_directories: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wc_product_meta_lookup: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_wc_rate_limits: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wc_reserved_stock: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wc_tax_rate_classes: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_wc_webhooks: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wdp_orders: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wdp_order_items: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_wdp_rules: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_woocommerce_extra_flat_rates: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_yoast_indexable: Dati: 0.07MB + indice: 0.02MB + motore MyISAM
wp_yoast_indexable_hierarchy: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_yoast_migrations: Dati: 0.00MB + indice: 0.01MB + motore MyISAM
wp_yoast_primary_term: Dati: 0.00MB + indice: 0.00MB + motore MyISAM
wp_yoast_seo_links: Dati: 0.02MB + indice: 0.01MB + motore MyISAM
wp_yoast_seo_meta: Dati: 0.00MB + indice: 0.01MB + motore MyISAM### Post Type Counts ###
attachment: 621
avada_faq: 6
avada_portfolio: 6
nav_menu_item: 111
page: 73
post: 60
product: 22
product_variation: 7
pys_event: 1
revision: 121
seedprod: 2
shop_coupon: 6
shop_order: 403
slide: 14
themefusion_elastic: 2
wpcf7_contact_form: 2### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (29) ###
Advanced CF7 DB: by Vsourz Digital – 1.8.7
Akismet Anti-Spam: by Automattic – 4.2.4
Classic Editor: by Contributori WordPress – 1.6.2
Code Snippets: by Code Snippets Pro – 3.1.0
Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.10.0
Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 6.1.2
Contact Form 7: by Takayuki Miyoshi – 5.5.6.1
Contact Form CFDB7: by Arshid – 1.2.6.4
EWWW Image Optimizer: by Exactly WWW – 6.4.2
Facebook for WooCommerce: by Facebook – 2.6.12
Flexible Shipping: by WP Desk – 4.11.3
Avada Builder: by ThemeFusion – 3.1.1
Avada Core: by ThemeFusion – 5.1.1
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.4.0
PixelYourSite: by PixelYourSite – 8.2.17
Re-add text underline and justify: by Brice Capobianco – 0.3
Really Simple SSL: by Really Simple Plugins – 5.2.3
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
Slider Revolution: by ThemePunch – 6.2.17
Rank Math SEO: by Rank Math – 1.0.95.1
Shortcode: by Max Pagels – 0.8.1
Squalomail for WooCommerce: by Squalomail – 2.5.1
UpdraftPlus – Backup/Ripristino: by UpdraftPlus.Com
DavidAnderson – 1.22.12Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.1
Checkout Fields Manager for WooCommerce: by QuadLayers – 5.5.6
WooCommerce Google Analytics Integration: by WooCommerce – 1.5.9
WooCommerce Wholesale Prices: by Rymera Web Co – 2.1.4
WooCommerce: by Automattic – 6.7.0 (aggiornamento alla versione 6.8.2 disponibile)
WP-Optimize – Clean, Compress, Cache: by David Anderson
Ruhani Rabin
Team Updraft – 3.2.2### Inactive Plugins (1) ###
Smart Cookie Kit: by Nicola Modugno – 2.3.1
### Dropin Plugins (1) ###
advanced-cache.php: advanced-cache.php
### Settings ###
API Enabled: ?
Force SSL: –
Currency: EUR (€)
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: –
Enforce Approved Product Download Directories: –### WC Pages ###
Shop base: #4097 – /shop/
Carrello: #4098 – /cart/
Pagamento: #4099 – /checkout/
Il mio account: #4100 – /my-account/
Termini e condizioni: ? L’ID della pagina è impostato
ma la pagina non esiste### Theme ###
Name: Avada
Version: 7.1.1
Author URL: https://themeforest.net/user/ThemeFusion
Child Theme: ? – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente
ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema childWooCommerce Support: ?
### Templates ###
Overrides: Avada/woocommerce/cart/cart.php
Avada/woocommerce/checkout/form-pay.php versione 3.4.0 è obsoleta. La versione attuale è 5.2.0
Avada/woocommerce/checkout/review-order.php versione 3.8.0 è obsoleta. La versione attuale è 5.2.0
Avada/woocommerce/checkout/thankyou.php
Avada/woocommerce/loop/loop-start.php
Avada/woocommerce/single-product/add-to-cart/variable.php versione 3.5.5 è obsoleta. La versione attuale è 6.1.0
Avada/woocommerce/single-product/short-description.php
Avada/woocommerce/single-product/tabs/additional-information.php
Avada/woocommerce/single-product/tabs/description.phpOutdated Templates: ?
Scopri come aggiornare
### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
experimental-product-tour
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-pageDisabled Features: minified-js
settingsDaily Cron: ? Next scheduled: 2022-08-24 10:29:49 +02:00
Options: ?
Notes: 98
Onboarding: completed### Action Scheduler ###
Complete: 1.907
Oldest: 2022-07-29 17:36:13 +0200
Newest: 2022-08-24 10:25:27 +0200Pending: 3
Oldest: 2022-08-24 10:29:53 +0200
Newest: 2022-08-26 17:19:36 +0200### Status report information ###
Generated at: 2022-08-24 10:29:59 +02:00
`Hello @silvia74!
Thanks for the reply!
A couple of things stand out from your Status Report.
WP Version: ? 5.8.4 – è disponibile una versione più recente di WordPress (6.0.1) MySQL Version: ? 5.5.62-38.14-log – Consigliamo l’uso di MySQL con versione minima 5.6. Per i dettagli: Requisiti WordPress
Please keep your WordPress and MySQL versions up to date as described here: https://woocommerce.com/document/server-requirements/
Outdated Templates: ?
For optimal performance, please update the outdated templates as described in our guide resource here: https://woocommerce.com/document/fix-outdated-templates-woocommerce/
Regarding the coupons, it would help us a lot if you shared a screenshot of your
Usage Restriction
andUsage Limits
tabs from yourCoupons data
section.You can use a tool like Snipboard to share screenshots with us on the thread here.
We will be waiting for your update!
- This reply was modified 2 years, 3 months ago by Tamirat B. (a11n).
- This reply was modified 2 years, 3 months ago by Tamirat B. (a11n).
Hello Joseph.
Regarding worpress and my Sql version I Know It’s important to update but I’m doing a restyling of the site so in the new version I’ll use the most recent version.Here are links to the screenshot
https://snipboard.io/v2GoSm.jpg
https://snipboard.io/GZD5LF.jpgBut, the thing i would understand is.. why only one mail? if it would be a bad configuration, the problem would be with all the mail, every customer could be able to use coupon many times… instead, only one… I would to exclude in some way that mail.
Hi @silvia74
Here are links to the screenshot
https://snipboard.io/v2GoSm.jpg
https://snipboard.io/GZD5LF.jpgI tried creating a coupon with the same settings, but could not replicate the same behavior. So the issue is coming specifically for your site.
Regarding worpress and my Sql version I Know It’s important to update but I’m doing a restyling of the site so in the new version I’ll use the most recent version.
Did you at least update WordPress and outdated templates? I can also see that your database is outdated:
WC Database Version: 4.3.1
Before troubleshooting further, I’d suggest making a backup of your site, and updating plugins, templates and database so your WordPress & WooCommerce site works properly.
Updating and verifying database can be done from WooCommerce > Status > Tools
Link to image: https://snipboard.io/jhRt6r.jpg
Once that’s done, please share the most recent system status.
Thank you for your answer.
Is there any way to exclude a specific email from the coupon? I would like that user not to see the coupon entry field.Thank you
Hello @silvia74!
Thanks for the reply!
Is there any way to exclude a specific email from the coupon? I would like that user not to see the coupon entry field.
Implementing the feature above might need customizations that go beyond the scope of support for this forum.
I’m going to leave this thread open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.
On the other hand, there is a StackOverflow thread and a website resource here that tries to restrict WooCommerce coupouns based on a customer’s user roles. It might help you get started on your customization tasks mentioned above.
In the meantime, for optimal performance, please follow through on the recommended site updates above.
Hope this helps!
- The topic ‘Limiti di utilizzo codici promozionale’ is closed to new replies.