Home / Prestashop Module Tutorials / Leo Feature Module / Leofeature: Float cart is not update quanlity after delete product in product page

Leofeature: Float cart is not update quanlity after delete product in product page

Hi

when you got error :

add product cart in product detail page then delete or update quanlity

you see number in cart icon is not change

please follow my guide to fix:

open file: /themes/_THEME/modules/ps_shoppingcart/ps_shoppingcart.tpl

find code:
<div class="blockcart cart-preview {if $cart.products_count > 0}active{else}inactive{/if}" data-refresh-url="{$refresh_url}">

replace it to

<div class="blockcart cart-preview leo-blockcart show-leo-loading {if $cart.products_count > 0}active{else}inactive{/if}" data-refresh-url="{$refresh_url}">

About Leo Theme