Home Forums Search Search Results for 'empty cart issue'

Viewing 30 results - 1 through 30 (of 197 total)
  • Author
    Search Results
  • reneersloan
    Participant
    #677230

    Hello Aizaz,

    Thank you for the reply.

    I think there may have been a misunderstanding, as your instructions seem to be for a different user’s issue regarding the shop page permalink.

    My issue, as described in my previous message, is a CSS alignment problem on the Cart page.

    To summarize:

    The quantity buttons (+/-) are misaligned on the live site.

    The “Return To Shop” button on the empty cart page is also styled incorrectly.

    This happens on the live site, but everything looks perfectly correct inside the Elementor editor.

    The issue persists across different computers and browsers.

    Could you please re-read my previous message and review the screenshots I provided about the Cart page styling issue? The temporary login is still active.

    Thank you for your help.

    Best regards,

    reneersloan
    Participant
    #677139

    Hello Aizaz,

    Thank you for your update.

    Unfortunately, I must report that the alignment issue with the quantity +/- buttons is still present on my end.

    I have thoroughly cleared my browser cache as you suggested. To be absolutely sure it wasn’t a local issue, I also sent the cart page link to a completely different computer, and the alignment problem was still visible there.

    Furthermore, I have discovered another button styling issue on a related page. On the empty cart page, the “Return To Shop” button also appears deformed and does not match the theme’s button styling. It seems to be a wider problem with how styles are applied to WooCommerce buttons on the front end.

    I have attached screenshots of both the quantity button issue and the empty cart button issue for your reference.

    Could you please take another look and help debug this?

    Thank you for your continued assistance.

    Best regards,

    Attachments:
    You must be logged in to view attached files.
    shweta
    Participant
    #676486

    Hello Team,

    I hope you’re well. I am writing to report that the issue of cart items disappearing after a checkout cancellation is still unresolved.

    Here’s a brief explanation of the problem:

    When a customer proceeds to checkout and is redirected to the payment gateway, but decides to cancel the payment (to review or modify the cart), they are redirected back to the website. However, upon return, the cart is found to be empty. All previously added items are removed automatically.

    This issue severely impacts the user experience, as customers expect their cart to remain intact when they cancel the transaction for valid reasons. It not only causes inconvenience but may also result in lost sales.

    We kindly request that you to look into this issue and provide a permanent solution to ensure that the cart is preserved after a cancelled checkout.

    Thank you for your support.

    atanasgrozdev
    Participant
    #676314

    Hi,

    I’m using the WoodMart theme and I’ve noticed an issue on the checkout page. The checkout form is supposed to be multi-step, but all the steps are visible at once. Also, the “Place order” button appears twice.

    Additionally, when submitting the form, nothing happens – there is only a request to admin-ajax.php with an empty response, and no error messages in the console.

    I also get this error when previewing the checkout section:
    Fatal error: Call to a member function get_cart() on null in review-order.php

    I have attached an image with an error when I try to open Checkout layout form Furniture 2 layout with elementor.

    Just to mention I have installed new delivery plugins “Econt Delivery OneCheckout” and “WooCommerce Speedy Shipping Method” I ma not sure if they are related to the problem.

    Can you please help me solve this issue?
    Thanks you in advance. Have a great day.

    Attachments:
    You must be logged in to view attached files.
    StravinMarvin
    Participant
    #675690

    Hello,

    I seem to have answered twice by accident. Sorry about that, please disregard the comment above as this one has some more details. Feel free to delete the previous reply to if you want to keep things more tidy for future readers.

    Thank you for looking into this issue.
    I’ve thoroughly tested and confirmed that this behavior occurs on a fresh Woodmart installation using Gutenberg as the page builder with your demo content. Since this is reproducible on a clean setup, it appears to be independent of any custom code or specific configurations. If possible, I’d prefer to avoid providing site access unless absolutely necessary, as the issue can be replicated on any fresh installation.
    Steps to reproduce:

    – Create a fresh Woodmart installation with demo content
    – Enable “Hide out of stock items from the catalog” in WooCommerce > Settings > Products > Inventory
    – Create an FBT (Frequently Bought Together) bundle and assign a product to it
    – Change that product’s status to “out of stock”
    – Assign the FBT bundle to a different product
    View the product page where the FBT bundle is assigned

    Expected behavior: The FBT block should not display when all products are out of stock.
    Actual behavior: An empty FBT block appears on the product page, even though the products within it are out of stock. i now see the product also appear on the list, but not in a product box, and it wont let you add to cart because one of the products are out of stock.

    I appreciate your help in resolving this issue. Please let me know if you need any clarification or additional details.

    Attachments:
    You must be logged in to view attached files.

    In reply to: Quantity button

    shweta
    Participant
    #674789

    Hello Team,

    Thank you for the quick response. However, the issue still persists. When I remove all products from the cart by adjusting the quantity, the cart still shows a number, even though it is empty.

    As requested, please find the WP login details in the private section.

    #663826

    Dear Hung,

    We appreciate your support but unfortunately this error is happening frequently and not always. If you can try it again after few minutes you will notice the empty cart issue.
    Even we couldn’t verify our Application with Apple Store and Google Play and go live on their stores due to this error that has been noticed several times by them.

    [email protected]
    Participant
    #662900

    There is gap below the footer, as if there is a min-height on the body. This happens in the live site as well.
    The plugins in the staging site are all deactivated.
    What could be causing this?

    Please take a look at a random page, such as the cart page: https://staging.callofbeautypro.com/cart/
    This happens on the custom pages as well, not just on the woocommerce ones.

    Feel free to disable whatever you need at this staging website.

    goncalogamaap
    Participant
    #662791

    The previous fix worked—thank you! However, there’s now a new issue that wasn’t happening before.

    When the cart is empty from the start, everything works correctly. But if I add items to the cart and then remove them using the side cart (off-canvas cart), the cart doesn’t refresh properly. The side cart remains stuck with no update, and the cart icon in the header doesn’t reflect the change either.

    Could you please take a look at this?

    Thanks in advance!

    Attachments:
    You must be logged in to view attached files.
    goncalogamaap
    Participant
    #662783

    The previous fix worked—thank you! However, there’s now a new issue that wasn’t happening before.

    When the cart is empty from the start, everything works correctly. But if I add items to the cart and then remove them using the side cart (off-canvas cart), the cart doesn’t refresh properly. The side cart remains stuck with no update, and the cart icon in the header doesn’t reflect the change either.

    Could you please take a look at this?

    Thanks in advance!

    • This reply was modified 2 months, 3 weeks ago by goncalogamaap.
    Attachments:
    You must be logged in to view attached files.
    mehdi.tavangar
    Participant
    #657975

    Hello,

    Thank you for your explanation. I followed the steps you suggested. Unfortunately, there is still an issue:

    When a product is removed from the cart, the page initially appears blank, and the “Your cart is empty” message only appears after manually reloading the page.

    From a UX perspective, this is not ideal, because most users won’t think to manually refresh the page – so it appears as though something is broken or missing.

    I’m looking for a solution that ensures the empty cart message appears automatically after removing the last product, without needing to reload the page manually.

    I’d be glad if you could help me out.

    Kind Regards

    Artem Temos
    Keymaster
    #647088

    Hello,

    We still can’t reproduce the issue on our end. Please add the following code to the functions.php file in the child theme and test how it works. Let me know if it helps

    if ( ! function_exists( 'woodmart_remove_abandoned_cart' ) ) {
    	function woodmart_remove_abandoned_cart( $order_id ) {
    		if ( ! woodmart_get_opt( 'cart_recovery_enabled' ) ) {
    			return;
    		}
    
    		$cart_id = false;
    
    		if ( is_user_logged_in() ) {
    			$carts = get_posts(
    				array(
    					'post_type'      => 'wd_abandoned_cart',
    					'posts_per_page' => 1,
    					'meta_query'     => array( // phpcs:ignore.
    						array(
    							'key'     => '_user_id',
    							'value'   => get_current_user_id(),
    							'compare' => 'LIKE',
    						),
    					),
    				)
    			);
    
    			if ( ! empty( $carts[0] ) ) {
    				$cart_id = $carts[0]->ID;
    			}
    		} elseif ( isset( $_COOKIE['woodmart_guest_cart'] ) && ! empty( $_COOKIE['woodmart_guest_cart'] ) ) {
    			$cart_id = get_post( $_COOKIE['woodmart_guest_cart'] ); // phpcs:ignore.
    		}
    
    		if ( $cart_id ) {
    			wp_delete_post( $cart_id );
    		}
    	}
    
    	add_action( 'woocommerce_checkout_update_order_meta', 'woodmart_remove_abandoned_cart' );
    }

    Kind Regards

    Artem Temos
    Keymaster
    #641193

    To fix this issue, try to add the following code snippet to the Custom CSS area in Theme Settings. If it doesn’t help, send us your admin access.

    body .wd-empty-mini-cart .btn {
        background: #000;
    }
    aninesladice
    Participant
    #640276

    Hello,

    I would like to know how I can increase the size of the icons in the sidebar menu. Also, on two images, I can’t find a way to remove or at least translate the text “Delivery & Return.”

    I am using Loco Translate on my WordPress website, but I am facing some issues with translations. Specifically, I can’t find the following texts in the Loco Translate plugin:

    “Delivery & Return” on two images,
    The message displayed when the wishlist is empty,
    “Billing details,” “Your order,” and “Payment information” during the checkout process.
    I have checked the available strings in Loco Translate, but these texts are not listed there. Could you please help me find a way to either translate or remove them? Additionally, if these texts are hardcoded or come from a specific plugin or theme, could you guide me on how to locate and edit them?

    Furthermore, I am also having trouble customizing the layout for the cart and checkout pages. I would appreciate any guidance on how to adjust these layouts to better fit my design needs.

    Thank you for your help.

    #637583

    I got the same issue in twenty twenty. It worked inside the admin panel but on a separate browser, it showed the cart was empty. Any advice is greatly appreciated

    Attachments:
    You must be logged in to view attached files.
    gareth-0660
    Participant
    #635685

    Hi,

    We are having issues with being able to add products to the basket. Sometimes it works, others it doesn’t. It definitely doesn’t work in incognito in Chrome.

    Can you help please?

    #630571

    Hello,

    1. The browser categories menu is not working because you have not set the sticky navigation menu from the Theme Settings >> General >> Sticky Navigation >> https://ibb.co/jbnLrrF

    2. To change the Marquee bar text to the Polish language, you should edit the page in the Polish language >> then edit the Marquee widget >> then from the content section change the text: https://ibb.co/kxWTjZJ

    3. I have checked your site and found that the logo is showing fine on the both English and Polish language. Please check the site after removing the browser and site cache.

    4. All the words are now translated in the mini cart: https://ibb.co/YThZLNf I have translated all the words from the WPML >> String Translation section. All the words are available there.

    5. The home text is coming from the Yoast SEO plugin’s settings. I have changed it to the Englsih, now you can also translate it from WPML >> String Translation section.

    6. On the shop page in Polish language, the space is more than English page is because of the empty row added on the Polish shop page: https://ibb.co/JvLvRbX

    7. The product is not showing in the Polish language because you have not translated the product in the Polish language. Please translate the products in all languages then it will work fine.

    8. This is because of any 3rd party plugin. Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.

    9. The wishlist page is not working because you have not selected any page for wishlist from Theme Settings >> Shop >> Wishlist >> https://ibb.co/nDDzJzv

    Best Regards.

    Yasar Arafath
    Participant
    #629168

    Dear Team,

    Before we had this empty cart issue and again we started facing the issue. Sometime it works fine and some time we received complaints from customer that when they try to add products to cart, they receive error like, Your Cart is currently empty.

    Eventhough No cache is being used on the cart page, still encounters the issues sometime. Kindly check into it and resolve the issue ASAP.

    Regards
    Yasar

    aztaaonline
    Participant
    #625929

    Hi,

    With or without logged-in into my webstore I cannot add products to my Cart when I use the site on a mobile phone or tablet. https://buy-solar.online/electrical-supplies-shop/

    Works perfectly on a desktop.

    Topic 2:
    On my landing page on PC the side Menu is taking pixels out of my top Slider. What is causing that?
    https://buy-solar.online/

    Can someone assist me on this to correct them.

    Best regards,
    Adi

    Attachments:
    You must be logged in to view attached files.
    specialisturaz
    Participant
    #625193

    Hello,
    I am experiencing two issues with my website

    Users cannot access the store page without logging in. Instead, they are redirected to the homepage. I would like users to access the store page directly without requiring a login.

    When the cart is empty and I click “Return to Shop,” it redirects to a non-existent page, resulting in a “Page Not Found” error. I would like this button to correctly redirect to the store page.

    I would appreciate your guidance on how to resolve these issues. Thank you!

    In reply to: Cart Empty

    Yasar Arafath
    Participant
    #624501

    Dear Hung,

    Good Day! I have not still activated the WP-Rocket back then. But, again Encountered the same issue from few customers this morning. As I don’t know where the actual problem is coming from.

    Along with this reply, have attached the video of the empty cart issue. Please check and would be highly appreciated if you can assist on sort this issue out ASAP.

    zehpan
    Participant
    #618773

    right now after checking out. The order received page is not showing up, instead, its showing empty cart information.

    How could I solve the issue?

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    reseler.cl
    Participant
    #606317

    Hi There

    I’m using your theme and having trouble translating a text on the empty cart page. The text that appears in English is:

    “Before proceed to checkout you must add some products to your shopping cart. You will find a lot of interesting products on our ‘Shop’ page.”

    I tried searching for this string in Loco Translate, but I couldn’t find it. Could you please advise on how I can translate or customize this text into Spanish? Is there a specific file or setting where I can change this?

    Thank you in advance for your help.

    Best regards,

    Attachments:
    You must be logged in to view attached files.
    ema.boccia02
    Participant
    #604636

    Hello,

    I have tried several methods to change the “Cart is empty” and “Return to shop” text strings in the cart sidebar, but none of them have worked. Here’s what I’ve attempted so far:

    Translated the theme (and child theme) as well as all plugins using Loco Translate
    Downloaded and uploaded translation files
    Changed the WordPress language settings multiple times
    Despite these efforts, the issue persists. I’ve attached a screenshot for your reference, as the website is currently in maintenance mode.

    Thank you in advance for your assistance.

    silvio.ricci.rsa
    Participant
    #598959

    Hi,

    I need to solve a small issue that is affecting my site with the Woodmart theme.
    I noticed that if all products are removed from the cart page before proceeding to checkout, the page remains blank and nothing happens. When the page loads, it should display the message “Your cart is empty,” but this only happens if I manually reload the page. Could you please instruct me on how to resolve this issue?

    Best Regards

    Silvio Ricciutelli

    Attachments:
    You must be logged in to view attached files.
    pavla.kraus
    Participant
    #593382

    The staging site is up, you can use the same login information at the link in private content.

    The issue started to happen right after I updated the theme to 7.6.0. Since then I have updated as many plugins as possible (due to license issues some I am not able to update some of them). The issue is still there.

    To replicate:
    1) Start adding products to the cart – you can do that from the homepage
    2) Check the cart subtotal in the right top corner after each product
    3) Usually the issue happens after few products are added
    4) You can go to the cart after few products – sometimes the products disappear this way
    5) If the issue does not happen, try to empty the cart and start again – the issue happens 80 % of time

    Thank you!

    • This reply was modified 11 months, 2 weeks ago by pavla.kraus.
    leejay123
    Participant
    #593159

    Problem 1:
    It seems that there has been some misunderstanding of the issue, so let me explain it in more detail. As shown in this video https://jumpshare.com/v/HMGEnsm9QANBp88XBySs I added multiple items to my cart on the Cart page https://iblazevape.co.uk/cart/. I then removed each item one by one. Once all items were removed, I was automatically redirected to the custom empty cart layout created in Woodmart Layouts, specifically using the type “empty cart” associated with the Cart page, as shown here: https://gyazo.com/481424be03bd78c8fc48c938599efc1b

    The main problem arises because the cart is emptied using AJAX. When I am redirected to the empty cart layout via AJAX, the page elements, like the accordion, do not function correctly. Additionally, the “Products (Grid or Carousel)” element sometimes appears and sometimes does not, which could be why you were unable to see the issue during your testing. The core of the problem is that I have to manually refresh the page for everything to function correctly, which is not ideal or user-friendly.

    Problem 2:
    When removing items directly from the Checkout page https://iblazevape.co.uk/checkout/, the page refreshes, which is not the most desirable behavior, but at least it doesn’t present the same issues as Problem 1. You can see this behavior in this video: https://jmp.sh/Ptn75oFG

    The difference is that while the page refresh on the Checkout page is not ideal, it prevents the inconsistencies seen when the cart is emptied via AJAX on the Cart page. This inconsistency and need for manual refresh should be addressed to improve the user experience.

    • This reply was modified 11 months, 2 weeks ago by leejay123.
    • This reply was modified 11 months, 2 weeks ago by leejay123.
    • This reply was modified 11 months, 2 weeks ago by leejay123.
    leejay123
    Participant
    #593146

    As I’ve stated multiple times, this issue happens specifically on the Cart page. In the screenshot you provided, it seems you are on the homepage, which is not where the issue occurs – https://gyazo.com/6d0b20e58712480e25da87ad2997fe0a

    The Cart page can be accessed at https://iblazevape.co.uk/cart/. I have retested, and the console errors are consistently appearing on both the Cart page and the Checkout page https://iblazevape.co.uk/checkout/

    I understand that you added the code below to fix the console errors, and initially, the errors disappeared, but now they have reappeared even though the code is still in place in the “cart total element” – https://gyazo.com/a0218f0b27d3ee2c0a82f899f980a5f1

    Relevant code in question:

    cart-collaterals

    I have created another video demonstrating the issues I am experiencing. This is clearly a conflict between your theme and WooPayments. As we have established from the beginning of this conversation, we have already conducted a conflict test which confirmed that this is a theme-related issue.

    We previously resolved the mini cart issue by adding the following code into the PHP functions, but this does not resolve the other problems I am facing:

    add_filter( 'woodmart_update_fragments_fix', '__return_false' );

    Problem (1): Console errors on the Cart page

    As demonstrated in this video https://jmp.sh/AsZscbNS, there are no console errors on the homepage. However, when navigating to the Cart page, the errors begin to appear. Additionally, as shown in this screenshot https://gyazo.com/122b2460161c059789168f9daee71e8e, there is unwanted space between the total £ amount and the “Proceed to Checkout” button. Upon inspecting the elements, I found that WooPayments is inserting code into the page, causing this issue. Please review this yourself by following the guidance provided in the video.

    The solution I found to eliminate the errors on the Cart page and resolve the spacing issue between the total amount and the “Proceed to Checkout” button is to disable Klarna payments in the WooCommerce/WooPayments settings, as shown here: https://gyazo.com/628924b3ca4c1cfbe6c8da9c1500b18f. However, this should not be necessary, as I want to offer Klarna as a payment option to my customers.

    Problem (2): Console errors on the checkout page
    As shown in this video (https://jmp.sh/Hgb7vFcT), when accessing the mini cart and clicking on the checkout, no console errors appear. However, when navigating to the Cart page and clicking “Proceed to Checkout,” a different console error appears, separate from the previous ones. It seems that a script is not loading properly. I have enabled CORS (Cross-Origin Resource Sharing) settings through Cloudways and even tried disabling them to troubleshoot the cause of the issue!

    Problem (3):
    I have created a separate discussion for this issue: https://xtemos.com/forums/topic/issue-with-mini-cart-and-custom-empty-cart-layout/

    As you are fully aware, I have tested this issue with a different theme while only having the following plugins activated: Woodmart Core, WooCommerce, WooPayments, and Elementor. Everything works fine with these settings, confirming that the problem is specific to your theme, as there are no issues when using the Storefront theme or others.

    Please take the time to read this carefully, as I initially started this topic on August 25, and it seems there is some misunderstanding. I have detailed all the current issues in this topic, and I urgently need a complete solution to all the problems ASAP.

    leejay123
    Participant
    #592866

    The issue seems to be related to the AJAX functionality.

    When I remove an item from the checkout page, the page refreshes and redirects me directly to an empty cart and the mini cart updates, which works as expected.

    However, when I remove an item from the cart page, the page does not refresh and instead uses AJAX to redirect to the empty cart page. The mini cart, however, does not update accordingly.

    Please try it out yourself!

    Additionally, I’ve noticed that the console errors on the cart page have disappeared. These errors were gone even before I added the following code to the child theme’s functions.php file:

    add_filter( 'woodmart_update_fragments_fix', '__return_false' );

    Could you let me know what steps you took to resolve the console errors? I’d like to have this information so that if the issue arises again, I can apply the same fix.

    I’ve also noticed another issue related to the mini cart. Our website uses WooCommerce to display shipping costs. When a user adds an item to the cart, the shipping cost is automatically selected, as shown here: https://gyazo.com/5b152729b92a70530e7eb01012af31ef. However, the shipping cost does not appear in the mini cart.

    Could you please advise on how to address this issue?

    • This reply was modified 11 months, 3 weeks ago by leejay123.
    RichardTRC
    Participant
    #592651

    1) I added padding to the top row and then removed the padding at the top of the empty cart text to bring everything together, this now displays ok. Thanks.

    2) I thought the use of the checkout layout negates the need to include the [woocommerce_checkout] shortcode? If I include the [woocommerce_checkout] shortcode then I cant have a customised checkout form configured through Layouts right? Is there perhaps a way for me to have an entirely separate Thankyou page which isn’t part of the checkout process which would help me workaround this issue?

    3) Thanks, this was very confusing as it was only happening on the checkout page. I think for now I will just hide the CF7 form on the checkout page and perhaps try and workaround this later down the line. Thanks.

    Point number 2 is the only real issue right now.

Viewing 30 results - 1 through 30 (of 197 total)