Skip to content

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

update product details

AlicjaSzu825a6316a41e
diff --git a/templates/dashboard/product/form.html b/templates/dashboard/product/form.html
index c200c157d4..e1c326dd3c 100644
--- a/templates/dashboard/product/form.html
+++ b/templates/dashboard/product/form.html
@@ -69,8 +69,7 @@
{{ product_form.name|materializecss }}
</div>
<div class="row">
- <div>{{ product_form.description_json|materializecss }}</div>
- <div>{{ product_form.description|materializecss }}</div>
+ {{ product_form.description|materializecss }}
</div>
<span class="card-title">Availability</span>
<div class="row">
diff --git a/templates/product/details.html b/templates/product/details.html
index e9655d7661..d1afbddb80 100644
--- a/templates/product/details.html
+++ b/templates/product/details.html
@@ -193,8 +193,7 @@
<div class="product__info__description">
<h3>{% trans "Description" context "Product details title" %}</h3>
<hr>
- {{ product.translated.description|safe }}
- <div data-description-json='{{ description_json }}'>{{ product }}</div>
+ <div data-description-json='{{ description_json }}'></div>
</div>
<hr>
<table>