Created
May 24, 2016 17:20
-
-
Save etagwerker/b8812f2027986dabda0260fbf87c581f to your computer and use it in GitHub Desktop.
Listado de resultados con descuento en página (para tiendas de Ombu Shop)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- index.liquid --> | |
{% if products.size > 0 %} | |
{% if keywords != nil %} | |
<h3 class="search-results-title">Resultados para: <span class="search-results-keywords">{{ keywords }}</span></h3> | |
{% if keywords contains "Camisa" or keywords contains "Camisas" %} | |
<span class="atencion">¡SÓLO ESTA SEMANA! Todas las camisas tienen descuento de 20% con el código CAMISOLA</span> | |
{% endif %} | |
{% endif %} | |
<ul class="product-listing"> | |
{% for product in products %} | |
... | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment