{% load satchmo_feed satchmo_util satchmo_product %}id,name,category,price,link,image,weight,height,length
{% filter stripspaces %}{% for product in products %}{{ product.slug }},{{ product.name }},{{ product.get_category }},{{ product.unit_price|truncate_decimal }},{{ shop.base_url }}{{ product.get_absolute_url }},{% with product.main_image.get_image_url as imgurl %}{% if imgurl %}{{ shop.base_url }}{{ imgurl }}{% endif %},{% endwith %}{% if product|smart_attr:"weight" %}{{ product|smart_attr:"weight"}} {{product|smart_attr:"weight_units" }}{% endif %},{% if product|smart_attr:"height" %}{{ product|smart_attr:"height"}} {{product|smart_attr:"height_units" }}{% endif %},{% if product|smart_attr:"length" %}{{ product|smart_attr:"length"}}{{product|smart_attr:"length_units" }}{% endif %}
{% endfor %}{% endfilter %}
