Type of discount rules are Price Discount Rules. There is no any other rule applied. Those are simple fixed discounts for specific categories which are applied then for specific business customers.
For example:
-10% shoes (John, Jasper, Lancelot …)
-15% trainers (Leonard, Lewis, Laurence, Lawrence ..)
-20% jackets (Michael, Nicholas, Oswald …)
It is working just fine, when there are a few customers applied to them.
But, the trouble is happening (most noticeable on the home page – slow page load)
when there are a lot customers “attached” to those rules. When we disable all price rules, loading home page is back to normal, even if we disable a few discounts there is improvement in page load. We also tried with a clean woocommerce install an result is the same, only disabling rules or deactivating plugin helps to page load normal.
Problem exists for logged and non logged users, there is no matter if customer or admin is logged, or is it a guest visit.
Ofc, When we cache pages there is no problem for non logged users, cos visited page is cached, but for any logged user problem stays
How are discounts processed in FE?
Will open a ticket for sure.
Thanks
-
This reply was modified 4 years, 3 months ago by rkoms.