Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1611410
Update cart problem
Closed

Comments

  • Kristofer started the conversation

    Hello!

    Just updated Scalia to version 1.6 and have a problem with cart update.

    First of all the update cart button do not work correctly. When I change the qty on a product and press update, the page loads very slow and then it multiples the cart for some reason. If I change qty from 1 to 2 on a product I get two carts as in the attached picture. If I change from 2 to 5, I get 5 carts in a row.

    The same occurs if I have two different products in the cart. If I delete one, two carts comes up as in the picture.

    How do I fix this?

    /Kristofer

  • [deleted] replied

    Hi,

    Please share admin access. We will try to inspect problem on your site.

  •   Kristofer replied privately
  • [deleted] replied

    Please share ftp access. I need to make some test. I see that woocommerce.js file from scalia theme directory is not loading.

  •   Kristofer replied privately
  • [deleted] replied

    Fixed templates and scripts on your site and included fix to next theme update. Please check.

  • Kristofer replied

    Looks good now.

    Thanks!

    /Kristofer

  • Kristofer replied

    Hello again,

    Im still having problem with the update cart when on mobile.

    During checkout if I add a related product to the cart. I get two carts that stretches out of the screen. I need to reload the page to get it to look ok. See the attached pictures.

    /Kristofer

  • [deleted] replied

    Fixed cart.php template. Please check.

  • Kristofer replied

    I still get the same problem. Two carts when I add a related product on mobile. Need to reload the page for it to look correct.

  • [deleted] replied

    Please check now.


  • Kristofer replied

    I cant see any difference. Still the same problem. The cart does not reload correctly after I add a related product during checkout on mobile.

    Product count at the top of the cart does not show the correct number of products either. When I add a related product or change the qty of a product thats already in the cart.

  • [deleted] replied

    Hi, sorry, not quite sure what do you mean. Can you pls provide more details with screenshots?

  • Kristofer replied

    At checkout on mobile with a product in the cart, it looks like in the attached "before" picture. Everything is working fine.

    If I decide to scroll down and ad a related product (set in woocommerce) and click "add to cart". The page (cart) is not updating correctly as you can see in the "after" pictures. The text stretches out and it messes up the page. In addition to that, displayed product qty is not updating either correct either.

    I need to the reload the page for the cart to look like it should.

  • [deleted] replied

    Hi,

    Don't see related products block on cart page. How can I activate it?


  • Kristofer replied

    Add this product to the cart on mobile;
    https://www.knracing.se/produkt/arctic-cat-diamond-drive-rullar/

    Then go to the cart and add the "You might be interested in.." product - Arctic Cat Go-Rings. Then you can see that the cart does not look right.

  • [deleted] replied

    Please check now.

  • Kristofer replied

    The layout seem to work now after I add a related product as described.

    Only problem that I still see, is that the + and - sign for changing qty is still not visible. I need to reload the page.

  • [deleted] replied

    check now.