Repository Forums Support WooCommerce Extended Coupon Features PRO Fixed Coupon amount based on quantity

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2588
    deltamcorp
    Participant

    I paid for the pro version with the impression I could use the “Limit Coupon To” option to achieve what I wanted to do. Seems this option is only available with percentage discounts.
    What I am trying to achieve is a discount of say $45 for 1 unit.
    When the customer buys 2 units the discount now doubles to $90 and so on.
    This is a fixed discount per variable unit based on user role.
    The pricing rules plugin applies this function to the product, not the discount. I want to change the discount total, not the product total.
    What is the best way to use the developer hooks to achieve this?

    #2589
    Soft79
    Keymaster

    Set discount type to: Fixed product discount of $ 45. No need to use the ‘Limit discount to’

    #2590
    deltamcorp
    Participant

    I already have this set to fixed product discount.
    What I want is the $45 to be variable based on quantity.
    I also do not want to achieve this per product like the pricing rules plugin does it.
    I want this to be a discount code with variable value.

    #2591
    deltamcorp
    Participant

    How can I change the discount value dynamically based on qty.

    #2592
    Soft79
    Keymaster

    Do you want $45 discount per product, or do you want something else? I think I misunderstand you. Please give an example of what you want to achieve.

    #2593
    deltamcorp
    Participant

    I have a particular customer (user role) that will receive an automatic $45 discount on a product.
    But when they buy two products (qty 2) then they will get a $90 discount.
    When they buy three products (qty 3) then they will get a $135 discount and so on and so forth.

    the discount value actually is equal to (discount value x qty).

    #2594
    Soft79
    Keymaster

    But that’s exactly what will happen if you use FIXED PRODUCT DISCOUNT.

    See: http://demo.soft79.nl/product-category/hoodies/ add hoodies to your cart and apply coopon HOODIE on the cart page. You will receive $10 discount for every hoodie in the cart.

    If it still doesn’t work send me screenshots of the coupon’s settings and paste the WooCommerce System Status Report.

    #2596
    deltamcorp
    Participant

    Hmmm, For some reason mine does not work like this.
    This is a localhost developer site.
    Screenshots:
    https://drive.google.com/drive/folders/1USiq9o1YEOq7o6VuzijopMScJ-4Ej9XT?usp=sharing

    
    ### WordPress Environment ###
    
    Home URL: https://buynow.deltamcorp.test
    Site URL: https://buynow.deltamcorp.test
    WC Version: 3.2.6
    Log Directory Writable: ✔
    WP Version: 4.9.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.5.24
    PHP Version: ❌ 5.5.24 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version
    PHP Post Max Size: 512 MB
    PHP Time Limit: 600
    PHP Max Input Vars: 5000
    cURL Version: 7.40.0
    OpenSSL/1.0.1l
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.24
    Max Upload Size: 512 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.2.6
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 6.73MB
    Database Data Size: 4.92MB
    Database Index Size: 1.81MB
    wp_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_bpspro_db_backup: Data: 0.02MB + Index: 0.00MB
    wp_bpspro_login_security: Data: 0.02MB + Index: 0.00MB
    wp_bpspro_mscan: Data: 0.02MB + Index: 0.02MB
    wp_bpspro_seclog_ignore: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.02MB + Index: 0.09MB
    wp_dmc_pricing: Data: 0.14MB + Index: 0.02MB
    wp_dynamic_widgets: Data: 0.02MB + Index: 0.02MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 1.33MB + Index: 0.06MB
    wp_postmeta: Data: 0.34MB + Index: 0.22MB
    wp_posts: Data: 0.17MB + Index: 0.06MB
    wp_rg_form: Data: 0.02MB + Index: 0.00MB
    wp_rg_form_meta: Data: 1.52MB + Index: 0.00MB
    wp_rg_form_view: Data: 0.02MB + Index: 0.03MB
    wp_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB
    wp_rg_lead: Data: 0.06MB + Index: 0.03MB
    wp_rg_lead_detail: Data: 0.09MB + Index: 0.20MB
    wp_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB
    wp_rg_lead_meta: Data: 0.28MB + Index: 0.05MB
    wp_rg_lead_notes: Data: 0.02MB + Index: 0.03MB
    wp_spectrom_sync: Data: 0.02MB + Index: 0.05MB
    wp_spectrom_sync_log: Data: 0.02MB + Index: 0.02MB
    wp_spectrom_sync_media: Data: 0.02MB + Index: 0.02MB
    wp_spectrom_sync_sources: Data: 0.02MB + Index: 0.03MB
    wp_termmeta: Data: 0.08MB + Index: 0.09MB
    wp_terms: Data: 0.09MB + Index: 0.09MB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.08MB + Index: 0.11MB
    wp_usermeta: Data: 0.05MB + Index: 0.03MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 73
    custom_css: 2
    customize_changeset: 8
    nav_menu_item: 18
    page: 9
    popup: 12
    popup_theme: 6
    post: 2
    product: 13
    product_variation: 10
    revision: 108
    shop_coupon: 5
    shop_order: 2
    shop_webhook: 1
    wc_afrsm: 2
    wc_product_tab: 4
    woo_discount: 1
    woo_discount_cart: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (26) ###
    
    Gravity Forms: by rocketgenius – 2.2.5
    Akismet Anti-Spam: by Automattic – 4.0.2
    All In One SEO Pack: by Michael Torbert – 2.4.4.1
    BulletProof Security: by AITpro Website Security – 2.9
    Buy Now DMC Shortcode: by Justin Stout – Version 1.1
    Dynamic Widgets: by Qurl – 1.5.13
    Popup Maker: by WP Popup Maker – 1.6.6
    Q2W3 Fixed Widget: by Max Bond – 5.1.2
    Theme Customisations: by WooThemes – 1.0.0
    User Role Editor Pro: by Vladimir Garagulia – 4.40.1
    WooCommerce Invoice Gateway: by Stuart Duff – 1.0.2
    Advanced Flat Rate Shipping For WooCommerce: by Multidots – 3.1.1 – Not tested with the active version of WooCommerce
    WooCommerce Extended Coupon Features PRO: by Soft79 – 2.6.1.1
    WooCommerce Extended Coupon Features: by Soft79 – 2.6.0.2
    WooCommerce Conversion Tracking: by Tareq Hasan – 1.2.5
    WooCommerce Stripe Gateway: by WooCommerce – 4.0.3
    WooCommerce - Gravity Forms Product Add-Ons: by Lucas Stark – 3.1.11 – 3.2.5 is available – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.1.4
    WooCommerce PDF Invoices & Packing Slips Professional: by Ewout Fernhout – 2.1.0 – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices & Packing Slips Premium Templates: by Ewout Fernhout – 2.5.2 – Not tested with the active version of WooCommerce
    Woocommerce quotation: by Aldaba Digital – 2.7.6 – Not tested with the active version of WooCommerce
    WooCommerce Tab Manager: by SkyVerge – 1.8.2 – 1.9.0 is available – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.2.6
    Woogle: by Patterns in the Cloud – 1.0.28 – Not tested with the active version of WooCommerce
    WP Fastest Cache: by Emre Vona – 0.8.7.6
    WPSiteSync for Content: by WPSiteSync – 1.3.3
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: USD ($)
    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)
    
    ### WC Pages ###
    
    Shop base: #314 - /products/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #421 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Storefront Child Theme
    Version: 1.0.0
    Author URL: http://stuartduff.com
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 2.2.6 – 2.2.7 is available
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    #2597
    Soft79
    Keymaster

    Please uninstall the free version of our plugin. If that still doesn’t fix the issue it must be a conflict with another plugin. Disable other plugins to test that.

    #2598
    deltamcorp
    Participant

    Do I need to back up settings/coupons or will the transfer to paid version?

    #2599
    Soft79
    Keymaster

    No need. It’s 100% compatible.

    #2603
    deltamcorp
    Participant

    I have deleted the free version and disabled every plugin besides Woocommerce and WooCommerce Extended Coupon Features PRO and the problem still exists.

    The demo you sent works fine as should but mine does not update the coupon.
    Could there be a setting in the coupon I am missing?

    #2604
    Soft79
    Keymaster

    And what if you disable our plugin? Then does the Fixed price discount work (and multiply) as expected?

    #2634
    deltamcorp
    Participant

    The same issue when I all plugins except woocommerce. I even changed themes to the woocommerce storefront theme. Still doesn’t work. Must be a woocommerce issue? I am on a localhost, not sure why that would matter.

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.