Skip to content

Commit

Permalink
Improve product card display on counter click
Browse files Browse the repository at this point in the history
  • Loading branch information
klmp200 committed Dec 27, 2024
1 parent 43768f1 commit 43f47e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions counter/templates/counter/counter_click.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@
<div class="row gap-2x">
{% for product in categories[category] -%}
<button class="card shadow" @click="addToBasketWithMessage('{{ product.id }}', 1)">
<strong class="card-title">{{ product.name }}</strong>
<img
class="card-image"
alt="image de {{ product.name }}"
Expand All @@ -213,7 +212,10 @@
src="{{ static('core/img/na.gif') }}"
{% endif %}
/>
<span class="card-content">{{ product.price }} €<br>{{ product.code }}</span>
<span class="card-content">
<strong class="card-title">{{ product.name }}</strong>
<p>{{ product.price }} €<br>{{ product.code }}</p>
</span>
</button>
{%- endfor %}
</div>
Expand Down

0 comments on commit 43f47e2

Please sign in to comment.