• Resolved kanwalshahzadi

    (@kanwalshahzadi)


    Hi,
    There’s a small issue on my site with the cart page. The “Apply coupon” button isn’t working correctly. When we click on the button, it reloads the entire page even though the input field is empty, and it doesn’t show the prompt to “Please enter a coupon code.” However, the issue only occurs for logged-out users; it works properly on the Admin side.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey @kanwalshahzadi ,

    Thanks for reaching out!

    It looks like you are experiencing an issue on the Checkout page, where clicking on “Apply Coupon” with an empty input field, results in the page refreshing, correct?

    Has this been an ongoing issue or one that recently surfaced? If the latter, do you recall any changes/updates made to the site before this issue popped up?

    I have gone to your site and see what you mean. When clicking on “Apply Coupon” with an empty input field, the entire page is refreshed, and the expected notice is not displayed.

    Checking further, this is not something I am able to replicate on my test site, as following the steps above as a logged-out user results in this being displayed:

    It’s possible that this may be the cause of a plugin/theme conflict however before moving on to a full conflict test, I’d like to take a closer look at your sites current environment.

    Please can you share a copy of you sites System Status Report which you can find via  WooCommerce → Status.

    Select Get system report and then Download for Support. This will download a TXT file that has the contents of the SSR which you can then share with us here.

    Cheers!

    Thread Starter kanwalshahzadi

    (@kanwalshahzadi)

    No I am talking about cart page, here is the link to page
    https://speedcomputers.co.za/cart/
    there the issue is happening and this is not an ongoing issue it’s recently surfaced while I hae not made any changes or updates in the code.

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey @kanwalshahzadi ,

    Thanks for clarifying.

    No I am talking about cart page, here is the link to page
    https://speedcomputers.co.za/cart/
    there the issue is happening and this is not an ongoing issue it’s recently surfaced while I hae not made any changes or updates in the code.

    While I am able to replicate this on your sites Cart page, this is still not something I am able to reproduce on my test site, as the “Apply Coupon” button is greyed out and there is an icon on hover that indicates clicking is prevented unless a code is added to the coupon input field:

    Please can you share a copy of your sites System Status Report so that we can take a closer look at your sites current environment?

    Cheers!

    Thread Starter kanwalshahzadi

    (@kanwalshahzadi)

    Here it is

    ` WordPress Environment</p> <p class=””>WordPress address (URL): https://speedcomputers.co.za<br>Site address (URL): https://speedcomputers.co.za<br>WC Version: 8.2.2<br>REST API Version: ? 8.2.2<br>WC Blocks Version: ? 11.1.3<br>Action Scheduler Version: ? 3.6.3<br>Log Directory Writable: ?<br>WP Version: 6.4.1<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_ZA<br>External object cache: – Server Environment</p> <p class=””>Server Info: LiteSpeed<br>PHP Version: 8.1.24<br>PHP Post Max Size: 8 MB<br>PHP Time Limit: 30<br>PHP Max Input Vars: 1000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w</p> <p class=””>SUHOSIN Installed: –<br>MySQL Version: 10.6.16-MariaDB<br>Max Upload Size: 2 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database</p> <p class=””>WC Database Version: 8.0.3<br>WC Database Prefix: wp_<br>Total Database Size: 67.51MB<br>Database Data Size: 56.07MB<br>Database Index Size: 11.44MB<br>wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.35MB + Index: 0.14MB + Engine MyISAM<br>wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_actionscheduler_logs: Data: 0.22MB + Index: 0.15MB + Engine MyISAM<br>wp_bobsi_tradefeed_audit: Data: 1.52MB + Index: 0.00MB + Engine InnoDB<br>wp_bobsi_tradefeed_product: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bobsi_tradefeed_product_base: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>wp_ewwwio_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB<br>wp_gla_merchant_issues: Data: 16.55MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mystickymenu_contact_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_options: Data: 4.36MB + Index: 0.17MB + Engine InnoDB<br>wp_postmeta: Data: 20.53MB + Index: 7.80MB + Engine InnoDB<br>wp_posts: Data: 9.52MB + Index: 1.23MB + Engine InnoDB<br>wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_slides: Data: 0.04MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_termmeta: Data: 0.06MB + Index: 0.06MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.34MB + Index: 0.22MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.14MB + Index: 0.16MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_admin_note_actions: Data: 0.04MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_category_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_customer_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM<br>wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.10MB + Index: 0.19MB + Engine MyISAM<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.06MB + Engine InnoDB Post Type Counts</p> <p class=””>acf: 5<br>acf-field: 23<br>acf-field-group: 5<br>attachment: 3791<br>brand_logo: 6<br>custom_css: 1<br>custom-css-js: 1<br>customize_changeset: 1126<br>manufacturer: 1<br>ml-slide: 20<br>ml-slider: 2<br>nav_menu_item: 189<br>page: 31<br>post: 161<br>product: 1534<br>revision: 1042<br>shop_order: 62<br>slider: 2<br>wpcf7_contact_form: 1 Security</p> <p class=””>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (23)</p> <p class=””>Advanced Custom Fields: Repeater Field: by Elliot Condon – 2.1.0<br>Advanced Custom Fields: by WP Engine – 6.2.2<br>All-in-One WP Migration: by ServMask – 7.79<br>bidorbuy Store Integrator: by bidorbuy – 2.12.0<br>Better WordPress Minify: by Khang Minh – 1.3.3<br>Contact Form 7: by Takayuki Miyoshi – 5.8.3<br>Simple Custom CSS and JS: by SilkyPress.com – 3.45<br>Custom Post Type UI: by WebDevStudios – 1.15.1<br>Favicon by RealFaviconGenerator: by Philippe Bernard – 1.3.28<br>Google Listings and Ads: by WooCommerce – 2.5.11<br>Intuitive Custom Post Order: by hijiri – 3.1.4.1<br>Mammoth .docx converter: by Michael Williamson – 1.20.0<br>MetaSlider: by MetaSlider – 3.50.0<br>myStickymenu: by Premio – 2.6.5<br>Product Import Export for WooCommerce: by WebToffee – 2.3.6<br>WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3<br>WooCommerce Stripe Gateway: by WooCommerce – 7.7.0<br>WP Menu Cart: by WP Overnight – 2.14.2<br>WooCommerce Payfast Gateway: by WooCommerce – 1.5.9<br>WooCommerce: by Automattic – 8.2.2<br>WP Fastest Cache: by Emre Vona – 1.2.2<br>YITH WooCommerce Quick View: by YITH – 1.33.0<br>YITH WooCommerce Wishlist: by YITH – 3.27.0 Inactive Plugins (11)</p> <p class=””>Enable Media Replace: by ShortPixel – 4.1.4<br>In Cache: by WordPress – 2.4.5<br>Loading Page: by CodePeople – 1.1.0<br>Optimus: by KeyCDN – 1.6.3<br>PayPal for WooCommerce: by Angell EYE – 1.5.3<br>Simple Blog Stats: by Jeff Starr – 20231025<br>Simple Google reCAPTCHA: by Michal Novák – 4.0<br>Slider Revolution: by ThemePunch – 5.1.4<br>Smush: by WPMU DEV – 3.15.0<br>UpdraftPlus – Backup/Restore: by UpdraftPlus.Com<br>DavidAnderson – 1.23.12</p> <p class=””>Woocommerce Login / Sign-up Lite: by phoeniixx – 4.0 Settings</p> <p class=””>API Enabled: ?<br>Force SSL: –<br>Currency: ZAR (R)<br>Currency Position: left_space<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)</p> <p class=””>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)</p> <p class=””>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages</p> <p class=””>Shop base: #188 – /shop/<br>Basket: #189 – /cart/<br>Checkout: #190 – /checkout/<br>My account: #191 – /my-account/<br>Terms and conditions: ? Page not set Theme</p> <p class=””>Name: Speed Computer<br>Version: 10.20<br>Author URL:<br>Child Theme: ?<br>Parent Theme Name: Twenty Seventeen<br>Parent Theme Version: 3.1 – 3.4 is available<br>Parent Theme Author URL: https://www.ads-software.com/<br>WooCommerce Support: ? Templates</p> <p class=””>Overrides: storevilla/woocommerce/archive-product.php version 2.0.0 is out of date. The core version is 3.4.0<br>storevilla/woocommerce/checkout/thankyou.php version 3.2.0 is out of date. The core version is 8.1.0<br>storevilla/woocommerce/content-product.php version 3.0.0 is out of date. The core version is 3.6.0<br>storevilla/woocommerce/content-single-product.php version 3.0.0 is out of date. The core version is 3.6.0<br>storevilla/woocommerce/content-product_cat.php version 2.6.1 is out of date. The core version is 4.7.0</p> <p class=””>Outdated Templates: ?</p> <pre class=”wp-block-code”><code> Learn how to update</code></pre> <p class=””>Admin</p> <p class=””>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page</p> <p class=””>Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>settings<br>async-product-editor-category-field</p> <p class=””>Daily Cron: ? Next scheduled: 2023-11-17 12:42:48 +02:00<br>Options: ?<br>Notes: 194<br>Onboarding: completed Action Scheduler</p> <p class=””>Complete: 452<br>Oldest: 2023-10-16 20:09:24 +0000<br>Newest: 2023-11-16 06:00:36 +0000</p> <p class=””>Failed: 13<br>Oldest: 2023-02-20 13:25:41 +0000<br>Newest: 2023-11-15 11:35:19 +0000</p> <p class=””>Pending: 2<br>Oldest: 2023-11-17 03:00:00 +0000<br>Newest: 2023-11-17 06:00:36 +0000 Status report information</p> <p class=””>Generated at: 2023-11-16 15:32:13 +02:00<br>`


    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey @kanwalshahzadi ,

    Parent Theme Version: 3.1 – 3.4 is available

    +

    Overrides: storevilla/woocommerce/archive-product.php version 2.0.0 is out of date. The core version is 3.4.0<br>storevilla/woocommerce/checkout/thankyou.php version 3.2.0 is out of date. The core version is 8.1.0<br>storevilla/woocommerce/content-product.php version 3.0.0 is out of date. The core version is 3.6.0

    I am able to see that your current theme has an update available. There are also a number of outdated templates. Can you see if updating your current theme and templates resolves the issue?

    If the issue is still present, I’d suggest a full conflict test at this point to see if any theme/plugin conflict is causing this behavior.

    The support guide below provides comprehensive steps on how to perform a conflict test:

    Let us know how this goes!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Howdy,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Apply Coupon button is not functioning properly’ is closed to new replies.