Skip to content

Commit

Permalink
fix(email-plugin): Remove unwanted currency symbols in template (#2536)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun authored Nov 21, 2023
1 parent ccf17fb commit 639fa0f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/email-plugin/templates/order-confirmation/body.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</mj-column>
<mj-column>
<mj-text css-class="callout-large"><strong>Total Price</strong></mj-text>
<mj-text css-class="callout-small">${{ formatMoney order.total order.currencyCode 'en' }}</mj-text>
<mj-text css-class="callout-small">{{ formatMoney order.total order.currencyCode 'en' }}</mj-text>
</mj-column>
</mj-section>

Expand Down Expand Up @@ -101,30 +101,30 @@
</td>
<td>{{ quantity }} x {{ productVariant.name }}</td>
<td>{{ productVariant.quantity }}</td>
<td>${{ formatMoney discountedLinePriceWithTax ../order.currencyCode 'en' }}</td>
<td>{{ formatMoney discountedLinePriceWithTax ../order.currencyCode 'en' }}</td>
</tr>
{{/each}}
{{#each order.discounts }}
<tr class="order-row">
<td colspan="3">
{{ description }}
</td>
<td>${{ formatMoney amount ../order.currencyCode 'en' }}</td>
<td>{{ formatMoney amount ../order.currencyCode 'en' }}</td>
</tr>
{{/each}}
<tr class="order-row">
<td colspan="3">Sub-total:</td>
<td>${{ formatMoney order.subTotalWithTax order.currencyCode 'en' }}</td>
<td>{{ formatMoney order.subTotalWithTax order.currencyCode 'en' }}</td>
</tr>
{{#each shippingLines }}
<tr class="order-row">
<td colspan="3">Shipping ({{ shippingMethod.name }}):</td>
<td>${{ formatMoney priceWithTax ../order.currencyCode 'en' }}</td>
<td>{{ formatMoney priceWithTax ../order.currencyCode 'en' }}</td>
</tr>
{{/each}}
<tr class="order-row total-row">
<td colspan="3">Total:</td>
<td>${{ formatMoney order.totalWithTax order.currencyCode 'en' }}</td>
<td>{{ formatMoney order.totalWithTax order.currencyCode 'en' }}</td>
</tr>
</mj-table>
</mj-column>
Expand Down

0 comments on commit 639fa0f

Please sign in to comment.