• Resolved shreyans94

    (@shreyans94)


    As soon as we enable this plugin we find 2 bugs.

    1) Coupons stop working on the cart page and only work on the checkout page.

    2) Conditional gateway in checkout is not working. If I limit a gateway for a coupon, it still shows up on checkout.

    Kindly fix these asap

    
    ### WordPress Environment ###
    
    Home URL: https://nutrabay.com
    Site URL: https://nutrabay.com
    WC Version: 3.0.8
    Log Directory Writable: ?
    WP Version: 4.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.18 (Ubuntu)
    PHP Version: 7.0.15-0ubuntu0.16.04.4
    PHP Post Max Size: 16 MB
    PHP Time Limit: -1
    PHP Max Input Vars: 1000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.18
    Max Upload Size: 16 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    Zapier Integration - Active Feeds: ?  1 active Zapier Feed.
    Zapier Integration - Cron Tasks: ?  0 pending Zapier cron tasks.
    Zapier Feed #1 Name: ?  New orders at nutrabay.com (autoupdated by zapier)
    Zapier Feed #1 Webhook URL: ?  https://hooks.zapier.com/hooks/catch/2057129/92mqrg/
    Zapier Feed #1 Trigger: ?  New Order
    Zapier Feed #1 Test Result: ?  Successfully sent sample data to https://hooks.zapier.com/hooks/catch/2057129/92mqrg/.
    
    ### Database ###
    
    WC Database Version: 3.0.8
    WC Database Prefix: wp_
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (55) ###
    
    AfterShip - WooCommerce Tracking: by AfterShip – 1.6.8
    Akismet Anti-Spam: by Automattic – 3.3.2
    Broken Link Checker: by Janis Elsts
    Vladimir Prelovac – 1.11.3
    
    Code Snippets: by Shea Bunge – 2.8.6
    Contact Form 7: by Takayuki Miyoshi – 4.8
    Contact Widgets: by GoDaddy – 1.4.1
    Easy Theme and Plugin Upgrades: by Chris Jean – 2.0.0
    Facebook for WooCommerce: by Facebook – 1.3.1
    Imagify: by WP Media – 1.6.4
    Intercom: by Intercom – 2.5.16
    Nextend Facebook Connect: by Nextendweb – 2.0.2
    Nofollow for external link: by CyberNetikz – 1.2.1
    Order / Coupon / Subscription Export Import Plugin for WooCommerce (BASIC): by XAdapter – 1.1.9
    Perfect WooCommerce Brands: by Alberto de Vera Sevilla – 1.4.5
    Recently Registered: by Mika Epstein – 3.4.3
    Safe Redirect Manager: by Taylor Lovett (10up) – 1.7.8
    Schema: by Hesham – 1.6.5
    External Links: by Denis de Bernardy & Mike Koepke – 6.8.1
    Simple 301 Redirects - Addon - Bulk CSV Uploader: by Ash Durham – 1.0.14
    Simple 301 Redirects: by Scott Nellé – 1.07
    SparkPost: by SparkPost – 3.0.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 2.12.30.22
    
    User Role Editor: by Vladimir Garagulya – 4.35
    User Switching: by John Blackbourn – 1.0.9
    WC Variations Ajax Fix: by Travis Buck – 1.3
    WooCommerce Razorpay Payments: by Razorpay – 1.4.2
    Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 3.9.3
    WooCommerce Conditional Shipping and Payments: by WooThemes – 1.2.4 – 1.2.6 is available
    WooCommerce Coupon Campaigns & Tracking: by WooCommerce – 1.0.5
    WooCommerce Customer History: by Brian Richards – 1.1.1
    WooCommerce Google Analytics Pro: by SkyVerge – 1.3.3 – 1.3.4 is available
    WooCommerce Order Status Manager: by SkyVerge – 1.7.1
    Woocommerce Payment Gateway Per Product: by Dreamfox Media – 1.2.8
    WooCommerce Zapier Integration: by OM4 – 1.6.8
    WooCommerce: by Automattic – 3.0.8
    WooSidebars: by WooThemes – 1.4.3
    Wordfence Security: by Wordfence – 6.3.10
    Yoast SEO Premium: by Team Yoast – 4.4
    WP All Export Pro: by Soflyy – 1.4.6
    WP All Import Pro: by Soflyy – 4.4.8
    WP Coupons and Deals: by Imtiaz Rayhan – 1.4
    WP File Manager: by mndpsingh287 – 1.6
    WP Nag Hide: by Milton Keynes Web Design – 1.0
    WP Rocket: by WP Media – 2.10.3
    WP Staging: by WP-Staging
    René Hermenau – 1.1.6
    
    WP All Import - User Import Add-On: by Soflyy – 1.0.9
    WP All Import - WooCommerce Add-On Pro: by Soflyy – 2.3.6
    Yoast SEO: WooCommerce: by Team Yoast – 4.6
    YITH WooCommerce Advanced Reviews Premium: by YITHEMES – 1.4.2
    YITH WooCommerce Customer History Premium: by YITHEMES – 1.0.5
    YITH WooCommerce Minimum Maximum Quantity Premium: by YITHEMES – 1.2.6
    YITH WooCommerce Questions and Answers Premium: by YITHEMES – 1.1.24
    YITH WooCommerce Review Reminder Premium: by YITHEMES – 1.3.0
    YITH WooCommerce Tab Manager Premium: by YITHEMES – 1.1.22
    YITH WooCommerce Wishlist: by YITHEMES – 2.1.2
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: INR (?)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: #5 - /shop/
    Cart: #6 - /cart/
    Checkout: #7 - /checkout/
    My account: #8 - /my-account/
    
    ### Theme ###
    
    Name: Flatsome Child
    Version: 3.0
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.3.5
    Parent Theme Author URL: https://www.uxthemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-product_cat.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/orderby.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    
    
    • This topic was modified 7 years, 5 months ago by shreyans94.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Soft79

    (@josk79)

    How can I reproduce the issue on your store? Do you have a coupon code please? and what are the coupon settings?

    PS: For the gateway issue see FAQ item “Why is the cart not updated after changing the payment method?“: at https://www.soft79.nl/forums/topic/faq/

    Thread Starter shreyans94

    (@shreyans94)

    Ok, so if you go to my site nutrabay.com

    I have created a coupon “hi5” on my site.

    At the checkout field in coupon restriction, I have restricted it to “Credit Card/Debit Card/NetBanking/Wallet” only, however, on the front end, when you try to checkout with a product in the cart, it shows both the restricted as well as the non-restricted option. It shows “Cash on Delivery” which it should not.

    Also, if you try and go to the cart page, you won’t be able to apply the coupon but it will work on the checkout page.

    Now, as soon as I disable the plugin, the coupon does start working work on the cart page.

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

    (@josk79)

    This is not a bug, but this is the way the plugin works.

    A coupon can only be applied if the restrictions are met. If the right payment method has not been selected, the coupon is invalid and won’t apply.

    In the PRO version it is possible to apply an invalid coupon (checkbox ‘Allow applying when invalid’) and a informative message will be presented to the customer. For example ‘Please select Credit Card/Debit Card/NetBanking/Wallet payment method to receive the discount!‘.

    Something seems to be wrong with your theme (or a conflicting plugin) because on the cart page, a message should be displayed if a invalid coupon is added to the cart (or an invalid coupon code). This is a problem with your theme (or a plugin), not with my plugin. Please try a default theme like Storefront to see if that fixes the issue.

    Thread Starter shreyans94

    (@shreyans94)

    Why can’t you simply hide the payment method when coupon is added instead of displaying error message?

    Thread Starter shreyans94

    (@shreyans94)

    Ok I did plugion conflict test. It is conflicting with with “YITH WooCommerce Minimum Maximum Quantity Premium” plugin and stops to show error message in cart as soon as it is turned on.

    Hope you can make it compatible with that in the next update.

    Also, is there an option to edit error message if I but the pro version?

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

    (@josk79)

    The error message is displayed by WooCommerce, so it’s probably an incompatibility between YITH and WooCommerce. Has nothing to do with my plugin. You can test this by disabling my plug in and entering an invalid coupon code on the cart page.

    I don’t hide the shipping method, because that’s not the intended functionality of the plugin. The intended use is restricting coupon usage by selected payment method, not restricting payment method by applied coupon.

    Wouldn’t ‘auto coupon’ be better suited for your scenario? That way the discount can be automatically applied when the customer selects the right payment method, without using coupon code. This needs a small template override I can help you with, if needed.

    Yes, in the PRO version you can change the message that is displayed when applying an invalid coupon to the cart.

    • This reply was modified 7 years, 5 months ago by Soft79.
    • This reply was modified 7 years, 5 months ago by Soft79.
    Thread Starter shreyans94

    (@shreyans94)

    @sterndata @anevins could you please delete this post. It is a security issue for my website as it has system information.

    I started out new and did not know about it when writing it.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @shreyans94, What is the bit that is sensitive?

    Thread Starter shreyans94

    (@shreyans94)

    @anevins If you see the first post it has all the server info and my plugins info. Please request you to delete it.

    If not, request you to at least edit and remove my system info from it.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    all the server info and my plugins info

    That’s not sensitive information and can be found publicly on your website.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    As this thread has stopped being productive I’m going to close it.
    I suggest reading our guidelines on editing threads: https://make.www.ads-software.com/support/handbook/forum-welcome/#deleting-editing-posts

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