mostly filebased Content Presentation System
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

20 rindas
768B

  1. <table>
  2. <repeat group="{{ @cart }}" key="{{ @key }}" value="{{ @v }}">
  3. <tr>
  4. <check if="{{ isset(@page) }}">
  5. <td><a href="/api/cart/less?name={{ urlencode(@v.name) }}&caller={{ @page}}">-</a>
  6. {{ @v.amount }}
  7. <a href="/api/cart/more?name={{ urlencode(@v.name) }}&caller={{ @page}}">+</a>
  8. </td>
  9. </check>
  10. <td> {{ @v.name }}</td>
  11. <td>{{ @v.price }} €</td>
  12. <td>{{ @v.amount * @v.price}} €</td>
  13. </tr>
  14. </repeat>
  15. <tr class="shipping"><td></td><td>shipping</td><td></td><td>{{ count(@cart) ? ( (@customVars.shipping_costs + (@cart.0.amount -1) * 10)): 0 }} €</td></tr>
  16. <tr class="summary"><td></td><td></td><td>total</td><td>{{ @cart_meta.cart_total + (count(@cart) ? ( (@customVars.shipping_costs + (@cart.0.amount -1) * 10)): 0) }} €</td></tr>
  17. </table>