I'm working for the first time with Craft Commerce and trying to create product types. So far so good, now I have three product types: "Inspiration", "Gift" and "New". I need the URL of these three product types and don't know how to create it... actually the URL is shop/products
with all products.
I need shop/inspiration
with the inspiration products, shop/gift
with the gift products and shop/new with the new products.
With {{ productType.name }}
I can show all my product types, but how can I show the URL of product types?
{% for productType in craft.commerce.productTypes %}
{{ productType.name }}<br>
{% for product in craft.commerce.products.type(productType.handle).find() %}
{{ product.url }}<br>
{% endfor %}
{% endfor %}
Or do I need to create these product types as categories?
Hope you guys can help me!