Thanks, Chris! That's a very good idea. And that's what I did. I wrote a filter that takes a product object and returns a Boolean based on the value of the custom attribute. Thus I can write

    {% if product|isComingSoon %} ...

Works beautifully!

        - Allan


On Mon, 31 Jan 2011, Chris Moffitt wrote:

The other option would be to create a custom attribute called, "Coming Soon"
and then check for it in your template to display coming soon instead of the
submit button.


http://www.satchmoproject.com/docs/dev/product-attributes.html


-Chris

--
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