Exemplo n.º 1
0
    def getTopLevelCategories(self):
        """
        """
        mall = IMallManagement(self.context).getMall()

        cm = ICategoryManagement(mall)
        return cm.getTopLevelCategories()
Exemplo n.º 2
0
 def getStartupDirectoryForMallCategories(self):
     """
     """
     mall = IMallManagement(self).getMall()
     return "/".join(mall.getPhysicalPath()) + "/categories"
Exemplo n.º 3
0
 def getStartupDirectoryForMallCategories(self):
     """
     """
     mall = IMallManagement(self).getMall()
     return "/".join(mall.getPhysicalPath()) + "/categories"
Exemplo n.º 4
0
 def _getShop(self):
     """
     """
     return IMallManagement(self.context).getMall()
Exemplo n.º 5
0
 def getMallURL(self):
     """
     """
     return IMallManagement(self.context).getMall().absolute_url()
Exemplo n.º 6
0
 def getStartupDirectoryForProducts(self):
     """
     """
     mall = IMallManagement(self).getMall()
     return "/".join(mall.getPhysicalPath())