two templatetags that may be useful to others

Issue #1043 resolved
Tay Ray Chuan
created an issue

I've published this as [[http://bitbucket.org/rctay/satchmo/changeset/a20031e8d7ad/ | r 1395 a20031e8d7ad]].

Along with some cleanups, these changesets add two templatetags:

  • {{{{%categories_for_slugs%}}}}, which lets users get a list of categories by slug
  • {{{{%all_products_for_category%}}}}, which lets users get all active products, including child categories (equivalent to {{{category.active_products(include_children=True)}}})

Comments (1)

  1. Log in to comment