Hi,
I recently started using related items and I couldn't find anything
set up in Satchmo that would display them. For anyone else interested
in this, here is what I did.
Simply add this to the base_product.html template before the footer
block
{% 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 %}
Obviously, everyone will want to use related items in a different way.
Is anyone a big user of related items? What do you do? For people who
aren't using them yet, this is a (very) basic way to include them in
your store.
-Steve