kornwaikas Posted April 4, 2017 Share Posted April 4, 2017 After the update, when the users are going to delete any items from shopping cart, prestashop do nothing until refresh the page. https://www.percuforum.com Link to comment Share on other sites More sharing options...
kornwaikas Posted April 5, 2017 Author Share Posted April 5, 2017 This error only hapenned when i have 2 or more products in the shopping cart. If i have only 1 product it works OK Link to comment Share on other sites More sharing options...
kornwaikas Posted April 5, 2017 Author Share Posted April 5, 2017 Solved Go to themes/MY THEME/templates/checkout/_partials/cart-detailed-product-line.tpl quit (-) line add(+) line <!-- product left body: description --> <div class="product-line-grid-body col-md-4 col-xs-8"> <div class="product-line-info"> - <a class="label" href="{$product.url}">{$product.name}</a> + <a class="label" href="{$product.url}" data-id_customization="{$product.id_customization|intval}">{$product.name}</a> </div> <div class="product-line-info"> Link to comment Share on other sites More sharing options...
gafonso Posted October 23, 2017 Share Posted October 23, 2017 Thanks! This worked for me. Link to comment Share on other sites More sharing options...
MHD FAUZI Posted April 25, 2018 Share Posted April 25, 2018 He probado esta solución y en la version 1.7.2.1 no funciona. Me podeis ayudar ? A mi me ocurre lo mismo con la version 1.7.2.1 cuando eliminamos un producto del carrito, el carrito no se actualiza automáticamente, por lo tanto, el elemento eliminado permanece visible hasta que actualicemos la página manualmente. Con la plantilla predeterminada Classic, el producto se elimina en este momento. Muchas gracias por el apoyo. Prestashop versión 1.7.2.1 plantilla lava0161 Link to comment Share on other sites More sharing options...
MHD FAUZI Posted April 25, 2018 Share Posted April 25, 2018 We have a problem with the template. When we delete a product from the cart, the cart doesn´t refresh automatically, therefore the deleted item remain visible till we refresh the page manually.With the default template Classic the product is removed at the moment.Thank you very much for the support.Prestashop version 1.7.2.1lava0161 template Link to comment Share on other sites More sharing options...
Fabrihno Posted April 30, 2018 Share Posted April 30, 2018 On 25/4/2018 at 2:05 PM, MHD FAUZI said: We have a problem with the template. When we delete a product from the cart, the cart doesn´t refresh automatically, therefore the deleted item remain visible till we refresh the page manually.With the default template Classic the product is removed at the moment.Thank you very much for the support.Prestashop version 1.7.2.1lava0161 template I have the same problem. Have you found a solution? Link to comment Share on other sites More sharing options...
MHD FAUZI Posted May 2, 2018 Share Posted May 2, 2018 I solved this problem changing this files: 1) Copy this folder: themes/classic/assets/js 2) Paste in your theme/assets/ Delete cache Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now