<h1>Book Product detail:</h1>
{{object.name}}<br />
{{object.slug}}<br />
{{object.short_description}}<br />
{{object.long_description}}<br />
{{object.active}}<br />

{{object.date_added}}<br />
{{object.last_modified}}<br />

{{object.unit_price}}<br />

{% if object.category %}
{{object.category.name}}
{% else %}
(Product is at root category)
{% endif %}
<br />

<h2>Book specifics:</h2><br />
ISBN: {{object.isbn}}<br />
Pages: {{object.number_of_pages}}<br />


<form method="post" action="{% url cart %}">{% csrf_token %}
<input type="hidden" name="add_item_id" value="{{object.pk}}">
<input type="hidden" name="add_item_quantity" value="1">
<input type="submit" value="Add to cart">
</form>