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

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