Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Get rid of related products
Adam Bogdałb65dd9127c33
diff --git a/saleor/product/templates/product/details.html b/saleor/product/templates/product/details.htmlindex 5ab783046e..c81ffca831 100644--- a/saleor/product/templates/product/details.html+++ b/saleor/product/templates/product/details.html@@ -76,28 +76,6 @@{{ product.description|markdown }}</div>- {% if related_products %}- <hr>-- <h4>{% trans "Also in this collection" %}</h4>-- <div class="row product-related">- {% for related in related_products %}- {% if related.id != product.id %}- <a href="{{ related.get_absolute_url }}" class="col-xs-3">- {% if related.images.first %}- <img src="{{ related.images.first.image.crop.280x280 }}" alt=""- class="thumbnail img-responsive">- {% else %}- <img src="http://placehold.it/280x280/&text=Product Image" alt=""- class="thumbnail img-responsive">- {% endif %}- </a>- {% endif %}- {% endfor %}- </div>- {% endif %}-</div>{% with images=product.images.all %}