{# Organisation #}
{% if env.site == env.mix and app.request.locale == 'pl' %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://mixform.pl/#org",
"name": "Mixform",
"legalName": "Mixform",
"url": "https://mixform.pl/",
"logo": {
"@type": "ImageObject",
"@id": "https://mixform.pl/#logo",
"contentUrl": "https://mixform.pl/pic/images/mixform-logo.png",
"url": "https://mixform.pl/",
"width": 1024,
"height": 1024,
"caption": "Logo Mixform",
"encodingFormat": "image/png"
},
"sameAs": [
"https://www.instagram.com/mixform.pl/",
"https://www.facebook.com/pl.mixform"
],
"email": "office@mixform.pl",
"telephone": "+48668522718",
"address": {
"@type": "PostalAddress",
"streetAddress": "ul. Czajcza 2",
"addressLocality": "Wrocław",
"postalCode": "51-422",
"addressRegion": "Dolnośląskie",
"addressCountry": "PL"
},
"areaServed": "PL",
"contactPoint": [
{
"@type": "ContactPoint",
"contactType": "customer support",
"email": "office@mixform.pl",
"telephone": "+48668522718",
"availableLanguage": ["pl","uk"],
"areaServed": "PL",
"hoursAvailable": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"https://schema.org/Monday",
"https://schema.org/Tuesday",
"https://schema.org/Wednesday",
"https://schema.org/Thursday",
"https://schema.org/Friday"
],
"opens": "09:00",
"closes": "16:00"
}]
},
{
"@type": "ContactPoint",
"contactType": "sales",
"email": "office@mixform.pl",
"telephone": "+48668522718",
"availableLanguage": ["pl","uk"],
"areaServed": "PL",
"hoursAvailable": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"https://schema.org/Monday",
"https://schema.org/Tuesday",
"https://schema.org/Wednesday",
"https://schema.org/Thursday",
"https://schema.org/Friday"
],
"opens": "09:00",
"closes": "16:00"
}]
}
],
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"name": "Polityka zwrotów Mixform",
"url": "https://mixform.pl/info",
"applicableCountry": "PL",
"returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
"merchantReturnDays": 14,
"returnMethod": "https://schema.org/ReturnByMail",
"returnFees": "https://schema.org/FreeReturn",
"refundType": "https://schema.org/FullRefund"
}
},
{
"@type": "WebSite",
"@id": "https://mixform.pl/#website",
"url": "https://mixform.pl/",
"name": "Mixform",
"publisher": { "@id": "https://mixform.pl/#org" },
"inLanguage": ["pl","uk"],
"potentialAction": [
{
"@type": "SearchAction",
"target": "https://mixform.pl/catalog/search?q={search_term_string}",
"query-input": "required name=search_term_string"
},
{
"@type": "SearchAction",
"target": "https://mixform.pl/uk/catalog/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
]
}
]
}
</script>
{% endif %}
{% if env.site == env.mix and app.request.locale == 'uk' %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://mixform.pl/#org",
"name": "Mixform",
"legalName": "Mixform",
"url": "https://mixform.pl/",
"logo": {
"@type": "ImageObject",
"@id": "https://mixform.pl/#logo",
"contentUrl": "https://mixform.pl/pic/images/mixform-logo.png",
"url": "https://mixform.pl/",
"width": 1024,
"height": 1024,
"caption": "Логотип Mixform",
"encodingFormat": "image/png"
},
"sameAs": [
"https://www.instagram.com/mixform.pl/",
"https://www.facebook.com/pl.mixform"
],
"email": "office@mixform.pl",
"telephone": "+48668522718",
"address": {
"@type": "PostalAddress",
"streetAddress": "вул. Чайча 2",
"addressLocality": "Вроцлав",
"postalCode": "51-422",
"addressRegion": "Нижньосілезьке воєводство",
"addressCountry": "PL"
},
"areaServed": "PL",
"contactPoint": [
{
"@type": "ContactPoint",
"contactType": "customer support",
"email": "office@mixform.pl",
"telephone": "+48668522718",
"availableLanguage": ["pl","uk"],
"areaServed": "PL",
"hoursAvailable": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"https://schema.org/Monday",
"https://schema.org/Tuesday",
"https://schema.org/Wednesday",
"https://schema.org/Thursday",
"https://schema.org/Friday"
],
"opens": "09:00",
"closes": "16:00"
}]
},
{
"@type": "ContactPoint",
"contactType": "sales",
"email": "office@mixform.pl",
"telephone": "+48668522718",
"availableLanguage": ["pl","uk"],
"areaServed": "PL",
"hoursAvailable": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"https://schema.org/Monday",
"https://schema.org/Tuesday",
"https://schema.org/Wednesday",
"https://schema.org/Thursday",
"https://schema.org/Friday"
],
"opens": "09:00",
"closes": "16:00"
}]
}
],
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"name": "Політика повернення Mixform",
"url": "https://mixform.pl/uk/info",
"applicableCountry": "PL",
"returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
"merchantReturnDays": 14,
"returnMethod": "https://schema.org/ReturnByMail",
"returnFees": "https://schema.org/FreeReturn",
"refundType": "https://schema.org/FullRefund"
}
},
{
"@type": "WebSite",
"@id": "https://mixform.pl/#website",
"url": "https://mixform.pl/",
"name": "Mixform",
"publisher": { "@id": "https://mixform.pl/#org" },
"inLanguage": ["pl","uk"],
"potentialAction": [
{
"@type": "SearchAction",
"target": "https://mixform.pl/catalog/search?q={search_term_string}",
"query-input": "required name=search_term_string"
},
{
"@type": "SearchAction",
"target": "https://mixform.pl/uk/catalog/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
]
}
]
}
</script>
{% endif %}
{% if env.site == env.mix and app.request.locale == 'uk' %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://mixform.pl/#org",
"name": "Mixform",
"legalName": "Mixform",
"url": "https://mixform.pl/",
"logo": {
"@type": "ImageObject",
"@id": "https://mixform.pl/#logo",
"contentUrl": "https://mixform.pl/pic/images/mixform-logo.png",
"url": "https://mixform.pl/",
"width": 1024,
"height": 1024,
"caption": "Логотип Mixform",
"encodingFormat": "image/png"
},
"sameAs": [
"https://www.instagram.com/mixform.pl/",
"https://www.facebook.com/pl.mixform"
],
"email": "office@mixform.pl",
"telephone": "+48668522718",
"address": {
"@type": "PostalAddress",
"streetAddress": "вул. Чайча 2",
"addressLocality": "Вроцлав",
"postalCode": "51-422",
"addressRegion": "Нижньосілезьке воєводство",
"addressCountry": "PL"
},
"areaServed": "PL",
"contactPoint": [
{
"@type": "ContactPoint",
"contactType": "customer support",
"email": "office@mixform.pl",
"telephone": "+48668522718",
"availableLanguage": ["pl","uk"],
"areaServed": "PL",
"hoursAvailable": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"https://schema.org/Monday",
"https://schema.org/Tuesday",
"https://schema.org/Wednesday",
"https://schema.org/Thursday",
"https://schema.org/Friday"
],
"opens": "09:00",
"closes": "16:00"
}]
},
{
"@type": "ContactPoint",
"contactType": "sales",
"email": "office@mixform.pl",
"telephone": "+48668522718",
"availableLanguage": ["pl","uk"],
"areaServed": "PL",
"hoursAvailable": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"https://schema.org/Monday",
"https://schema.org/Tuesday",
"https://schema.org/Wednesday",
"https://schema.org/Thursday",
"https://schema.org/Friday"
],
"opens": "09:00",
"closes": "16:00"
}]
}
],
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"name": "Політика повернення Mixform",
"url": "https://mixform.pl/uk/info",
"applicableCountry": "PL",
"returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
"merchantReturnDays": 14,
"returnMethod": "https://schema.org/ReturnByMail",
"returnFees": "https://schema.org/FreeReturn",
"refundType": "https://schema.org/FullRefund"
}
},
{
"@type": "WebSite",
"@id": "https://mixform.pl/#website",
"url": "https://mixform.pl/",
"name": "Mixform",
"publisher": { "@id": "https://mixform.pl/#org" },
"inLanguage": ["pl","uk"],
"potentialAction": [
{
"@type": "SearchAction",
"target": "https://mixform.pl/catalog/search?q={search_term_string}",
"query-input": "required name=search_term_string"
},
{
"@type": "SearchAction",
"target": "https://mixform.pl/uk/catalog/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
]
}
]
}
</script>
{% endif %}
{# BreadcrumbList #}
{% if args[0] != '/' and args[0] != '' and bc|length %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{% set i = 0 %}
{% set ll = '' %}
{% for l, t in bc %}
{% if i == 0 %}
{% set ll = l %}
{% endif %}
{
"@type": "ListItem",
"position": {% set i = i + 1 %}{{ i }},
"name": "{{ t|replace({'"': ''})|striptags }}",
"item": "{{ env.host_static ~ l }}"
}{% if not loop.last %},{% endif %}
{% endfor %}
{% if prod %}
,{
"@type": "ListItem",
"position": {% set i = i + 1 %}{{ i }},
"name": "{{ prod.name|replace({'"': ''})|striptags }}"
{% if not loop.last %},
"item": "{{ env.host_static ~ ll ~ 'catalog/prod-' ~ prod.id }}"
{% endif %}
}
{% endif %}
]
}
</script>
{% endif %}
{# ProdList #}
{% if args[0] == 'catalog' and cat and prod is empty %}
{% if (paginator.cnt - paginator.start) < paginator.results %}
{% set numberOfItems = paginator.cnt - paginator.start %}
{% elseif paginator.results < paginator.cnt %}
{% set numberOfItems = paginator.results %}
{% else %}
{% set numberOfItems = paginator.cnt - paginator.start %}
{% endif %}
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"CollectionPage",
"name":"{{ cat.name }}",
{% if paginator.start %}
"url":"https://{{ app.request.host }}{{ url_mk('/catalog/cat-' ~ cat.id ~ '-' ~ cat.intname) }}?start={{ paginator.start }}",
{% else %}
"url":"https://{{ app.request.host }}{{ url_mk('/catalog/cat-' ~ cat.id ~ '-' ~ cat.intname) }}",
{% endif %}
"mainEntity":{
"@type":"ItemList",
"numberOfItems":{{ numberOfItems }},
"itemListElement":[
{% set i = 0 %}
{% for item in prods %}
{
"@type": "ListItem",
"position": {% set i = i + 1 %}{{ i + paginator.start }},
"name": "{{ item.name }}",
"url": "https://{{ app.request.host }}{{ url_mk('/catalog/prod-' ~ item.id) }}"
}
{% if not loop.last %},{% endif %}
{% endfor %}
]
}
}
</script>
{% endif %}
{# ProdCont #}
{% if args[0] == 'catalog' and prod %}
{% set bc_cat = '' %}
{% for l, t in bc %}
{% if not loop.first %}
{% set bc_cat = bc_cat ~ t %}
{% endif %}
{% if not loop.last and not loop.first %}
{% set bc_cat = bc_cat ~ ' > ' %}
{% endif %}
{% endfor %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "{{ prod.name }}",
"description": "{{ prod.cont }}",
"sku": "{{ prod.art }}",
"image": [
{ "@type": "ImageObject", "contentUrl": "{{ env.host_static ~ '/pic/prod-l/' ~ prod.id ~ '.jpg' }}", "width": 1200, "height": 1200 }
{% for photo in photos %}
,{ "@type": "ImageObject", "contentUrl": "{{ env.host_static ~ '/pic/photo/' ~ photo.id ~ '.jpg' }}", "width": 700, "height": 700 }
{% endfor %}
],
"category": "{{ bc_cat|raw }}",
"offers": {
"@type": "Offer",
"url": "https://{{ app.request.getHost() }}{% if app.request.locale != default_lang %}/{{ app.request.locale }}{% endif %}/catalog/prod-{{ prod.id }}",
"priceCurrency": "{{ sett.get('valuta_code')|raw }}",
"price": "{{ (prod.price * (100 - prod.skidka) / 100)|fmtmoney2 }}",
"availability": "https://schema.org/{% if prod.num > 0 or prod.num2 > 0 or prod.num3 > 0 %}InStock{% else %}OutOfStock{% endif %}",
"itemCondition": "https://schema.org/NewCondition",
"seller": { "@type": "Organization", "@id": "https://{{ app.request.host }}/#org" }
}
}
</script>
{# "material": "Аметист",
"color": "Фіолетовий",
"size": "6~7×5~6 мм",
"countryOfOrigin": { "@type": "Country", "name": "Бразилія" },
"additionalProperty": [
{ "@type": "PropertyValue", "name": "номер кольору", "value": "02 Amethyst" },
{ "@type": "PropertyValue", "name": "Форма отвору", "value": "Наскрізний" },
{ "@type": "PropertyValue", "name": "Застосування", "value": "Намистини" },
{ "@type": "PropertyValue", "name": "Огранювання", "value": "Гранені" },
{ "@type": "PropertyValue", "name": "Форма", "value": "Круглі" },
{ "@type": "PropertyValue", "name": "Забарвлення", "value": "Незабарвлені" }
],
"image": [
{ "@type": "ImageObject", "contentUrl": "https://mixform.pl/pic/prod-l/81956.jpg", "width": 1200, "height": 1200 },
{ "@type": "ImageObject", "contentUrl": "https://mixform.pl/pic/photo/198510.jpg", "width": 700, "height": 700 },
{ "@type": "ImageObject", "contentUrl": "https://mixform.pl/pic/photo/198511.jpg", "width": 700, "height": 700 },
{ "@type": "ImageObject", "contentUrl": "https://mixform.pl/pic/photo/198509.jpg", "width": 700, "height": 700 }
],
"offers": {
"@type": "Offer",
"url": "https://mixform.pl/uk/catalog/prod-81956",
"priceCurrency": "PLN",
"price": "67.35",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition",
"seller": { "@type": "Organization", "@id": "https://mixform.pl/#org" },
"inventoryLevel": { "@type": "QuantitativeValue", "value": 12 }
} #}
{% endif %}