I actually found a post w/ conditional code that works well:
http://groups.google.com/group/satchmo-users/browse_thread/thread/5c603c789fcae16d/76f64f6bd4c65738?lnk=gst&q=related_items#76f64f6bd4c65738

the code is:

        {% if product.related_items.all %}
                <p>Products related to {{ product.name }}</p>
                {% for related_item in product.related_items.all %}
                        <p><a
href="{{ related_item.get_absolute_url }}">{{ related_item.name }} -
{{ related_item.main_category }}</a></p>
                {% endfor %}
        {% else %}
                        <p>{{ product.name }} has no related products</p>
        {% endif %}


Thanks though :]
--~--~---------~--~----~------------~-------~--~----~
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