Home Forums WoodMart support forum Product quantitys not changing.

Product quantitys not changing.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #676675

    lacasettalv
    Participant

    Hello,

    So we are using the woodmart theme and also B2BKing plugin for some features. We encountered an issue where if products are set in stock, with stock managment in woocommerce, and also they are allowed on backorder, in our site you cant add more then the stock amount to the cart. Its just not allowing it. Had a friend try to change some code, to input – Remove max limit for backorders with custom css, but did not work. Tryed by deactivating the B2BKing plugin as well, and the issue still percisted. Customers cant make an order for the existing stock and backorder for the same product in one order.

    P.S. – not a programmer myself, so please in simple terms

    Website – https://italianaselection.lv/

    #676784

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand if it is our theme issue or not?

    Best Regards,

    #676891

    lacasettalv
    Participant

    So we tryed multiple things already, but with the help of chatgpt we found the issue – its inside the cart block, that comes with the theme. Specificaly I noticed this part while inspecting:

    #post-14 > div.wp-block-woocommerce-cart.alignwide > div:nth-child(4) > div > div > div.wc-block-components-main.wc-block-cart_main.wp-block-woocommerce-cart-items-block > table > tbody > tr > td.wc-block-cart-itemproduct > div > div.wc-block-cart-itemquantity > div > button.wc-block-components-quantity-selectorbutton.wc-block-components-quantity-selector_button–plus

    <button aria-label=”Increase quantity of Olīveļļa E.V.O. ar ķiploku garšu 250ml” disabled =”” class=”wc-block-components-quantity-selector_button wc-block-components-quantity-selector_button–plus”>+</button>

    That the button to increse the quantity is disabled. I tryed putting in the standart woocommerce cart and it works fine.

    Is there a solution, so we can use the block that came with the theme?

    #676896

    lacasettalv
    Participant

    Also again this is happening to the checkout page as well. Even though I solved the cart page by changing to the classic woocommerce cart, then in the checkout it reverts back to the stock amount. And also changing it to woocommerce classic checkout it works.

    #676971

    Hello,

    If you’d like to continue using the Gutenberg blocks for the checkout, please navigate to Theme Settings > Performance, and enable the option “Default Gutenberg blocks styles.”

    This ensures the necessary styles are properly loaded.
    However, if you’re not using the default Gutenberg blocks, you can keep this option disabled.

    If you have any questions feel free to contact us.

    Best Regards

Viewing 5 posts - 1 through 5 (of 5 total)