Esempio n. 1
0
 def getAmountOfShops(self):
     """
     """
     cart = self.getCart()
     
     shops = {}
     for item in IItemManagement(cart).getItems():
         shop = IShopManagement(item.getProduct()).getShop()
         shops[shop.UID()] = 1
         
     return len(shops.keys())