Pressed0024 Posted February 20, 2014 Share Posted February 20, 2014 My store is slowly building up with lots of cart rules from vouchers we issue to customers. It's now ~500+ and growing. I remember going through the codes and there were queries for cart rules somewhere related to checkout i can't remember. Does Prestashop query all cart rules when customer hits the checkout page as well as clicking "continue" to payment provider (Paypal)? Prestashop: 1.5.6.1 Paypal: 3.6.1 Link to comment Share on other sites More sharing options...
J.Sahu Posted February 20, 2014 Share Posted February 20, 2014 I don't think it'll cost more time if you have activated the cache. But yes if you have a lot of cart rules. 500+ is large I think. I've activated only two. Link to comment Share on other sites More sharing options...
Pressed0024 Posted February 20, 2014 Author Share Posted February 20, 2014 Technically, will more cart rules slow checkout and payment page? Link to comment Share on other sites More sharing options...
vekia Posted February 20, 2014 Share Posted February 20, 2014 for test purposes i generated about 90 000 cart rules and tested it. it works well even with large number of cart rules it's a little bit slowest, but it's case of 0,1 - 0,3 seconds and only when im trying to add voucher code in cart. Link to comment Share on other sites More sharing options...
Pressed0024 Posted February 20, 2014 Author Share Posted February 20, 2014 for test purposes i generated about 90 000 cart rules and tested it. it works well even with large number of cart rules it's a little bit slowest, but it's case of 0,1 - 0,3 seconds and only when im trying to add voucher code in cart. Thank you! Just what i needed Link to comment Share on other sites More sharing options...
anawe Posted November 26, 2014 Share Posted November 26, 2014 for test purposes i generated about 90 000 cart rules and tested it. it works well even with large number of cart rules it's a little bit slowest, but it's case of 0,1 - 0,3 seconds and only when im trying to add voucher code in cart. v. 1.6.0.9 Right now I added only 15 000 rules. Prestashop reached memory limit (256M). Rule was product dependent (all but one category). Removing this condition, "solved" problem. Link to comment Share on other sites More sharing options...
vekia Posted November 27, 2014 Share Posted November 27, 2014 i encountering similar problems recently since prestashop changed something in core, cart rules can slow down shop it's not a great "improvement" :/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts