Support » Plugin: WooCommerce » Remaining value of coupon codes

  • Resolved StefanPeeters

    (@stefanpeeters)


    Hi,
    I have a question about coupon codes!
    When a coupon code of €25 is generated and someone buyes something for €13 there is still €12 value. The next time that person buys something it is possible to buy something for €25 instead of just €12. I think I have to set it up that the person only can buy something for the remaining value?
    Thanks for all the help!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support AJ a11n

    (@amandasjackson)

    Hi @stefanpeeters

    It sounds like the coupons that you are setting up are being done with either custom coding or an additional plugin, as WooCommerce core coupons do not have the functionality to save the remaining value of a coupon for a customer to use later.

    Are you aware of the plugin or code you are using?

    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.

    Thread Starter StefanPeeters

    (@stefanpeeters)

    Hi Amanda,
    I use the coupon codes that come standard with WooCommerce. You can find the system status here:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://lillyshombeek.be
    Site address (URL): https://lillyshombeek.be
    WC Version: 4.0.1
    REST API Version: ✔ 1.0.7
    WC Blocks Version: ✔ 2.5.14
    Action Scheduler Version: ✔ 3.1.4
    WC Admin Version: ✔ 1.0.3
    Log Directory Writable: ✔
    WP Version: 5.4.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: nl_BE
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.3.18
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 20000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.29-32-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.0.1
    WC Database Prefix: wp_
    Total Database Size: 28.83MB
    Database Data Size: 24.31MB
    Database Index Size: 4.52MB
    wp_woocommerce_sessions: Data: 2.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.08MB + Index: 0.03MB + Engine InnoDB
    wp_blc_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_blc_instances: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_blc_links: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_blc_synch: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_giftvouchers_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_giftvouchers_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_giftvouchers_setting: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_giftvouchers_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_icons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_maps: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gmp_markers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_marker_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_marker_groups_relation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_membership_presets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gmp_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gmp_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gmp_options_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gmp_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ngg_album: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_ngg_gallery: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_ngg_pictures: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 4.03MB + Index: 0.13MB + Engine InnoDB
    wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_postmeta: Data: 5.42MB + Index: 2.09MB + Engine InnoDB
    wp_posts: Data: 2.31MB + Index: 0.23MB + Engine InnoDB
    wp_snippets: Data: 0.02MB + Index: 0.00MB + 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_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + 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.05MB + Index: 0.09MB + 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_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_circles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yikes_easy_mc_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 402
    custom_css: 2
    customize_changeset: 31
    elementor_library: 1
    envira: 1
    nav_menu_item: 6
    ngg_gallery: 1
    ngg_pictures: 12
    page: 10
    phoen_gift_card: 4
    post: 2
    product: 268
    revision: 151
    shop_coupon: 7
    shop_order: 5
    wpforms: 2
    wpgv_voucher_product: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (32) ###
    
    Broken Link Checker: door WPMU DEV – 1.11.12
    Cookie Notice: door dFactory – 1.3.1
    WooCommerce Coupon Generator: door Lindsay Bogaerts – 1.1.0 – Not tested with the active version of WooCommerce
    Custom Fonts: door Brainstorm Force – 1.2.1
    Elementor: door Elementor.com – 2.9.7
    Envira Gallery Lite: door Envira Gallery Team – 1.7.8.6
    Flexible Shipping: door WP Desk – 3.9.16
    Insert Headers and Footers: door WPBeginner – 1.4.5
    Kadence WooCommerce Email Designer: door Kadence WP – 1.4.1
    Loco Translate: door Tim Whitlock – 2.3.3
    Custom Login Page Customizer: door Hardeep Asrani – 2.0.1
    Mailchimp for WooCommerce: door Mailchimp – 2.4.0
    Maintenance: door WP Maintenance – 3.85
    Mollie Payments for WooCommerce: door Mollie – 5.5.1
    Productassemblage / geschenkverpakking / ... kosten voor WooCommerce: door Webdados – 1.2
    Really Simple CAPTCHA: door Takayuki Miyoshi – 2.0.2
    Really Simple SSL: door Rogier Lankhorst
    Mark Wolters – 3.3.1
    
    Styler for WPForms: door Sushil Kumar – 2.0
    Social Media and Share Icons (Ultimate Social Media): door UltimatelySocial – 2.5.5
    UpdraftPlus - Backup/Restore: door UpdraftPlus.Com
    DavidAnderson – 1.16.23
    
    User Role Editor: door Vladimir Garagulya – 4.53.1
    W3 Total Cache: door BoldGrid – 0.13.2
    WC Hide Shipping Methods: door Rynaldo Stoltz – 1.3
    White Label CMS: door www.videousermanuals.com – 2.1.3
    Premmerce Permalink Manager for WooCommerce: door premmerce – 2.1.14
    WooCommerce Stripe Gateway: door WooCommerce – 4.3.3
    WooCommerce PDF Invoices & Packing Slips: door Ewout Fernhout – 2.4.8
    WooCommerce: door Automattic – 4.0.1 – 4.1.1 is beschikbaar
    Wordfence Security: door Wordfence – 7.4.6
    WP User Avatar: door flippercode – 2.2.5
    WPForms Lite: door WPForms – 1.5.9.5
    WPS Hide Login: door WPServeur
    NicolasKulka
    tabrisrp – 1.5.6
    
    ### Inactive Plugins (14) ###
    
    Akismet Anti-Spam: door Automattic – 4.1.4
    Code Snippets: door Code Snippets Pro – 2.14.0
    Easy Forms for Mailchimp: door YIKES
    Inc. – 6.6.4
    
    Easy Google Fonts: door Titanium Themes – 1.4.4
    Gift Card For Woocommerce: door phoeniixx – 1.2.8 – Not tested with the active version of WooCommerce
    Google Fonts Typography: door Fonts Plugin – 2.0.0
    Hello Dolly: door Matt Mullenweg – 1.7.2
    Jetpack by WordPress.com: door Automattic – 8.4.2
    Pods - Custom Content Types and Fields: door Pods Framework Team – 2.7.20
    PW WooCommerce Gift Cards: door Pimwick
    LLC – 1.117
    
    WooCommerce PDF Invoices: door Bas Elbers – 3.0.11 – Not tested with the active version of WooCommerce
    WP font-face: door Robbert Langezaal – 1.1
    WP Font Awesome: door Zayed Baloch – 1.7.6
    Yoast SEO: door Team Yoast – 13.5
    
    ### 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)
    gift_card (gift_card)
    grouped (grouped)
    pw gift card (pw-gift-card)
    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 ###
    
    Winkelbasis: #79 - /winkel/
    Winkelmand: #80 - /winkelmand/
    Afrekenen: #81 - /afrekenen/
    Mijn account: #82 - /mijn-account/
    Terms and conditions: #3 - /privacy-policy/
    
    ### Theme ###
    
    Name: Fashion Stylist
    Version: 1.0.6
    Author URL: https://blossomthemes.com/
    Child Theme: ✔
    Parent Theme Name: Blossom Fashion
    Parent Theme Version: 1.3.0
    Parent Theme Author URL: https://blossomthemes.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 56
    Oldest: 2020-05-02 07:42:40 +0000
    Newest: 2020-06-01 16:16:09 +0000
    
    Pending: 1
    Oldest: 2020-06-02 16:16:09 +0000
    Newest: 2020-06-02 16:16:09 +0000
    
    
    Plugin Support Senff – a11n

    (@senff)

    Thanks for the System Status Report.

    As Amanda explained, the way WooCommerce handles coupons is that spending an amount that is less than the coupon value, the remaining value will not be saved — hence, the situation that you describe likely comes from another plugin.

    I see you have a plugin called WooCommerce Coupon Generator, so I’m wondering if the functionality to be able to save remaining value from a coupon is coming from there.

    While we’re experts on our own products, third party plugins are best supported by their own resp. developers (and more importantly, I’d rather not give you any incorrect information), so I suggest you reach out to the plugin’s own suppor team.

    Thread Starter StefanPeeters

    (@stefanpeeters)

    Oke

    WooCommerce Coupon Generator is installed but not in use. When I make a coupon code for €25 it is possible for custommers to keep using that code even for more than €20 when they already used €20 before.
    Which setting do I have to use for preventing this?

    Plugin Support Luminus Alabi a11n

    (@luminus)

    Automattic Happiness Engineer

    @stefanpeeters,

    When I make a coupon code for €25 it is possible for custommers to keep using that code even for more than €20 when they already used €20 before.
    Which setting do I have to use for preventing this?

    It sounds like you haven’t set the usage limits on the coupon, thereby allowing customers to use it as many times as they please.

    You can learn about coupon usage limits here – https://docs.woocommerce.com/document/coupon-management/#section-4.

    If you’re looking to provide a coupon that tracks the balance, like a gift card, so that when a customer uses the coupon for a €20 purchase, they only have €5 left on it, you’ll want to look at the Smart Coupons extension for that.

    Thread Starter StefanPeeters

    (@stefanpeeters)

    Hi,
    Thank you for your help everyone!
    I will look into that.

    Plugin Support Luminus Alabi a11n

    (@luminus)

    Automattic Happiness Engineer

    You’re welcome @stefanpeeters,

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remaining value of coupon codes’ is closed to new replies.