Miva Merchant Modules and Development
Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

BREADCRUMBS: Fix Schema in Miva Merchant

Scot Ranney • December 19, 2023


<mvt:if expr="NOT (l.settings:page:code CIN g.screenCheck) AND l.settings:page:code NE 'SFNT'">
	<div class="row breadcrumbs">
		<nav class="column whole wrap float-none large-np">
			<ul itemscope itemtype="https://schema.org/BreadcrumbList">
				<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
					<a itemprop="item" href="&mvt:breadcrumbs:homelink;" class="breadcrumb-home"><span itemprop="name">Home<span></a><span class="breadcrumb-border">/</span>
					<meta itemprop="position" content="0">
				</li>
				<mvt:foreach iterator="cats" array="breadcrumbs:links">
					<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
						<mvt:if expr="l.settings:cats:name EQ '...'">
							<span itemprop="item" class="cats-hidden"><span itemprop="name">&mvt:cats:name;</span></span><span class="breadcrumb-border">/</span>
						<mvt:elseif expr="l.settings:cats:code EQ l.settings:breadcrumbs:current_item:code">
							<a itemprop="item" href="&mvt:breadcrumbs:current_item:link;" class="current-item"><span itemprop="name">&mvt:cats:name;</span></a>
						<mvt:else>
							<a itemprop="item" href="&mvt:cats:link;"><span itemprop="name">&mvt:cats:name;</span></a><span class="breadcrumb-border">/</span>
						</mvt:if>
						<meta itemprop="position" content="<mvt:eval expr="POS1"/>" />
					</li>
				</mvt:foreach>
			</ul>
		</nav>
	</div>
	<!-- end breadcrumbs -->
</mvt:if>

https://www.scotsscripts.com/mvblog/breadcrumbs-fix-schema-in-miva-merchant.html

mvkb