Hi,
I run into the same issue awhile back. It's on my list to make it more
clean and use a templatetag
instead of this Hack.
But here is a quick hack to show the full price strike through and the
sale price
"""
<p>
<span class="product-titles">Price:</span>
{% if product.get_qty_price_list.1.1 %}
   <span style="text-decoration: line-
through;">{{ product.get_qty_price_list.0.1|currency }}</span>
   &nbsp
   <span style="color:red;">{{ product|discount_price:sale|currency }}
</span>
{% else %}
   {{ product|discount_price:sale|currency }}
{% endif %}
</p>
"""

Hope it helps

lzantal


On Jul 28, 2:41 pm, Brian Lee <[email protected]> wrote:
> How can I place a product on Sale so that the below code's if case is
> triggered (from default product template)?
>
> I thought it would be to have two prices with one having expiration
> date. But that is not the case.
>
>         {% if sale %}<strike id="fullprice" style="display:
> block;">{{ product|discount_price:""|currency }}</strike>{% endif %}
>         <span id="price">{{ product|discount_price:sale|currency }}</span>
>
> Where do I need to look to see how {% if sale % is triggered?

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to