Home Forums Search Search Results for 'empty cart issue'

Viewing 30 results - 31 through 60 (of 191 total)
  • Author
    Search Results
  • riotable
    Participant
    #585672

    Hello, my cart and payment screen page appear empty. There was no problem yesterday. Can you help me with this issue?

    Artem Temos
    Keymaster
    #583281

    Hello,

    WooCommerce has a custom message that appears when the cart is empty. If you don’t see it on your website, it might be due to a conflict with other plugins. Please try disabling all plugins except WooCommerce and WoodMart to see if the message appears. If the issue persists, kindly provide us with admin access to your site so we can investigate further.

    Best regards

    nuzaffashion
    Participant
    #576563

    We have recently encountered a significant issue with our website, which is using the Woodmart theme. When customers click the “Buy Now” button to purchase a product, they are being redirected to an empty cart page instead of proceeding to the checkout with the selected product.

    This problem is causing a considerable inconvenience to our customers and is likely affecting our sales. We have verified that this issue persists across different devices and browsers.

    We have tried basic troubleshooting steps such as clearing caches, disabling plugins, and checking for updates, but the issue remains unresolved.

    We would appreciate your urgent assistance in resolving this matter. If you require any additional information or access to our website, please let us know.

    In reply to: Checkout layots BUGs

    FreeRiderNSK
    Participant
    #575801

    Hello!
    Have you watched this video? (https://www.loom.com/share/153ea249063e4f10a70fefd75162b921?sid=11870ccb-99dd-491f-9016-e0055b3f6fd9) at 01:50…
    Please note the verification method in the developer console (window.checkoutView.model.attributes).

    I also use a layout for the cart page. On the cart page, the “window.checkoutView.model.attributes” object is filled and works correctly. This only does not work for the checkout page when using a layout.

    The plugin developer has investigated the issue again and has given a new comment:

    I read this topic, there is no solution in it. Well, it does not help me. The problem is clearly somewhere in this checkout form.
    I just went to your site again, decided to check what data is being reset. So, I filled in all the fields, selected the order pickup point, left the checkout and went back to it again and as a result, all the data, both the first and last name, the phone number and email, everything was reset. My plugin does not affect such fields as “First Name”, “Last Name”, “Phone” and “Email” at all. It only uses the values ​​​​from these fields when sending data to the CDEK delivery service. And when placing an order, it does not even know about their existence. In addition, you yourself write that everything works when using the standard checkout form.
    Also, I do not think that this is a matter of some hooks. I don’t know how this checkout works, of course, but I guess that the hooks that you can connect to this checkout are only template hooks, and not those that are used for the internal logic of data processing. Simply because connecting hooks that process data to a template (and your checkout is a template) makes no sense.
    To make it clearer, I’ll give an example. The hook woocommerce_checkout_before_customer_details is only a template hook, because it is called directly at the time of rendering the checkout form. You can connect any additional HTML blocks to this hook that you want to be displayed at the very top of the checkout form. These hooks also include woocommerce_checkout_billing, woocommerce_checkout_shipping, woocommerce_checkout_after_customer_details, etc.
    And there are hooks that affect the logic of data processing. For example, the hook woocommerce_checkout_update_order_review is triggered every time the checkout form is reloaded/updated. This hook can be used, for example, to redefine some data when the order form is reloaded/updated. But you can’t just insert some HTML block into it, since this will break the logic of Woocommerce.
    One could suggest that some hook is missing and this checkout cannot save data because of this, but this is not so. And the video I sent you shows that when changing the value in the form, the data in the “checkoutView” object changes. Then, if you go from checkout to the cart, you can see that all this data is also saved in this object. But as soon as we go to checkout, all the data is empty, including the data that is not connected with the CDEK plugin.

    Please check again and provide feedback!

    Hung Pham
    Keymaster
    #565711

    Hi Fabio,

    To fix this issue, first try to add the following code snippet to the Child Theme functions.php file:

    add_action( 'woodmart_after_header', function () {
        if ( ! woodmart_woocommerce_installed() || ! is_cart() || ! XTS\Modules\Layouts\Main::get_instance()->has_custom_layout( 'cart' ) ) {
           return;
        }
    
        XTS\Modules\Layouts\Global_Data::get_instance()->set_data( 'builder', true );
    
        woodmart_page_title();
    
        remove_action( 'woodmart_after_header', 'woodmart_page_title', 10 );
    }, 1 );

    And second, add the following code snippet to the Custom CSS area in Theme Settings:

    .woocommerce-cart .main-page-wrapper > .page-title {
    	display: none;
    }
    
    .woocommerce-cart .main-page-wrapper:has(.wd-empty-page) > .page-title {
    	display: block;
    }

    Kind Regards

    rahmat.wpdev
    Participant
    #562223

    Hello, I think you didn’t get my point.
    I said I wasn’t able to change button color and text color. I tried to change from theme settings > styling and also tried using elementor but it’s not working.

    I would request you to please login my site and try to find from there it’s overwriting the default color.

    1. My account page text color(green) I wasn’t able to change: https://prnt.sc/D4oy4oRVtU81

    2. Cart page: https://prnt.sc/1CdU9H3iAghA Button text color not showing

    3. There is a few more buttions https://prnt.sc/Uh9gnDOPyY8L where green text color but we didn’t put this, I’ve checked theme settings>styling & color and also checked elementor’s site settings.

    4. not enough padding on the side cartbar when It’s empty: https://prnt.sc/1yt2OKDjzQb3

    5. Please check, responsive issue on the cart page: https://prnt.sc/CBoyIdpSSP9I & not sure from where the green color is coming, I didn’t put any green

    6. https://prnt.sc/-rp6sENqR-CF Finally checkout page responsive issue on small device.

    Thank you so much, access on the private chat

    kineart.it
    Participant
    #559387

    Thank you for your answer.

    However the html block is not empty, but I can’t see it in Elementor builder: that’s the problem!

    It appears that the content is indeed present within the HTML Block. However, there seems to be an unexpected glitch where the content is not displaying as intended. Upon revisiting the Gutenberg editor, you will find that the text I have consistently used beneath the “add to cart” button in the e-commerce platform is still present.

    It seems that the content of two blocks, including the HTML Block in question, has either disappeared or encountered a bug unexpectedly. Please verify the attached files.

    Could you please advise on how we can troubleshoot and resolve this issue promptly?

    Attachments:
    You must be logged in to view attached files.
    luka.soldo007
    Participant
    #553470

    Thanks for trying to help but i didn’t succced

    1. Pre-footer is empty..nothing there to be able to change white line that appears when i zoom on browser, here is image of pre-footer (its empty) there is nothing that i can edit..please check video from 1. again and here is image of pre-footer

    https://ibb.co/vY4DmF8

    2. I will try that

    3. When i go Layout, Elementor, Single product page [Buy now] button is not displayed so i can’t edit, everything looks normal on phone without buy now button but there is [Buy now] button on both Desktop and Phone mode its just not displaying it..how to fix to display it on elementor so i can edit it and fix the issue?
    Here is image of proof that [Buy now] is not shown when using elementor editor , showing only add to cart no buy now button..but on site its displayed on both phone and desktop mode..on desktop everything is okay on phone its breaking lines like you can see in first post of this topic
    https://ibb.co/vX0BcNh

    4. I found it but you said what size of image and what format i should use?
    like i mention for example [18×18 jpg, png, ico, ?] What size? and what format should it be?

    billychen0917
    Participant
    #530643

    When I trying to checking out the items in shopping cart, and click place order. It shows 404 and then the shopping cart is empty. How do I fix this issue?

    Please check the attachment for reference

    Attachments:
    You must be logged in to view attached files.
    ivorkirwan
    Participant
    #526868

    I figured out the woocommerce apearing under the menu part. Just needed to change the header on both the cart and checkout page.

    Just the last issue is still valid.

    “Also, 2nd issue. The formating on the empty cart page is not formated like the desktop.
    Please see screenshot.”

    ivorkirwan
    Participant
    #526826

    Also, 2nd issue. The formating on the empty cart page is not formated like the desktop.
    Please see screenshot.

    Attachments:
    You must be logged in to view attached files.
    agas
    Participant
    #526261

    Hi,
    My customers complain that they could not place orders on my site and when i check it than
    woocommerce Cart shows empty when products are placed in cart.

    Can you please help me to solve this issue.

    denissusac92
    Participant
    #524752

    Thank you , I solved all issues with your help.
    Now I have couple more issues that I couldnt find solutions.
    I uploaded pictures again, so…..

    Picture 1-3:
    1.1How to translate “Search for products” to my language…

    1.2 “Pocetna stranica/home page” – need to change hover color but I couldnt find how to change it…

    1.3 “My account and Wishlist” Links/buttons/whatever it is… How to translate it to my language….

    1.4 “Wishlist is empty” and “Return to shop” button – How to translate it to my language

    1.5 On bottom of mobile page (also bottom of picture) – How to translate “Wishlist” and “Cart” to my language

    Picture 4-5:
    2.1 “Sign in” , “Password”, “Log in”, “Remember me”, “Lost password”, “No account yet”, “Create an account”, “Shopping cart”… – How to translate it to my language

    2.2 On bottom of picture – “Go to cart” – problem with hover colour again…

    Picture 6-7:
    3.1 “In stock” – How to remove that so it doesnt appear in store if possible because every product is personalised custom made…

    3.2 “Buy Now” – I wasnt able to find how to translate it to my language, it seams to be some kind of button, I only manage to change colour (it was green originally)

    3.3 “Add to wishlist” – How to translate it to my language

    Picture 8-9:
    4.1 – Because its store that makes personalised products I need to insert something like comment/notes/order section for customer to write something… For example customer wants engrave his name here and there…..

    4.2 “Show 9/12/18/4” – How to translate “Show” to my language

    4.3 Again – “In stock” and “Buy now” need translation

    Best regards

    Attachments:
    You must be logged in to view attached files.
    spnutratea
    Participant
    #516957

    Hi Artem,

    It is caused by WoodMart theme Add To Cart button. Area-Label & Area-Labelledby have accessibility issues. Storefront theme does not have such issues. ARIA roles enable assistive technologies to know the role of each element on the web page. If the role values are misspelled, not existing ARIA role values, or abstract roles, then the purpose of the element will not be communicated to users of assistive technologies.

    Result of WoodMart theme:

    aria-label=”Product Name” to your basket aria-labelledby attribute prints empty. Google shows the warning.

    Product image zoom coding also shows an error: role=”presentation” I assume should be role=”image”. You may know better than all of us.

    <img role=”presentation” alt=”altname” src=”/wp-content/uploads/2019/05/main.webp” class=”zoomImg”

    Do you want me to open a ticket for such?

    Regards,
    SP

    gokulm
    Participant
    #513881

    This is the same issue I am facing
    https://xtemos.com/forums/topic/sidecart-is-empty-no-content/

    Your above answer doesn’t help so please can you please help fixing.

    hofitd
    Participant
    #510604

    Hi
    I have a weird issue on mobile that the side cart is not being displayed after adding to cart.
    The items are also not saved in cart, so if adding more products it will not remember the other products that were already added to cart and if only adding 1 product and then going to cart page is gives a message that the cart is empty.
    I noticed it on my iPhone – it happens in Safari (both normal and incognito mode).
    I also checked on Chrome and it seems to work fine, so I guess it’s a Safari issue.
    The site just launched today. Please check it, it’s urgent.

    I attach videos

    I actually just check more websites of Woodmart theme (total of 3 different websites) and it happens in all of them!

    Thanks

    • This topic was modified 1 year, 6 months ago by hofitd.
    Attachments:
    You must be logged in to view attached files.
    Bogdan Donovan
    Keymaster
    #510182

    Hi,

    To fix this issue, first try to add the following code snippet to the Child Theme functions.php file:

    add_action( 'woodmart_after_header', function () {
        if ( ! woodmart_woocommerce_installed() || ! is_cart() || ! XTS\Modules\Layouts\Main::get_instance()->has_custom_layout( 'cart' ) ) {
           return;
        }
    
        XTS\Modules\Layouts\Global_Data::get_instance()->set_data( 'builder', true );
    
        woodmart_page_title();
    
        remove_action( 'woodmart_after_header', 'woodmart_page_title', 10 );
    }, 1 );

    And second, add the following code snippet to the Custom CSS area in Theme Settings:

    .woocommerce-cart .main-page-wrapper > .page-title {
    	display: none;
    }
    
    .woocommerce-cart .main-page-wrapper:has(.wd-empty-page) > .page-title {
    	display: block;
    }

    Kind Regards

    nemesis1940
    Participant
    #508329

    Hello I have applied all latest updates and plugins and still have the empty cart issue.

    https://xtemos.com/forums/search/empty+cart+issue/

    #506860

    Hello,

    When I try to add a product to the cart, the cart is empty and I can’t get to the checkout, I am still on the home page.

    Have you found the solution?

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case. In addition, provide the steps to reproduce the issue.

    Best Regards

    parikh.dhruv
    Participant
    #504499

    dear team,

    My website is giving me alot of errors.
    1. i am unable to change password on the account, or even login.
    2. even after adding products to cart, the popup shows it is added but when i go to cart page it shows that the cart is empty.

    I am not being able to figure out the issue here. Kindly assist on a priority as i am getting calls from customers that they are unable to place orders.

    dieg6
    Participant
    #501114

    Hello XTemos Team,
    I am having the same issue with the blank cart. I have been trying to apply all the solutions posted here, with no success. Can anyone in the XTEMOS team address this directly if I provide the login details?

    #498167

    Hello, we are having a problem where when something is searched up on the search bar, the search page loads the product but it gives multiple error messages saying that “product xxxx is missing weight. aborting”. But all of our products do have a weight assigned to them. the same message appears sometimes in the cart section when you remove a product from the cart, or when you make the cart empty. Could we get some help with this? we are willing to pay a developer from xtemos/woodmart to help us resolve this issue.

    Attachments:
    You must be logged in to view attached files.
    profarveta
    Participant
    #497137

    Hello, I believe I’ve identified the issue and a potential workaround. My hosting provider is WP Engine and by default:

    “WP Engine make extensive use of caching, excluding pages where this is not desired, like the cart or checkout page. They do this for the default paths (/cart, /checkout).”

    https://stackoverflow.com/questions/31533606/woocommerce-cart-empty-for-non-logged-in-users#:~:text=This%20kind%20of%20problem%20is,all%20plugins%20except%20for%20WooCommerce.

    confirmed here:
    https://wpengine.com/support/best-practices-ecommerce-sites/

    It appears that the problem stemmed from my decision to change my page name and url from “cart” to “carrito.” This change likely disrupted WP Engine’s caching, leading to the mismatch. Fortunately, after restoring the page name and URL to “cart,” the issue seems to be resolved.

    I want to extend my apologies for any inconvenience this may have caused and express my gratitude for your assistance. Thank you for your support!

    Luke Nielsen
    Keymaster
    #493054

    Hello,

    Please add the below code to the functions.php file in your child theme and then recheck the issue.

    if ( ! function_exists( 'woodmart_wc_empty_cart_message' ) ) {
    	/**
    	 * Show notice if cart is empty.
    	 *
    	 * @since 1.0.0
    	 */
    	function woodmart_wc_empty_cart_message() {
    		woodmart_enqueue_inline_style( 'woo-page-empty-page' );
    
    		?>
    		<p class="cart-empty wd-empty-page wc-empty-cart-message">
    			<?php echo wp_kses_post( apply_filters( 'wc_empty_cart_message', __( 'Your cart is currently empty.', 'woocommerce' ) ) ); ?>
    		</p>
    		<?php
    	}
    
    	add_action( 'woocommerce_cart_is_empty', 'woodmart_wc_empty_cart_message', 10 );
    }

    In the next update, it will be fixed.

    Kind Regards

    Luke Nielsen
    Keymaster
    #492978

    Hello,

    Please add the below code to the functions.php file in your child theme and then recheck the issue.

    if ( ! function_exists( 'woodmart_wc_empty_cart_message' ) ) {
    	/**
    	 * Show notice if cart is empty.
    	 *
    	 * @since 1.0.0
    	 */
    	function woodmart_wc_empty_cart_message() {
    		woodmart_enqueue_inline_style( 'woo-page-empty-page' );
    
    		?>
    		<p class="cart-empty wd-empty-page wc-empty-cart-message">
    			<?php echo wp_kses_post( apply_filters( 'wc_empty_cart_message', __( 'Your cart is currently empty.', 'woocommerce' ) ) ); ?>
    		</p>
    		<?php
    	}
    
    	add_action( 'woocommerce_cart_is_empty', 'woodmart_wc_empty_cart_message', 10 );
    }

    Let me know the result.

    Kind Regards

    Jimson
    Participant
    #492458

    My isssue: The shopping cart widget does not display anything

    After adding a product to the cart and hovering over the go-to-cart icon, the shopping cart widget shows nothing and remains completely blank. The hidden sidebar, if enabled in the settings, is empty as well.

    Screenshot: https://i.imgur.com/3eVEloS.png

    I’ve seen many others report this issue as well, often followed by the response that it is an Elementor issue. However, my website only uses Woodmart (child theme), WP Bakery, and Woocommerce.

    I’ve ruled out every plugin; I disabled all plugins except Woocommerce and Redux Framework, and the issue persists.

    Screenshot: https://i.imgur.com/D8z7Lhb.png

    Activating the parent Woodmart theme also didn’t help, so child theme interference is excluded.

    I would appreciate your assistance in resolving this issue.

    Regards,

    *******
    FYI: Similar topics around the same issue:
    https://wordpress.org/support/topic/woocommerce-widget-shopping-cart-content-blank/
    https://xtemos.com/forums/topic/add-to-cart-shows-empty/
    https://wordpress.org/support/topic/woocommerce-widget-shopping-cart-content-blank/
    https://xtemos.com/forums/topic/shopping-cart-pop-up-widget-thing-not-working-2/
    https://xtemos.com/forums/topic/cart-widget-not-working-when-product-is-added-to-cart/
    https://xtemos.com/forums/topic/mini-cart-is-blank-after-page-refresh-change/
    https://xtemos.com/forums/topic/shopping-cart-pop-up-widget-thing-not-working/

    Attachments:
    You must be logged in to view attached files.
    Luke Nielsen
    Keymaster
    #491871

    Hello,

    Please add the below code into the functions.php file in your child theme to fix that. In general, this issue will be fixed in the next update.

    if ( ! function_exists( 'woodmart_wc_empty_cart_message' ) ) {
    	/**
    	 * Show notice if cart is empty.
    	 *
    	 * @since 1.0.0
    	 */
    	function woodmart_wc_empty_cart_message() {
    		woodmart_enqueue_inline_style( 'woo-page-empty-page' );
    
    		?>
    		<p class="cart-empty wd-empty-page wc-empty-cart-message">
    			<?php echo wp_kses_post( apply_filters( 'wc_empty_cart_message', __( 'Your cart is currently empty.', 'woocommerce' ) ) ); ?>
    		</p>
    		<?php
    	}
    
    	add_action( 'woocommerce_cart_is_empty', 'woodmart_wc_empty_cart_message', 10 );
    }

    Kind Regards

    makomedigital
    Participant
    #489921

    @tomyech
    i just had the issue with the empty cart

    Luke Nielsen
    Keymaster
    #489503

    Hello,

    Please add the below code into the functions.php file in your child theme for fixing that. In general, this issue will be fixed in the next update.

    if ( ! function_exists( 'woodmart_wc_empty_cart_message' ) ) {
    	/**
    	 * Show notice if cart is empty.
    	 *
    	 * @since 1.0.0
    	 */
    	function woodmart_wc_empty_cart_message() {
    		woodmart_enqueue_inline_style( 'woo-page-empty-page' );
    
    		?>
    		<p class="cart-empty wd-empty-page wc-empty-cart-message">
    			<?php echo wp_kses_post( apply_filters( 'wc_empty_cart_message', __( 'Your cart is currently empty.', 'woocommerce' ) ) ); ?>
    		</p>
    		<?php
    	}
    
    	add_action( 'woocommerce_cart_is_empty', 'woodmart_wc_empty_cart_message', 10 );
    }

    Kind Regards

    wildguitars
    Participant
    #489284

    Hi guys,
    I hope everyone is doing well.
    I recently updated the WordPress version and WooCommerce plugin on our staging website, to test for bugs before performing the updates on our live site.

    Please download this screen recording: https://we.tl/t-30MiLGoliY

    As you can see, after emptying the cart on the staging site (dev2) there is no content. On the live site the empty cart message appears properly. The only difference between the staging site and live site is the WordPress and WooCommerce versions.

    1. Disabling all plugins except for Classic Editor, WooCommerce and Woodmart Core does not resolve the issue.
    2. Switching to Woodmart parent theme does not resolve the issue.
    3. Switching to another theme (Twenty Twenty-Three) resolves the issue.

    I’d appreciate your assistance with this.

    Thanks,
    Tom

Viewing 30 results - 31 through 60 (of 191 total)