Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change form action

Mira Szewczyk0d7d02e1312c
diff --git a/templates/product/details.html b/templates/product/details.html
index f83161b273..2b7b9772d9 100644
--- a/templates/product/details.html
+++ b/templates/product/details.html
@@ -63,7 +63,7 @@
{% if is_visible and product.is_in_stock %}
{% block orderform %}
<form role="form" class="product-form form-vertical" method="post"
- action="{% url 'cart:add-to-cart' product_id=product.pk %}?next={{ product.get_absolute_url }}" novalidate>
+ action="" novalidate>
{% csrf_token %}
{% bootstrap_form form %}