Introduction d'un système de remise scriptable.
[Portfolio.git] / skins / my_cart_template.pt
index b05a499..bdafd8c 100644 (file)
                 <td tal:content="python:'%s €' % options['pricesTotal'].taxed">prices total</td>
                 <td colspan="2"><br/></td>
               </tr>
+              <tr tal:define="discount options/discount" tal:condition="discount">
+                <th colspan="3" style="text-align:right;padding-right:1em" i18n:translate="">Discount</th>
+                <td><span tal:replace="discount"/>%</td>
+                <td colspan="2"><br/></td>
+              </tr>
               <tr>
                 <th colspan="3" style="text-align:right;padding-right:1em" i18n:translate="">Shipping</th>
                 <td tal:content="python:'%s €' % options['shippingFees'].taxed">2</td>