Skip to content

Commit

Permalink
Document changed behavior for product class templates
Browse files Browse the repository at this point in the history
  • Loading branch information
maiksprenger committed Jun 26, 2013
1 parent a1a6c60 commit 14df852
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/howto/how_to_customise_templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Apart from overriding ``catalogue/partials/product.html`` to change the looks
for all products, you can also override it for individual products by placing
templates in ``catalogue/partials/product/upc-%s.html`` or
``catalogue/partials/product/class-%s.html``, where ``%s`` is the product's UPC
or product class in lower case, respectively.
or class's slug, respectively.

Example: Changing the analytics package
---------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions docs/source/releases/v0.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ Templates:
* The template ``customer/orders/order.html`` has been renamed to
``customer/orders/order_detail.html``.

* Alternative product class templates now use ``slug` field instead of
``name.lower()`` to determine their filename. If you have templates for
specific product classes, please update your filenames accordingly

Payment app:

* The `balance` method on the source object is not a property not a method.

0 comments on commit 14df852

Please sign in to comment.