Fix query count

This commit is contained in:
Raphael Michel
2026-09-13 16:43:22 +02:00
parent 10aec6d8dc
commit 96576b8235
4 changed files with 26 additions and 17 deletions
@@ -51,6 +51,7 @@ class CrossSellingService:
self.sales_channel = sales_channel
self.cartpositions = cartpositions
self.customer = customer
self._discount_cache = {}
def get_data(self):
if self.event.has_subevents:
@@ -177,6 +178,7 @@ class CrossSellingService:
)
if self.customer else None
),
_discount_cache=self._discount_cache,
)
new_items = list()
for item in items: