• Resolved jimmyhahn

    (@jimmyhahn)


    Hello everyone
    I sit and pull my hair out over discount code in woocommerce.

    I make a simple discount code that must be 100% (So free item on the basket)

    It should not be difficult: Create and use% set it to 100. Expires 31/12/2021. maker Only Individual use under consumption limitation. Below consumption limits I set Consumption number per. coupon for 4 and Consumption limit per. customer to 4.

    This should work and I can not figure out why it uses 2 at a time and not 1?
    Now I only add order to the customer in admin, and here it adds the item the customer needs and adds the discount code and the calculation works, but it pulls 2 X discount code per time?

    Does anyone have an answer to this?

    Regards
    Jimmy

Viewing 8 replies - 1 through 8 (of 8 total)
  • Armsportstore.com

    (@armbreakersweden)

    You are not alone. Even though it happens for me with “normal” discounts that isn’t 100% of the price. I also stumbled into the situation that if you set the usage limit of a discount code to 1, then the discount isn’t passed to PayPal, regardless of which plugin you use… I know the last bit doesn’t apply to your situation with 100% discounts, but something is clearly wrong with the discounts in WooCommerce.

    @jimmyhahn do you use WPML on your site?

    Thread Starter jimmyhahn

    (@jimmyhahn)

    I was aI rely don’t understand, cuss woocommerce is the most use all over the world and so small errors for the best plugins?? Hmm I am lost?

    Dos any have a fix to this or maybe a workaround for it?

    Cheers

    Jimmy

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there Jimmy,

    If I understand correctly, the issue you are seeing is that it uses 2 of the 4 coupon uses at one time, correct? So after applying the coupon at Checkout and placing the first order with that coupon, the coupon shows “2/4” in the Usage/Limit — is that correct?

    I tried copying the settings you described, but do not see the same thing. After applying the coupon and checking out, it just shows “1/4” for the usage:

    Usage coupon
    Link to image: https://d.pr/i/d80cLl

    Please send screenshots of each settings tab for your coupon that you’ve created, and the Coupon as it shows in the Marketing > Coupons list before and after using it. I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your reply here.

    Also, 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, you can paste it here in your reply.

    Thread Starter jimmyhahn

    (@jimmyhahn)

    Hi Kellymetal
    You are correct, and i love to see your there is working. Mine is way off. I have made a PDF and number 2 opstion is rely funne where it sat 2 use out of one.

    The link to the PDF: https://www.vmck.dk/site/wp-content/uploads/2021/03/systemrapport.pdf

    The report is here and also in the PDF:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.vmck.dk/site
    Site address (URL): https://www.vmck.dk/site
    WC Version: 5.0.0
    REST API Version: ? 5.0.0
    WC Blocks Version: ? 4.0.0
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.9.0
    Log Directory Writable: ?
    WP Version: 5.6.2
    WP Multisite: –
    WP Memory Limit: ? 51 MB - Vi anbefaler at s?tte lagerkapacitet (memory) til mindst 64MB. Se: For?get hukommelse er allokeret til PHP
    WP Debug Mode: –
    WP Cron: ?
    Language: da_DK
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.3.27
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.27-MariaDB-1:10.3.27+maria~focal
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.0.0
    WC Database Prefix: wp_
    Total databasest?rrelse: 16.92MB
    Database datast?rrelse: 12.60MB
    Database indexst?rrelse: 4.32MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_booking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bookingdates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_calendar: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_calendar_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_calendar_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_check_email_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cimy_uef_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cimy_uef_fields: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cimy_uef_wp_fields: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_esp_answer: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_attendee_meta: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_esp_checkin: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_country: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_esp_currency: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_esp_currency_payment_method: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_datetime: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_esp_datetime_ticket: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_event_message_template: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_event_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_event_question_group: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_event_venue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_esp_extra_join: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_extra_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_line_item: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_esp_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_esp_message: Data: 0.02MB + Index: 0.22MB + Engine InnoDB
    wp_esp_message_template: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
    wp_esp_message_template_group: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_payment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_payment_method: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_price: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_price_type: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_question: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_question_group: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_question_group_question: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_question_option: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_registration: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_esp_registration_payment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_state: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_ticket: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_esp_ticket_price: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_ticket_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_esp_transaction: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_esp_venue_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fb3d_pages: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_groups_capability: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_groups_group: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_groups_group_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_groups_user_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_groups_user_group: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mdjm_availability: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mdjm_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_msbdt_booking: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_msbdt_location: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_msbdt_organization: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_msbdt_professional: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_msbdt_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_msbdt_time_slote: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_options: Data: 7.42MB + Index: 0.20MB + Engine InnoDB
    wp_postmeta: Data: 1.52MB + Index: 0.17MB + Engine InnoDB
    wp_posts: Data: 0.28MB + Index: 0.06MB + Engine InnoDB
    wp_rm_fields: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_rm_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_front_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_login: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_login_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_paypal_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_paypal_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_sent_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_submission_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rm_task_exe_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_signups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_usermeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforo_accesses: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wpforo_activity: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_wpforo_forums: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wpforo_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wpforo_likes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpforo_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforo_phrases: Data: 0.05MB + Index: 0.09MB + Engine MyISAM
    wp_wpforo_postmeta: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wpforo_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpforo_post_revisions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforo_profiles: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wpforo_subscribes: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wpforo_tags: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpforo_topics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpforo_usergroups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wpforo_views: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpforo_visits: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_wpforo_votes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpml_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.19MB + Index: 0.08MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    3d-flip-book: 1
    attachment: 176
    contract: 1
    custom_css: 1
    email_template: 7
    espresso_events: 1
    event_listing: 1
    foogallery: 1
    mep_events: 1
    nav_menu_item: 35
    page: 41
    photo_book: 1
    photogallery: 1
    post: 4
    product: 7
    revision: 42
    shop_coupon: 2
    shop_order: 13
    team: 7
    testimonials: 6
    um_directory: 1
    um_form: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (28) ###
    
    AccessPress Social Share: af AccessPress Themes – 4.5.4
    Admin Menu Editor: af Janis Elsts – 1.9.9
    Better Search Replace: af Delicious Brains – 1.3.4
    Kalender: af Kieran O'Shea – 1.3.14
    Change default login logo url and title: af Venugopal. – 2.0
    Classic Editor: af WordPress Contributors – 1.6
    Delete Pending Comments: af sudar – 1.0.0
    Disable Comments: af WPDeveloper – 2.1.0
    EU Cookie Law: af Alex Moss
    Marco Milesi – 3.1.6
    
    FooGallery: af FooPlugins – 1.10.3
    Groups: af itthinx – 2.12.0
    3D FlipBook - Lite Edition: af iberezansky – 1.10.16
    JP User Registration Blacklist: af Justin Parr – 1.7.2
    Woocommerce Events Manager: af MagePeople Team – 3.4.7
    Really Simple SSL: af Really Simple Plugins – 4.0.11
    Simple YouTube Responsive: af Eirudo – 2.5
    Advanced Editor Tools (previously TinyMCE Advanced): af Automattic – 5.6.0
    Ultimate Member: af Ultimate Member – 2.1.15
    Ultimate Member - WooCommerce: af Ultimate Member – 2.2.5
    WooCommerce Cash On Pickup: af Marian Kadanka – 1.6
    WooCommerce: af Automattic – 5.0.0
    Yoast SEO: af Team Yoast – 15.9.1
    WP Approve User: af Konstantin Obenland – 7
    WP Bulk Delete: af Xylus Themes – 1.2.1
    WP Database Backup: af Prashant Walke – 5.7.1
    WP Mail SMTP: af WPForms – 2.6.0
    WPForms Lite: af WPForms – 1.6.5
    wpForo: af gVectors Team – 1.9.5
    
    ### Inactive Plugins (11) ###
    
    Akismet Anti-Spam: af Automattic – 4.1.9
    Booking Calendar: af wpdevelop
    oplugins – 8.8.1
    
    Cimy User Extra Fields: af Marco Cimmino – 2.7.2
    Hello Dolly: af Matt Mullenweg – 1.7.2
    Import and export users and customers: af codection – 1.17.3.5
    Multi-Scheduler: af bdtask – 1.0.0
    RegistrationMagic: af Registrationmagic – 4.6.3.5
    The Events Calendar: af The Events Calendar – 5.4.0.1
    WooCommerce Easy Booking: af @_Ashanna – 3.0.2
    Wpdevart Social comments: af wpdevart – 2.0.5
    WP Facebook Comments: af GenialSouls – 1.6
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: DKK (DKK)
    Currency Position: left_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 basisside: #266 - /shop/
    Kurv: #267 - /kurv/
    Checkout: #268 - /kasse/
    Min konto: #269 - /min-konto/
    Vilk?r og betingelser: #3 - /privatlivs-politik/
    
    ### Theme ###
    
    Name: Endanger Pro
    Version: pro 1.0
    Author URL: https://www.gracethemes.com/
    Child Theme: ? – Hvis du redigerer WooCommerce i et hovedtema
    som du ikke selv har udviklet
    anbefaler vi
    at du anvender et undertema (child theme). Se: Hvordan du opretter et undertema
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Archive Template: Dit tema har en woocommerce.php fil; du vil ikke kunne overskrive den tilpassede skabelon woocommerce/archive-product.php
    fordi woocommerce.php har h?jere prioritet end archive-product.php. Dette er gjort for at forhindre problemer i forbindelse med visning.
    
    Overrides: endanger-pro/woocommerce/emails/admin-cancelled-order.php
    endanger-pro/woocommerce/emails/admin-failed-order.php
    endanger-pro/woocommerce/emails/admin-new-order.php
    endanger-pro/woocommerce/emails/customer-completed-order.php
    endanger-pro/woocommerce/emails/customer-invoice.php
    endanger-pro/woocommerce/emails/customer-new-account.php
    endanger-pro/woocommerce/emails/customer-note.php
    endanger-pro/woocommerce/emails/customer-on-hold-order.php
    endanger-pro/woocommerce/emails/customer-processing-order.php
    endanger-pro/woocommerce/emails/customer-refunded-order.php
    endanger-pro/woocommerce/emails/customer-reset-password.php
    
    ### Action Scheduler ###
    
    Gennemf?rt: 151
    Oldest: 2021-03-06 21:25:39 +0100
    Newest: 2021-03-09 22:20:06 +0100
    
    Igangv?rende: 2
    Oldest: 2021-03-10 01:29:53 +0100
    Newest: 2021-03-13 21:25:39 +0100
    
    
    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there Jimmy,

    Thank you for sending over the screenshots and status report!

    That is certainly strange behavior that you are seeing on the site / in those screenshots, and surely not expected behavior.

    I don’t see any particular plugins in the report that might be causing this — I was checking for any coupon-related ones, or perhaps WPML as @armbreakersweden mentioned, which might cause it to be redeemed once for each language, however don’t see anything that stands out.

    This sort of random/unexpected behavior is usually caused by a conflict with code in either a custom theme or another active plugin. To narrow down what is causing this, please try temporarily disabling all plugins except for WooCommerce, and switch back to a default theme like Storefront. After that, check to see if the issue with the coupons is resolved. If that resolves the issue, then re-activate your theme first, and then plugins one at a time until you find the one that’s causing the issue.

    You can read more about conflict testing in our Self Service Guide here:
    https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    To avoid affecting your customers, you may want to do this on a test/staging site. If you don’t have one already, your hosting company might offer one as part of your package. Alternatively, you can use a free plugin like WP Staging for quickly creating a new test site.

    Thread Starter jimmyhahn

    (@jimmyhahn)

    Hmm now I have tried myself a bit and found a big mistake in my shop.

    If I make an order and put it for payment completed then it draws 2 discount coupons. If I make a new order and set it to pending payment, it only draws one, but when I later put the order for payment completed, it draws an extra? That’s what I’ve got right now ??

    kellymetal: Is there an option for you to try the same with you shop, to see if it is the same?

    I am still working and trying with other theme and non plugin….

    Regards
    Jimmy

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there Jimmy,

    Thank you for the extra info here! So, it’s not when a customer places a normal order on the frontend and uses the coupon, but when you create the order in wp-admin and apply the coupon there.

    I tested that on my site and was able to reproduce the issue. I see there was a similar issue reported to the developers, so I’ve added this extra info here:
    https://github.com/woocommerce/woocommerce/issues/27686#issuecomment-796399928

    Please feel free to comment there and follow along for any updates about this strange behavior.

    For now though, if you are doing it all manually in the backend, then perhaps the best workaround for now would be to set the usage limit to double what you expect.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @jimmyhahn,

    Just a heads up, I’ll go ahead and mark this thread as resolved in favor of the open GitHub issue. As informed above, kindly stay updated on the GH thread for info on fixes/workarounds.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘discount code error’ is closed to new replies.