예제 #1
0
 def get_template(self, resource, context):
     product_model = resource.get_product_model()
     if product_model is not None:
         return get_skin_template(context,
                     '/product/product_view_%s.xml' % product_model.name,
                     '/product/product_view.xml')
     return get_skin_template(context, '/product/product_view.xml')
예제 #2
0
 def get_template(self, resource, context):
     return get_skin_template(context,
                              '/sidebar/search_box/filter_by_price.xml')
예제 #3
0
 def get_template(self, resource, context):
     return get_skin_template(context, '/sidebar/search_box/view.xml')
예제 #4
0
 def get_template(self, resource, context):
     return get_skin_template(context, "/sidebar/filter_box/view.xml")
예제 #5
0
 def get_template(self, resource, context):
     return get_skin_template(context, '/modules/categories_sort.xml')
예제 #6
0
파일: mini_cart.py 프로젝트: hforge/shop
 def get_template(self, resource, context):
     return get_skin_template(context, '/modules/mini_cart.xml')
예제 #7
0
 def get_template(self, resource, context):
     return get_skin_template(context, '/modules/mini_cart.xml')
예제 #8
0
파일: search_box.py 프로젝트: hforge/shop
 def get_template(self, resource, context):
     return get_skin_template(context, '/sidebar/search_box/filter_by_price.xml')
예제 #9
0
파일: search_box.py 프로젝트: hforge/shop
 def get_template(self, resource, context):
     return get_skin_template(context, '/sidebar/search_box/view.xml')
예제 #10
0
 def get_template(self, resource, context):
     return get_skin_template(context, '/product/print.xml')
예제 #11
0
 def get_template(self, resource, context):
     return get_skin_template(context, self.skin_template)
예제 #12
0
 def get_template(self, resource, context):
     return get_skin_template(context, '/modules/categories_sort.xml')