Anns Abz Posted July 18, 2022 Share Posted July 18, 2022 iam using 1.7.8.5 version. basically my site is for B2B purpose. so there is a possibility to add more than 50 products in a single cart. but if i do like this. the site becomes very slow. i think the getOrdertotal function causing the issue. any update for this? how can i solve this issue Link to comment Share on other sites More sharing options...
Ali Samie Posted July 19, 2022 Share Posted July 19, 2022 Hmm, this is interesting topic. What do you mean that the site gets slow? I mean how it happens? Is it getting slow for the current customer only or it gets slow for all visitors and customers? After the page and cart loads successfully it happens again? I would like to help. Link to comment Share on other sites More sharing options...
Anns Abz Posted July 19, 2022 Author Share Posted July 19, 2022 @stifler97 yes, its happend for that particular cart. shop is fast, the issue only happend when we cart more than 50 products. when i commented the getordertotal function in the cart class, there is slight difference. so is there any optimization we can do on that side? Link to comment Share on other sites More sharing options...
Ali Samie Posted July 19, 2022 Share Posted July 19, 2022 I see that there is a parameter $use_cache in function getOrderTotal. But it is tagged as deprecated. I think the core developers have added a new way to do this cache. Link to comment Share on other sites More sharing options...
Ali Samie Posted July 19, 2022 Share Posted July 19, 2022 Others say just change your hosting as this is a major issue in prestashop Link to comment Share on other sites More sharing options...
Anns Abz Posted July 19, 2022 Author Share Posted July 19, 2022 @stifler97ok, thanks for the update. can you give me a solution to this also 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