• Hi,

    i set up a couipon to auto apply when a customer is part of an user role.

    Seems not to work at all.

    Regards

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Soft79

    (@josk79)

    What are your coupon settings?

    And please send me a WooCommerce System Status Report.

    Thread Starter EBrockway

    (@ebrockway)

    Hi, thanks for your respond.

    Now that i think about it, giving some info is not a bad idea :p

    Settings : https://prntscr.com/hhnyfk https://prntscr.com/hhnykz

    
    ### WordPress Environment ###
    
    Home URL: https://www.hello-horse.fr
    Site URL: https://www.hello-horse.fr
    WC Version: 3.2.5
    Log Directory Writable: ?
    WP Version: 4.9.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: fr_FR
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.0.25
    PHP Post Max Size: 8 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.55.1
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    Max Upload Size: 8 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.2.5
    WC Database Prefix: v1_
    MaxMind GeoIP Database: ? La base de données GeoIP de MaxMind n’existe pas - la géolocalisation ne fonctionnera pas. Vous pouvez la télécharger et l’installer manuellement depuis https://dev.maxmind.com/geoip/legacy/geolite/ à l’ adresse?: . Faites défiler vers le bas jusqu'à ??Téléchargements?? et téléchargez le fichier ??binaire / gzip?? à c?té de ??GeoLite Country??. N’oubliez pas de décompresser GeoIP.dat.gz et téléchargez uniquement le fichier GeoIP.dat.
    Total Database Size: 49.22MB
    Database Data Size: 43.07MB
    Database Index Size: 6.15MB
    v1_woocommerce_sessions: Data: 26.08MB + Index: 1.02MB
    v1_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    v1_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    v1_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    v1_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    v1_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    v1_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    v1_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    v1_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    v1_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    v1_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    v1_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    v1_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    v1_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    v1_commentmeta: Data: 0.02MB + Index: 0.03MB
    v1_comments: Data: 0.02MB + Index: 0.09MB
    v1_emc_addresses: Data: 0.02MB + Index: 0.00MB
    v1_emc_categories: Data: 0.02MB + Index: 0.00MB
    v1_emc_dimensions: Data: 0.02MB + Index: 0.00MB
    v1_emc_operators: Data: 0.02MB + Index: 0.00MB
    v1_emc_operators_authorized_contents: Data: 0.05MB + Index: 0.00MB
    v1_emc_pricing: Data: 0.02MB + Index: 0.02MB
    v1_emc_services: Data: 0.08MB + Index: 0.00MB
    v1_links: Data: 0.02MB + Index: 0.02MB
    v1_options: Data: 4.33MB + Index: 1.03MB
    v1_postmeta: Data: 3.52MB + Index: 3.03MB
    v1_posts: Data: 3.17MB + Index: 0.23MB
    v1_psu_redirects: Data: 0.02MB + Index: 0.02MB
    v1_psu_terms: Data: 0.02MB + Index: 0.02MB
    v1_revslider_css: Data: 0.13MB + Index: 0.00MB
    v1_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB
    v1_revslider_navigations: Data: 0.02MB + Index: 0.00MB
    v1_revslider_sliders: Data: 0.39MB + Index: 0.00MB
    v1_revslider_slides: Data: 4.52MB + Index: 0.00MB
    v1_revslider_static_slides: Data: 0.02MB + Index: 0.00MB
    v1_termmeta: Data: 0.06MB + Index: 0.06MB
    v1_terms: Data: 0.02MB + Index: 0.03MB
    v1_term_relationships: Data: 0.06MB + Index: 0.05MB
    v1_term_taxonomy: Data: 0.03MB + Index: 0.03MB
    v1_usermeta: Data: 0.05MB + Index: 0.03MB
    v1_users: Data: 0.02MB + Index: 0.05MB
    v1_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB
    v1_yith_wcwl: Data: 0.02MB + Index: 0.02MB
    v1_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB
    
    ### Post Type Counts ###
    
    attachment: 377
    cms_block: 23
    nav_menu_item: 28
    page: 26
    post: 1
    product: 120
    product_variation: 421
    shop_coupon: 5
    shop_order: 8
    wc_product_tab: 2
    woodmart_sidebar: 1
    wpcf7_contact_form: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (27) ###
    
    ManageWP - Worker: par ManageWP – 4.2.27
    Redux Framework: par Team Redux – 3.6.7.7
    ActiveCampaign: par ActiveCampaign – 6.2.12
    Akismet Anti-Spam: par Automattic – 4.0.1
    Brockway Production Special: par Eric Gracieta – 0.1
    CMB2: par CMB2 team – 2.2.6.2
    Contact Form 7: par Takayuki Miyoshi – 4.9.1
    Envato Market: par Derek Herman – 1.0.0-RC2
    Boxtal (EnvoiMoinsCher): par EnvoiMoinsCher – 2.1.6
    Google Analytics pour WordPress par MonsterInsights: par MonsterInsights – 6.2.6
    Imagify: par WP?Media – 1.6.13.1
    WPBakery Page Builder: par Michael M - WPBakery.com – 5.4.2
    Loco Translate: par Tim Whitlock – 2.0.17
    SecuPress Free — WordPress Security: par SecuPress – 1.3.3
    Tawk.to Live Chat: par Tawkto – 0.3.4
    User Role Editor: par Vladimir Garagulya – 4.38
    WooCommerce Extended Coupon Features: par Soft79 – 2.5.4 – Not tested with the active version of WooCommerce
    WooCommerce Stripe Gateway: par WooCommerce – 3.2.3 – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices & Packing Slips: par Ewout Fernhout – 2.0.15
    WooCommerce Perfect SEO Url: par Perfect SEO Url – 2.7.6 – Not tested with the active version of WooCommerce
    WooCommerce: par Automattic – 3.2.5
    Woodmart Core: par  – 1.0.2
    WP Rocket: par WP Media – 2.10.12
    SEOPress PRO: par Benjamin DENIS – 2.2.2
    SEOPress: par Benjamin DENIS – 2.2.2
    Custom Product Tabs for WooCommerce: par YIKES
    Inc. – 1.6.3
    
    YITH WooCommerce Wishlist: par YITHEMES – 2.1.2 – Not tested with the active version of WooCommerce
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    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 ###
    
    Base boutique: #6 - /boutique/
    Panier: #7 - /panier/
    Commande: #8 - /commande/
    Mon compte: #9 - /mon-compte/
    Terms and conditions: ? Page non définie
    
    ### Theme ###
    
    Name: Woodmart Child
    Version: 1.0.0
    Author URL: https://xtemos.com
    Child Theme: ?
    Parent Theme Name: Woodmart
    Parent Theme Version: 1.4.0
    Parent Theme Author URL: https://themeforest.net/user/xtemos
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: woodmart/woocommerce/archive-product.php
    woodmart/woocommerce/cart/cart-item-data.php
    woodmart/woocommerce/cart/cart.php
    woodmart/woocommerce/cart/cross-sells.php
    woodmart/woocommerce/cart/mini-cart.php
    woodmart/woocommerce/checkout/form-checkout.php
    woodmart/woocommerce/content-product.php
    woodmart/woocommerce/content-product_cat.php
    woodmart/woocommerce/content-single-product.php
    woodmart/woocommerce/content-widget-product.php
    woodmart/woocommerce/global/breadcrumb.php
    woodmart/woocommerce/global/form-login.php
    woodmart/woocommerce/global/quantity-input.php
    woodmart/woocommerce/loop/add-to-cart.php
    woodmart/woocommerce/loop/loop-end.php
    woodmart/woocommerce/loop/loop-start.php
    woodmart/woocommerce/loop/no-products-found.php
    woodmart/woocommerce/loop/orderby.php
    woodmart/woocommerce/loop/pagination.php
    woodmart/woocommerce/loop/sale-flash.php
    woodmart/woocommerce/myaccount/form-login.php
    woodmart/woocommerce/myaccount/navigation.php
    woodmart/woocommerce/product-searchform.php
    woodmart/woocommerce/single-product/add-to-cart/grouped.php
    woodmart/woocommerce/single-product/add-to-cart/variable.php
    woodmart/woocommerce/single-product/meta.php
    woodmart/woocommerce/single-product/product-image.php
    woodmart/woocommerce/single-product/product-thumbnails.php
    woodmart/woocommerce/single-product/rating.php
    woodmart/woocommerce/single-product/related.php
    woodmart/woocommerce/single-product/sale-flash.php
    woodmart/woocommerce/single-product/tabs/tabs.php
    woodmart/woocommerce/single-product/title.php
    woodmart/woocommerce/single-product/up-sells.php
    woodmart/woocommerce/single-product.php
    
    

    Regards

    Thread Starter EBrockway

    (@ebrockway)

    Hi Soft79,

    My response is currently on this state “This post has been held for moderation by our automated system. It will be reviewed within 72 hours.”

    Regards.

    Plugin Author Soft79

    (@josk79)

    Please send me the coupon settings of all tabs, including the coupon code.

    And what do you mean by

    “This post has been held for moderation by our automated system. It will be reviewed within 72 hours.”

    ??

    • This reply was modified 7 years, 3 months ago by Soft79.
    Plugin Author Soft79

    (@josk79)

    Do you still need support?

    Thread Starter EBrockway

    (@ebrockway)

    Plugin Author Soft79

    (@josk79)

    Hm, unfortunately I can’t test on your site and asking for a test login is not allowed on www.ads-software.com.

    Try this: login as a Client pro user, and try to apply the coupon manually. Do you get an error message? Does the coupon get applied?

    Thread Starter EBrockway

    (@ebrockway)

    Indeed the coupon work if apply manually, but it does not aplly automaticly like the plugin would say do.

    Regards.

    Plugin Author Soft79

    (@josk79)

    Does the same problem also occur with version 2.6.0.2 of the plugin?

    Additionally, if you remove the customer role from the coupon does it get applied automatically?

    You don’t have a script running by any chance that removes the coupon-field from the cart/checkout when a Client PRO customer is logged in?

    I suspect a plugin or theme conflict; I tested on my dev site with both 2.5.4 and 2.6.0.2 and there it is working fine. If none of the above applies, I advise you to test it on a standard theme (like Storefront) with other plugins disabled and enabling them one-by-one to find which one is conflicting.

    Thread Starter EBrockway

    (@ebrockway)

    Hi,

    i cannot test it without this restriction, because there is a reason that i want only a certain role to get the discount.

    my theme doesnt have any code related to coupons, and i do not use any other plugins related to coupon as well.

    Regards.

    Plugin Author Soft79

    (@josk79)

    Another thing you could try is disabling WP Rocket temporary to see if there is a conflict with the caching.

    Otherwise, please:
    1) Temporarily enable Settings > WooCommerce Extended Coupon Features > Debug mode
    2) Login as a Client PRO user and add some items to the cart (which *should* apply the coupon)
    3) Disable Settings > WooCommerce Extended Coupon Features > Debug mode
    4) Send me the WooCommerce > System Status > Log of WooCommerce Extended Coupon Features

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Auto-apply not working’ is closed to new replies.