Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove hardcoded euro symbol and use configuration sylius.currency #113

Merged
merged 1 commit into from

2 participants

Myke Hines Paweł Jędrzejewski
Myke Hines

No description provided.

Paweł Jędrzejewski

Thanks!

Paweł Jędrzejewski pjedrzejewski merged commit 5cea60a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 sandbox/Resources/SyliusCartBundle/views/Cart/summary.html.twig
8 sandbox/Resources/SyliusCartBundle/views/Cart/summary.html.twig
View
@@ -9,7 +9,7 @@
{% if not cart.empty %}
<div class="alert alert-info">
-<strong>{{ sylius_cart_get().totalItems }}</strong> items, <strong>{{ sylius_cart_get().total }}</strong> &euro;
+<strong>{{ sylius_cart_get().totalItems }}</strong> items, <strong>{{ sylius_cart_get().total }}</strong> {{ currency|raw }}
</div>
{{ form_errors(form) }}
@@ -51,17 +51,17 @@
<a href="{{ path('sylius_cart_item_remove', {'id': item.id}) }}" class="btn btn-danger"><i class="icon-trash icon-white"></i></a>
</td>
<td>
- {{ item.unitPrice }} &euro;
+ {{ item.unitPrice }} {{ currency|raw }}
</td>
<td style="text-align: right">
- {{ item.total }} &euro;
+ {{ item.total }} {{ currency|raw }}
</td>
</tr>
{% endfor %}
<tr>
<td colspan="6"></td>
<td style="text-align: right;">
- <strong>Grand total</strong>: {{ cart.total }} &euro;
+ <strong>Grand total</strong>: {{ cart.total }} {{ currency|raw }}
</td>
</tr>
</tbody>
Something went wrong with that request. Please try again.