Fix: Bouton prendre/acheter selon prix
This commit is contained in:
parent
401cc86811
commit
b50cef2a18
@ -17,7 +17,7 @@
|
|||||||
{{#if (gt tailleLot 1)}}
|
{{#if (gt tailleLot 1)}}
|
||||||
<span>Lots de: <span class="tailleLot">{{tailleLot}}</span></span><br>
|
<span>Lots de: <span class="tailleLot">{{tailleLot}}</span></span><br>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if prixLot}}
|
{{#if (ne prixLot 0)}}
|
||||||
<span><strong>Prix {{#if (gt tailleLot 1)}}du lot {{else}}unitaire{{/if}}:
|
<span><strong>Prix {{#if (gt tailleLot 1)}}du lot {{else}}unitaire{{/if}}:
|
||||||
<span class="prixLot">{{prixLot}}</span> Sols</strong></span><br>
|
<span class="prixLot">{{prixLot}}</span> Sols</strong></span><br>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -31,6 +31,6 @@
|
|||||||
data-quantiteNbLots="{{quantiteNbLots}}"
|
data-quantiteNbLots="{{quantiteNbLots}}"
|
||||||
data-quantiteIllimite="{{#if quantiteIllimite}}true{{else}}false{{/if}}"
|
data-quantiteIllimite="{{#if quantiteIllimite}}true{{else}}false{{/if}}"
|
||||||
data-prixLot="{{prixLot}}">
|
data-prixLot="{{prixLot}}">
|
||||||
{{#if prixLot}}Acheter{{else}}Prendre{{/if}}</a>
|
{{#if (eq prixLot 0)}}Prendre{{else}}Acheter{{/if}}</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user