• Resolved craigmckee

    (@craigmckee)


    Afternoon everyone,

    I have set a subscription so schools can buy 50 “licences” for the courses so send them a coupon code for 100% discount they can use on the courses. This means their staff can then come on, register and complete the course they need to for free.

    I need the uses to reduce per item in the cart though. So, if they add two courses, it gives them a 100% discount, but it counts as two uses of the coupon.

    Is this possible? I can’t think of a way round it at the moment!

    Thanks.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi @craigmckee ??

    As a first step, 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.

    Thank you!

    Thread Starter craigmckee

    (@craigmckee)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://educationsafeguarding.co.uk
    Site address (URL): https://educationsafeguarding.co.uk
    WC Version: 5.5.1
    REST API Version: ? 5.5.1
    WC Blocks Version: ? 5.3.2
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.4.1
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.21
    PHP Post Max Size: 516 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.77.0
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.23-23
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.5.1
    WC Database Prefix: QhV_
    Total Database Size: 20.80MB
    Database Data Size: 16.77MB
    Database Index Size: 4.03MB
    QhV_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    QhV_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    QhV_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    QhV_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_actionscheduler_actions: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
    QhV_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_actionscheduler_logs: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    QhV_aiowps_events: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    QhV_aiowps_failed_logins: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_aiowps_login_lockdown: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    QhV_h5p_contents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_contents_libraries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_contents_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_contents_user_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_counters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_libraries: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_h5p_libraries_cachedassets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_libraries_hub_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_h5p_libraries_languages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_libraries_libraries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_results: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_h5p_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_h5p_tmpfiles: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_learnpress_order_itemmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    QhV_learnpress_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    QhV_learnpress_question_answermeta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_learnpress_question_answers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_learnpress_quiz_questions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_learnpress_review_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_learnpress_sections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_learnpress_section_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_learnpress_sessions: Data: 0.16MB + Index: 0.06MB + Engine InnoDB
    QhV_learnpress_user_itemmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    QhV_learnpress_user_items: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    QhV_learnpress_user_item_results: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    QhV_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_options: Data: 8.33MB + Index: 0.13MB + Engine InnoDB
    QhV_pmpro_discount_codes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    QhV_pmpro_discount_codes_levels: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_pmpro_discount_codes_uses: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_pmpro_memberships_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_pmpro_memberships_pages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_pmpro_memberships_users: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    QhV_pmpro_membership_levelmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_pmpro_membership_levels: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    QhV_pmpro_membership_ordermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_pmpro_membership_orders: Data: 0.02MB + Index: 0.20MB + Engine InnoDB
    QhV_postmeta: Data: 2.48MB + Index: 0.61MB + Engine InnoDB
    QhV_posts: Data: 1.41MB + Index: 0.13MB + Engine InnoDB
    QhV_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    QhV_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_rank_math_internal_links: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    QhV_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    QhV_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_revslider_sliders: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
    QhV_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_revslider_slides: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    QhV_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_usermeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    QhV_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    QhV_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    QhV_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    QhV_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    QhV_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    QhV_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    QhV_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    QhV_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    QhV_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    QhV_wsal_metadata: Data: 0.25MB + Index: 0.39MB + Engine InnoDB
    QhV_wsal_occurrences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    ae_global_templates: 3
    attachment: 219
    elementor_library: 10
    event_auth_book: 42
    lp_cert: 2
    lp_course: 6
    lp_lesson: 33
    lp_order: 13
    lp_question: 33
    lp_quiz: 5
    mc4wp-form: 2
    nav_menu_item: 28
    our_team: 10
    page: 30
    portfolio: 14
    post: 5
    product: 3
    revision: 114
    shop_coupon: 6
    shop_order: 10
    shop_order_refund: 1
    testimonials: 6
    tp_event: 8
    wpcf7_contact_form: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?Error messages should not be shown to visitors.
    
    ### Active Plugins (32) ###
    
    All In One WP Security: by Tips and Tricks HQ
    Peter Petreski
    Ruhul
    Ivy – 4.4.9
    
    Anywhere Elementor: by WPVibes – 1.2.4
    Classic Editor: by WordPress Contributors – 1.6.1
    Contact Form 7: by Takayuki Miyoshi – 5.4.2
    Elementor: by Elementor.com – 3.3.1
    Flexible Checkout Fields: by WP Desk – 3.0.11
    H5P: by Joubel – 1.15.3
    LearnPress - Announcements: by ThimPress – 4.0.2
    LearnPress - Assignments: by ThimPress – 4.0.0
    LearnPress - Coming Soon Courses: by ThimPress – 4.0.1
    LearnPress - Course Review: by ThimPress – 4.0.2
    LearnPress - WooCommerce Payment Methods Integration: by ThimPress – 4.0.1
    LearnPress: by ThimPress – 4.1.2-beta-1
    Loco Translate: by Tim Whitlock – 2.5.3
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.6
    Nav Menu Roles: by Kathy Darling – 2.0.1
    Slider Revolution: by ThemePunch – 6.5.4.1
    Rank Math SEO: by Rank Math – 1.0.68
    Thim Core: by ThimPress – 2.0.5
    Thim Our Team: by ThimPress – 1.3.1
    Thim Testimonials: by ThimPress – 1.3.1
    Thim Portfolio: by ThimPress – 1.8
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.59
    
    Widget Logic: by WPChef – 5.10.4
    WooCommerce Payments: by Automattic – 2.7.0
    WooCommerce: by Automattic – 5.5.1
    WooLentor - WooCommerce Elementor Addons + Builder: by HasThemes – 1.9.1
    WordPress Importer: by wordpressdotorg – 0.7
    WP File Manager: by mndpsingh287 – 7.1.2
    WP Mail SMTP: by WPForms – 2.9.0
    WP Activity Log: by WP White Security – 4.3.1
    WPForms Lite: by WPForms – 1.6.8
    
    ### Inactive Plugins (15) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.10
    bbPress: by The bbPress Contributors – 2.6.6
    Bluehost: by Bluehost – 2.8.0
    Creative Mail by Constant Contact: by Constant Contact – 1.4.2
    Eduma Demo Data: by ThimPress – 1.2.1
    Hello Dolly: by Matt Mullenweg – 1.7.2
    Insert Pages: by Paul Ryan – 3.6.1
    Jetpack: by Automattic – 9.9.1
    LearnPress - Certificates: by ThimPress – 4.0.1
    LearnPress - Course Wishlist: by ThimPress – 4.0.1
    LearnPress - Fill In Blank Question: by ThimPress – 3.1.0
    LearnPress - Paid Membership Pro Integration: by ThimPress – 4.0.1
    Paid Memberships Pro: by Stranger Studios – 2.5.10.1
    User Verification: by PickPlugins – 1.0.57
    WP Events Manager: by ThimPress – 2.1.9
    
    ### Must Use Plugins (2) ###
    
    Endurance Page Cache: by Mike Hansen – 2.0.7
    SSO: by Garth Mortensen
    Mike Hansen – 0.3
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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: ?
    
    ### WC Pages ###
    
    Shop base: #9044 - /shop/
    Basket: #1698 - /cart/
    Checkout: #1699 - /checkout/
    My account: #1700 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Eduma
    Version: 4.4.8
    Author URL: https://thimpress.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: eduma/woocommerce/archive-product.php
    eduma/woocommerce/cart/mini-cart.php
    eduma/woocommerce/content-product.php
    eduma/woocommerce/content-single-product.php
    eduma/woocommerce/content-widget-product.php
    eduma/woocommerce/global/wrapper-end.php
    eduma/woocommerce/global/wrapper-start.php
    eduma/woocommerce/loop/loop-end.php
    eduma/woocommerce/loop/loop-start.php
    eduma/woocommerce/loop/orderby.php
    eduma/woocommerce/loop/pagination.php
    eduma/woocommerce/myaccount/dashboard.php
    eduma/woocommerce/myaccount/form-login.php
    eduma/woocommerce/myaccount/form-lost-password.php
    eduma/woocommerce/product-searchform.php
    eduma/woocommerce/single-product/product-image.php
    eduma/woocommerce/single-product/product-thumbnails.php
    eduma/woocommerce/single-product/rating.php
    eduma/woocommerce/single-product/related.php
    eduma/woocommerce/single-product/review.php
    eduma/woocommerce/single-product/short-description.php
    eduma/woocommerce/single-product/tabs/description.php
    eduma/woocommerce/single-product/up-sells.php
    eduma/woocommerce/single-product.php
    eduma/woocommerce/content-product_cat.php
    
    ### Action Scheduler ###
    
    Complete: 403
    Oldest: 2021-07-08 13:36:26 +0100
    Newest: 2021-07-21 15:00:23 +0100
    
    Pending: 6
    Oldest: 2021-07-22 06:23:40 +0100
    Newest: 2021-08-08 01:55:58 +0100
    
    ### Status report information ###
    
    Generated at: 2021-07-21 16:32:39 +01:00
    
    Thread Starter craigmckee

    (@craigmckee)

    Was there any progress on this at all?

    Hi @craigmckee

    I need the uses to reduce per item in the cart though. So, if they add two courses, it gives them a 100% discount, but it counts as two uses of the coupon.

    As there isn’t a default way to achieve this, you may want to look into a plugin that offers a store credit feature such as:

    https://woocommerce.com/products/smart-coupons/
    https://woocommerce.com/products/store-credit/

    Additionally, since this is related to LearnPress, you could ask the plugin developer to see if there is an add-on coupon feature that works with your environment.

    Thread Starter craigmckee

    (@craigmckee)

    @maykato pfftttt I feared that – sadly, LearnPress point you towards Woocommerce for coupons ??

    I’ll take a look at those plugins, thanks.

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @craigmckee,

    sadly, LearnPress point you towards Woocommerce for coupons

    I see! Yep, WooCommerce does provide basic coupon functionality, but not specifically for what you are looking to do.

    @maykato’s suggestion of Smart Coupons or WooCommerce Store Credit would be great solutions. Rather than having it count as “1 use” or “2 uses” though, it would deduct the amount of credit/monetary value from the particular coupon or account.

    If you need it specifically to count as “1 use” of the coupon for each product in the Cart, that would likely require some custom coding/development. If you need assistance with coding or custom development, we recommend reaching out to a developer from one of the services at https://woocommerce.com/customizations/

    (I see the same question was asked in this forum post as well, with the same answer).

    Thread Starter craigmckee

    (@craigmckee)

    @kellymetal thank you!

    Plugin Support abwaita a11n

    (@abwaita)

    You’re welcome @craigmckee.

    Since the thread is resolved and you have a couple of options to go with, if you have other questions, please create a new thread.

    Thanks.

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