[go: nahoru, domu]

Skip to content

Commit

Permalink
Check customer groups on checkout/register and guest
Browse files Browse the repository at this point in the history
  • Loading branch information
eka7a committed Aug 16, 2020
1 parent 80ed2ea commit d718128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="col-sm-6">
<fieldset id="account">
<legend>{{ text_your_details }}</legend>
<div class="form-group" style="display: {% if customer_groups|length > 1 %} block {% else %} none {% endif %};">
<div class="form-group required{{ customer_groups|length <= 1 ? ' d-none' }}">
<label class="col-form-label">{{ entry_customer_group }}</label>
{% for customer_group in customer_groups %}
{% if customer_group.customer_group_id == customer_group_id %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="col-sm-6">
<fieldset id="account">
<legend>{{ text_your_details }}</legend>
<div class="form-group" style="display: {% if customer_groups|length > 1 %} block {% else %} none {% endif %};">
<div class="form-group required{{ customer_groups|length <= 1 ? ' d-none' }}">
<label class="col-form-label">{{ entry_customer_group }}</label>
{% for customer_group in customer_groups %}
{% if customer_group.customer_group_id == customer_group_id %}
Expand Down

0 comments on commit d718128

Please sign in to comment.