Exemplo n.º 1
0
 def specials_product_list(self, specials_category_id, offset=None, limit=None):
     """ KB: [2012-12-24]: You can pass "specials_category_id=qwerqewfzdsxfdsfg" in the URL anywhere and the specials will show up as that category. """
     if specials_category_id:
         return SmartCatalog.category_product_list(self.request.ctx.campaign, specials_category_id, offset, limit)
     else:
         return SmartCatalog.specials_product_list(self.request.ctx.campaign, offset, limit)