diff --git a/resources/views/Category/Item/CategoryItem.twig b/resources/views/Category/Item/CategoryItem.twig
index 115be8a784..72952a9ba8 100755
--- a/resources/views/Category/Item/CategoryItem.twig
+++ b/resources/views/Category/Item/CategoryItem.twig
@@ -110,6 +110,8 @@
{% endif %}
+ {% set listItems = [] %}
+ {% set position = 1 %}
{% if itemList is not empty %}
{% for item in itemList %}
@@ -125,10 +127,38 @@
+ {% set itemurl = item.data | itemURL %}
+ {% set itemImage = item.data.images.variation[0].urlMiddle %}
+ {% if itemImage is null or (itemImage | trim is empty) %}
+ {% set itemImage = item.data.images.all[0].urlMiddle %}
+ {% endif %}
+ {% set listItem =
+ [
+ {
+ "@type": "ListItem",
+ "position": position,
+ "name": item.data | itemName,
+ "url": webstoreConfig.domainSsl ~ itemurl,
+ "image": itemImage
+ }
+ ]
+ %}
+ {% set listItems = listItems | merge(listItem) %}
+ {% set position = position + 1 %}
{% endfor %}
{% endif %}
+ {% if category is defined %}
+
+ {
+ "@context":"http://schema.org/",
+ "@type":"ItemList",
+ "name": "{{ category.details[0].name }}",
+ "itemListElement": {{ listItems | json_encode | raw }}
+ }}
+
+ {% endif %}
{% if category is not defined and itemList is empty %}
{{ trans("Ceres::Template.itemSearchNoResults", {"searchString": searchString}) }}
{% endif %}