My shop has one product. As such there isn't much point in me having a page displaying all products.
When I paste in my template code for my single product into Cart Commerce's main index template I get the error Variable "product" does not exist on the following code:
{% for purchasable in product.variants %}
<option {% if purchasable.stock <= 0 and purchasable.unlimitedStock == false %}disabled {% endif %} value="{{ purchasable.purchasableId }}">{{ purchasable.description }} {{ purchasable.price|currency(cart.currency) }}</option>
{% endfor %}
Why is this being thrown up and how do I remedy this?