Home Forums Search Search Results for 'empty cart issue'

Viewing 30 results - 1 through 30 (of 182 total)
  • Author
    Search Results
  • 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

    dimauro.silva
    Participant
    #561830

    Hello:

    I would like to request help with the following issue, I am currently working with woodmart and I have a problem with a translation on a button which is bugged, I have it translated correctly with loco translate, when adding the product to the cart the translation is corrected, but when closing the browser or when closing it returns to English, my translation is from English to Spanish.

    I hope you can help me, best regards

    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.
    yasinilde
    Participant
    #529626

    Hello there,

    First of all: Love the theme, great work!

    I got an issue with the slide in/popup cart. I want it to look just like on your demo page. I did this already: Dashboard > Elementor > Settings > Integrations tab > WooCommerce section and chose Disable

    However this only worked patially. When the cart is empty it somehow still uses the Elementor mini cart template, but as soon as I add a product to the cart it uses the right template and it looks just like on your demo page, until I empty the cart and reload the page.

    Even deactivating Elementor Pro and clear chache did not work.

    Many thanks in advance for the support!

    Kind regards

    • This topic was modified 4 months ago by yasinilde.
    • This topic was modified 4 months ago by yasinilde.
    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

    christopher-1558
    Participant
    #515562

    Hello Team,

    we are using woodmart & recently installed WP Rocket and just figured out, that as soon as its active, the mini cart slide appears to be empty, when there is no item in cart. If an item is in cart its working as usual. If there is no cart it looks like the image attached.

    For the setup we followed your 2023 optimization guide 1:1.
    We emptied the cache multiple times and even unchecked every single box in every single wp rocket submenu, to make sure no option is selected. Even then the issue persists.

    Do you have a hint, what we could check, as there are no more options in WP Rocket we could disable?

    Thanks in advance

    Attachments:
    You must be logged in to view attached files.
    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.

    maurice.bandar
    Participant
    #511217

    Hello Team!

    I am writing to report an ongoing issue I have encountered with the sidecart. Specifically, I have noticed that the sidecart remains empty, despite adding items to it.

    To better understand the issue, I recommend the following steps:
    1-Navigate to any product on our website and proceed to add it to the cart.
    2-Once the product has been added to the cart, please observe how the sidebar appears,( it works fine).
    3-Return to the homepage and click on the cart icon to view its contents. Note how the sidebar consistently displays as empty, knowing that the cart is not empty.

    I kindly request your assistance in addressing and resolving this issue as soon as possible.

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    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 6 months, 1 week 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!

    profarveta
    Participant
    #496120

    Hello!

    Issue: When a user is not signed in, the solo cart page shows no products, redirecting to the store. Note that there is a product in the cart widget, that works as expected.
    https://ibb.co/z6yXwvv

    Expected: When a user is signed in, the cart page displays correctly(with products).
    https://ibb.co/BgpyJTW

    Please help resolve this issue. Thank you!

    • This topic was modified 8 months, 1 week ago by profarveta.
    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

    toulip
    Participant
    #491784

    Hello there,

    I just noticed that after I remove all products from the cart page, the message that states that the cart is empty along with the default button to return to shop is not showing anymore.

    I tried to disable all plugins, kept only Woodmart Core, WP Bakery, and Woocommerce, but the issue is still there.

    Could you please replicate that issue on your end and let us know?

    Thanks in advance,

    George.

    makomedigital
    Participant
    #489921

    @tomyech
    i just had the issue with the empty cart

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