Mily_Miles Posted August 4, 2021 Share Posted August 4, 2021 Hi everyone, I am currently redesigning a website on Prestashop 1.6.1.6, and I have encountered a bug that I just cannot solve no matter what I try. My problem is with the dropdown cart summary from the blockcart module. Screenshot is in French, but basically this is how it should look as long as I have a product in my cart On most pages it appears as such, but on my category pages where products are displayed on the product list, my dropdown cart suddenly shows "no product", even though the total price is still here. I have tried several things for troubleshooting, checked blockcart.tpl, blockcart.php, ajax-cart.js, product-list.tpl... I have tried replacing each and all of them with the backup files from the "old" website, when it used to work, but nothing has changed. I'm at a loss right now because this might be due to some of the things I've changed while redesigning the website, but I don't know where to look or what to look for in order to find out where the code might be clashing. I'm guessing this has to do with the fact that $products are being called somewhere else on the page, but I don't know how to solve that. I hope you'll be able to help so that I don't have to bring back an old backup of the whole website and try out every single edit from the start... Thanks in advance! Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 4, 2021 Share Posted August 4, 2021 Hello, @Mily_Miles Please check the top mini cart template file used no same variable like category page. The variable is overwrite by category page or not. Can you share your site url. we can check from front end. Is that any issue we found from front end. If not solved from front end , in that case code need to debug to find the error. Thank you 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