Skip to content

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

Fix product item markup

Marcin Gębala57535009d516
diff --git a/saleor/static/js/components/ProductItem.js b/saleor/static/js/components/ProductItem.js
index 0279afd1ed..74bedfe4d9 100644
--- a/saleor/static/js/components/ProductItem.js
+++ b/saleor/static/js/components/ProductItem.js
@@ -11,9 +11,9 @@ class ProductItem extends Component {
render() {
const { product } = this.props;
return (
- <div className="col-xs-12 col-sm-6 col-md-4 col-lg-3" itemScope itemType="https://schema.org/Product">
- <div className="panel panel-default text-center">
- <div className="panel-body">
+ <div className="col-xs-6 col-md-4 product-list" itemScope itemType="https://schema.org/Product">
+ <div className="text-center">
+ <div>
<a itemProp="url" href={product.url}>
<img itemProp="image" className="img-responsive" src={product.imageUrl} alt="" />
<span className="product-list-item-name" itemProp="name" title={product.name}>{product.name}</span>
diff --git a/templates/category/index.html b/templates/category/index.html
index 035f087a06..8979262667 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -25,7 +25,5 @@
{% endblock breadcrumb %}
{% block content %}
-
<div id="category-page" data-category='{"id":{{category.id}}}'></div>
-
{% endblock content %}