Commit b1f8e402 authored by M3nt0r3's avatar M3nt0r3

ritocchi al product _list

parent 4feaa7e26d7e
......@@ -237,7 +237,7 @@
<!-- rating -->
{% if pageData["sy"]["shop_item"]["rating"]["attivo"]%}
{% include "main/base/include/_shop_rating.html" with context %}
{#% include "main/base/include/_shop_rating.html" with context %#}
{% endif %}
<!-- price -->
......@@ -333,15 +333,14 @@
</div>
{%else %}
{% if utils.setconf("General", "web") and utils.setconf("General", "web")["__web_disponibilita_giacenza"] =="on" and
not art.in_stock %}
{% if utils.setconf("General", "web") and utils.setconf("General", "web")["__web_disponibilita_giacenza"] =="on" and not art.in_stock %}
<div class="shop-item-buttons text-center">
<span class="out-of-stock text-warning">Non disponibile</span><!-- add .clean to remove css characteres -->
<span class="text-warning">Non disponibile</span><!-- add .clean to remove css characteres -->
</div>
{%else %}
<div class="shop-item-buttons text-center up_cart" id="{{art.id}}">
{% if pageData["sy"]["shop_item"]["add_button"]["quantita"]%}
{% if pageData["sy"]["shop_item"]["add_button"]["quantita"] %}
<div class="contieniBottoni2">
<div class="contieniBottoni3">
<input class="quantita2" value="1" type="text" />
......@@ -379,7 +378,8 @@
</div>
<a class="btn btn-default bottoneRapido"><i class="fa fa-cart-plus"></i> Acquista</a>
</div>
{% elif "bottone_per_genere" in pageData["sy"]["shop_item"] and pageData["sy"]["shop_item"]["bottone_per_genere"]["attivo"]%}
{% elif "bottone_per_genere" in pageData["sy"]["shop_item"]
and pageData["sy"]["shop_item"]["bottone_per_genere"]["attivo"]%}
{%for a in utils.articoliPadreStessoRoot(art.root)%}
{%if a.genere%}
<a class="btn btn-default" href="/products/detail/{{a.id}}/{{a.permalinkDenominazioneFam}}/{{a.permalinkDenominazione}}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment