Skip to content

Commit

Permalink
show free text in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
leotiger committed Jul 27, 2018
1 parent 77d5756 commit c5291bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ You can customize the look and feel in several ways:
* by adding your own css definitions in your theme, etc.
* by copying the templates to your theme and maintain modified versions there

If you copy templates to your theme in most cases it's sufficient to copy only the base templates without including templates in the partials folder. If you modify templates you do it at your own risk as you may break things.
If you modify templates you do it at your own risk as you may break things.

## Language support

Expand Down
5 changes: 5 additions & 0 deletions admin/templates/shoppingcart_orders.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@
{% else %}
{{ currency_symbol }} {{ variant.varprice * product.quantity * variant.varmultiplier }}
{% endif %}
{% if variant.varfreetext is defined and variant.varfreetext %}
<br><strong>{{ "PLUGIN_SHOPPINGCART.PERSONALIZE_PRODUCT_VARIATION_FREETEXT"|t|e }}</strong>:
{{ variant.varfreetext }}
{% endif %}

{% endfor %}
{% endif %}
<br>
Expand Down

0 comments on commit c5291bb

Please sign in to comment.