Skip to main content

Can't add product to cart, stock not visible

Comments

10 comments

  • KC George

    Hi Jotte

    Your 'Add To Card' button does not work in Desktop as well. Looks like it is not setup correctly. If it is setup correctly, it should work as in this test page. https://homi.kctest.online/product/coffee-table/ 

    To remove the out of stock products from your product catalog, enable the option "Hide out of stock items from the catalog" option under 

    1. Woocommerce
    2. Settings
    3. Product tab
    4. Inventory

    Please see this screenshot https://jmp.sh/ePQzlp8

     

    0
  • Jotte Mallisse

    It is set up correctly I think?

     

    Using a product template for all products: https://www.loom.com/share/2adcb14114ea443c80c87e78d4662104 

    0
  • Jotte Mallisse

    Does the 'Hide out of stock items' exclude the whole item when one size (variable product; different sizes with different stocks) is out of stock? Or just that size when selecting size from drop-down menu?

    0
  • KC George

    Hi Jotte,

    When you add a product to the Cart by clicking on "Add To Card" button, the product should display in the Cart icon. That is not happening in your page. 

    If Woocommerce variable product, stock management and inventory is setup correctly, when one product is sold, it should reduce one number from your inventory. 

    0
  • Jotte Mallisse

    Hi George,

    Everything is set up correctly. Still not working. Planning to launch Friday. Hope we can fix this by then.

    https://jmp.sh/Ocwu9Xl 

     
    0
  • KC George

    Hi Jotte,

    I don't remember if you had give me access to your WordPress Dashboard earlier. If you need help with troubleshooting, please add me as a user to your WordPress Dashboard. My email: kc.george@brizy.io. Please enable the option "Send the new user an email about their account" as in this screenshot https://jmp.sh/tSRznJX

    Once you have sent me an invitation, please let me know here.

    0
  • Jotte Mallisse

    Done.

    Adding products to cart is working on PC (but very slow).
    Not working on mobile.

     

    Thanks!

    0
  • KC George

    Hi Jotte

    While logged in users could add products to the Cart, non logged in users could not (on both desktop and mobile). Your product pages showed 3 console errors. https://jmp.sh/KTjxCzW These errors were preventing users from adding products to the Cart.

    However if you deactivate the SiteGround Optimizer plugin, the three console errors disappear and users can add products to the Cart. There seems to be some conflict between the SiteGround Optimizer and the Add to Cart variations woocommerce code. You may want to discuss this with SiteGround. 

    Please check if you are able to add products to the Cart.

    I hope you are able to hide 'out of stock' items.      

    0
  • Jotte Mallisse

    Thank you for all your effort, Sir.

     

    Is there an optimizer plugin that doesn't conflict with Brizy? 

    I've tried Swift before but that was causing conflicts with TranslatePress..

    Thanks!

    0
  • KC George

    Hi Jotte,

    You can consider these

    1. Litespeed Cache: A very popular caching and optimization plugin with more than 3 Million active installations.
    2. WP Optimize: This is another popular caching/optimization plugin with more than 1 Million active installs  
    0

Please sign in to leave a comment.