projects
/
Portfolio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduction d'un système de remise scriptable.
[Portfolio.git]
/
skins
/
my_cart_template.pt
diff --git
a/skins/my_cart_template.pt
b/skins/my_cart_template.pt
index
b05a499
..
bdafd8c
100644
(file)
--- a/
skins/my_cart_template.pt
+++ b/
skins/my_cart_template.pt
@@
-76,6
+76,11
@@
<td tal:content="python:'%s €' % options['pricesTotal'].taxed">prices total</td>
<td colspan="2"><br/></td>
</tr>
<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>
<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>