• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 30.05.21, 13:00
  • Opened by: Igor Kes
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #21589 - Cart issue - icon / responsiveness

Hi,
we have couple issues with cart.

1. When I add item to cart on mobile, there is no number of items shown on cart icon on top. And also when I click cart icon, and grey window shows, there is also no product there. I need to refresh page to see red sign with no of items in cart. Also when I click go to cart, the item is there. - screen cart2
2. When I try to delete item on mobile from cart i click X in modal window, item dissapears but there is still red sign on cart icon with number of items in cart. Additionaly even though I delete an item, close this cart window on mobile and then reopen this window it still shows item in cart but when I click go to cart the cart is empty.
3. On mobile there is an issue with displaying items in cart. As you see on attached screenshot, right side is cut off. - screen cart.png

Can we solve this?

Attachments:

cart.PNG (32.5 KiB)
cart2.png (92.8 KiB)

Comments

Fred 31 May 2021, 10:43

1&2. in progress
3. Try following CSS fix

@media (max-width: 543px) {
    .product-line-grid-left {
        padding-right:20px !important;
        width:100px
    }
    .product-line-grid-right {
        width:auto
    }
    .cart-grid-right {width:100%}
}
Igor Kes 01 Jun 2021, 11:55

Hi, do we have any update?

Fred 01 Jun 2021, 14:17

in progress, don’t worry

Fred 01 Jun 2021, 16:27

Could you please disable the cache, it’s hard to work on the issue
I need to edit files in the folder /public_html/balticbhp.pl/themes/alysumchild/modules/pkheaderitems/views/templates/front

Igor Kes 02 Jun 2021, 07:25

Hi, we disabled cache for now. But we need this to be done as soon as possible - without cache our shop and server will explode verry soon.

Fred 02 Jun 2021, 10:52

ok, working on that…

Fred 02 Jun 2021, 11:32

Please test it out now, it should be fixed

Igor Kes 02 Jun 2021, 13:45

Hi, still red circle with number of items only appears when i refresh the page (so i need to add an item and refresh the page to see red cirlce with digit). Same issue when I delete item from cart. I delte item but layout still shows red circle with number of products in cart. Also when I add second item to cart it properly pdates a number of products in cart to digit 2. But when I delete one of two, number of items stays on red cirlce and stays the same till i refresh the page.

Fred 02 Jun 2021, 13:54

Try to clear Prestashop cache

Igor Kes 02 Jun 2021, 14:51

I cleared. Problem with icon still appear

Igor Kes 02 Jun 2021, 15:38

Please see screens attached 1. product is added to cart but no circle 2. cart view.

Attachments:

cart222.PNG (96.7 KiB)
cart3333.PNG (41.8 KiB)
Fred 02 Jun 2021, 17:10

I just added a product to cart and the quantity was updated immediately - https://take.ms/cDQdm

Igor Kes 07 Jun 2021, 13:37

Hi, unfortunately we still have the same issue continously. The red circle does not appear on cart icon.

Igor Kes 11 Jun 2021, 15:39

Hi, please see attached screen record https://drive.google.com/file/d/1Ua-mtvmSG5VeOVHHdvE9Ab1AoouUAoeV/view?usp=sharing you will see that red circle does not work.

Fred 12 Jun 2021, 12:45

The issue is fixed and now it works correctly https://take.ms/beFXx