|
|
@@ -104,10 +104,13 @@ understand it.
|
|
104
|
104
|
Overriding individual products partials
|
|
105
|
105
|
---------------------------------------
|
|
106
|
106
|
|
|
107
|
|
-Apart from overriding ``catalogue/partials/product.html`` to change the looks
|
|
108
|
|
-for all products, you can also override it for individual products by placing
|
|
|
107
|
+Apart from overriding ``catalogue/partials/product.html`` to change the look
|
|
|
108
|
+for all products, you can also override it for individual product by placing
|
|
109
|
109
|
templates in ``catalogue/detail-for-upc-%s.html`` or
|
|
110
|
|
-``catalogue/detail-for-class-%s.html``, where ``%s`` is the product's UPC
|
|
|
110
|
+``catalogue/detail-for-class-%s.html`` to customize look on product detail
|
|
|
111
|
+page and ``catalogue/partials/product/upc-%s.html`` or
|
|
|
112
|
+``catalogue/partials/product/class-%s.html`` to tweak product rendering by
|
|
|
113
|
+``{% render_product %}`` template tag , where ``%s`` is the product's UPC
|
|
111
|
114
|
or class's slug, respectively.
|
|
112
|
115
|
|
|
113
|
116
|
Example: Changing the analytics package
|