fonc: place le prix à droite de la vue pour les Produits simples
This commit is contained in:
parent
f8c83a6331
commit
d725b47131
2 changed files with 6 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -5,6 +5,8 @@ web/app/mu-plugins/*/
|
||||||
web/app/themes/twentytwentyfour/
|
web/app/themes/twentytwentyfour/
|
||||||
web/app/upgrade
|
web/app/upgrade
|
||||||
web/app/cache/*
|
web/app/cache/*
|
||||||
|
web/app/languages/plugins/
|
||||||
|
web/app/object-cache.php
|
||||||
|
|
||||||
# WordPress
|
# WordPress
|
||||||
web/wp
|
web/wp
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
<section class="selecteur-produit">
|
<section class="selecteur-produit">
|
||||||
<h3 class="selecteur-produit__nom">{{ produit.nom }}</h3>
|
<h3 class="selecteur-produit__nom">{{ produit.nom }}</h3>
|
||||||
|
|
||||||
{% if variations_produit|length > 1 %}
|
<div class="selecteur-produit__selection-variation">
|
||||||
<div class="selecteur-produit__selection-variation">
|
{% if variations_produit|length > 1 %}
|
||||||
<label
|
<label
|
||||||
for="selecteur-variation"
|
for="selecteur-variation"
|
||||||
id="label-selecteur-variation"
|
id="label-selecteur-variation"
|
||||||
|
|
@ -39,8 +39,8 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% endif %}
|
||||||
{% endif %}
|
</div>
|
||||||
|
|
||||||
<p class="selecteur-produit__prix">{{ prix_maximal ?? produit.prix }}€</p>
|
<p class="selecteur-produit__prix">{{ prix_maximal ?? produit.prix }}€</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue