My SellerDeck Account | Newsletter | Free Trial

Community and Knowledge Base

  #1  
Old 26-Nov-2017, 05:38 AM
graphicz's Avatar
graphicz graphicz is offline
Registered User
Join Date: May 2007
Full Name: Jonathan Chappell
Posts: 725
Thanks: 58
Thanked 92 Times in 72 Posts
Google Schema - Rich snippets

This is my current schema/rich snippets code I use in Sellerdeck sites. To use it in Design Library find the group Meta Tags, Copy the Standard Meta Tags layout so you have a backup and open the original standard meta tags replacing everything there with this:

Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsEmbeddedPreview%22%20%2f%3e"> 
<meta http-equiv="X-UA-Compatible" content="<actinic:variable name="EmbeddedPreviewCompatibility" />">
</actinic:block>  
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   <meta http-equiv="MSThemeCompatible" content="yes" />
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Section%22%20AND%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Brochure%22%20AND%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Product%20Page%22%29%20OR%20%3cactinic%3avariable%20name%3d%22IsStoreFrontPage%22%20%2f%3e" >
   <actinic:block if="%3cactinic%3avariable%20name%3d%22GlbMetaKeywords%22%20%2f%3e%20%21%3d%20%22%22" >
		<meta name="keywords" content="<actinic:variable name="GlbMetaKeywords" />" />
   </actinic:block>
   <actinic:block if="%3cactinic%3avariable%20name%3d%22GlbMetaDescription%22%20%2f%3e%20%21%3d%20%22%22" >
		<meta name="description" content="<actinic:variable name="GlbMetaDescription" />" />
   </actinic:block>
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%20OR%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Brochure%22%29%20AND%20%3cactinic%3avariable%20name%3d%22IsStoreFrontPage%22%20%2f%3e%20%3d%3d%20FALSE" >
	<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaKeywords%22%20%2f%3e%20%21%3d%20%22%22" >
		<meta name="keywords" content="<actinic:variable name="MetaKeywords" />" />
	</actinic:block>
	<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%21%3d%20%22%22" >
		<meta name="description" content="<actinic:variable name="MetaDescription" />" />
	</actinic:block>
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%29" >
	<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPageMetaKeywords%22%20%2f%3e%20%21%3d%20%22%22" >
		<meta name="keywords" content="<actinic:variable name="ProductPageMetaKeywords" />" />
	</actinic:block>
	<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPageMetaDescription%22%20%2f%3e%20%21%3d%20%22%22" >
		<meta name="description" content="<actinic:variable name="ProductPageMetaDescription" />" />
	</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22InTestMode%22%20%2f%3e">
	<meta name="robots" content="noindex, nofollow">
</actinic:block>

<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29" >
	<actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsFilteringPageAsDefaultView%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22UseStaticFilterPageLink%22%20%2f%3e%29%20OR%20%0d%21%3cactinic%3avariable%20name%3d%22SectionPaginated%22%20%2f%3e%20OR%20%28%28%3cactinic%3avariable%20name%3d%22SectionPaginationIncludeFullPage%22%20%2f%3e%20%3d%3d%201%29%20AND%20%28%3cactinic%3avariable%20name%3d%22SectionPaginationCurrentPageIndex%22%20%2f%3e%20%3e%3d%200%29%29" >		
		<link rel="canonical" href="<actinic:variable name="CanonicalPageURL" />">
	</actinic:block>
	<actinic:block if="%28%28%3cactinic%3avariable%20name%3d%22IsFilteringPageAsDefaultView%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22UseStaticFilterPageLink%22%20%2f%3e%29%20%3d%3d%20False%29%20AND%0d%3cactinic%3avariable%20name%3d%22SectionPaginationIncludeFullPage%22%20%2f%3e%20%3d%3d%200" >
	   <!-- Tell search engines how to index paginated sections -->
		<actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionPaginationCurrentPageIndex%22%20%2f%3e%20%3e%201%29" >			
			<link rel="prev" href="<actinic:variable name="CanonicalPaginationPreviousPageURL" />">
		</actinic:block>
		<actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionPaginationCurrentPageIndex%22%20%2f%3e%20%3e%200%29%20AND%20%28%3cactinic%3avariable%20name%3d%22SectionPaginationCurrentPageIndex%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22SectionPaginationLastPartPageIndex%22%20%2f%3e%29" >
			<link rel="next" href="<actinic:variable name="CanonicalPaginationNextPageURL" />">
		</actinic:block>
	</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Section%22" >
	<link rel="canonical" href="<actinic:variable name="CanonicalPageURL" />">
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SocialMediaUsed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22FacebookPageName%22%20%2f%3e%20%20%21%3d%20%22%22">
	<meta property="og:url" content="<actinic:variable name="CanonicalPageURL" />" />
	<actinic:block if="%3cactinic%3avariable%20name%3d%22FacebookAdmin%22%20%2f%3e%20%21%3d%20%22%22" ><meta property="fb:admins" content="<actinic:variable name="FacebookAdmin" />" /></actinic:block>
	<actinic:block if="%3cactinic%3avariable%20name%3d%22FacebookAppID%22%20%2f%3e%20%21%3d%20%22%22" ><meta property="fb:app_id" content="<actinic:variable name="FacebookAppID" />" /></actinic:block>
	<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22" >
	<meta property="og:type" content="product" />
	<meta property="og:title" content="<actinic:variable encoding="strip" name="ProductName" />" />
	<meta property="og:description" content="<actinic:variable encoding="strip" name="ProductDescription" />" />
	<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageHeight%22%20%2f%3e%20%20%3e%3d%20%20200%20AND%0d%3cactinic%3avariable%20name%3d%22ProductImageWidth%22%20%2f%3e%20%3e%3d%20200" ><meta property="og:image" content="<actinic:variable name="CatalogURL" /><actinic:variable name="ProductImageFileNameRaw" />" /></actinic:block>
	<actinic:block if="%28%3cactinic%3avariable%20name%3d%22ProductImageHeight%22%20%2f%3e%20%3c%20200%20OR%0d%3cactinic%3avariable%20name%3d%22ProductImageWidth%22%20%2f%3e%20%3c%20200%29%20AND%0d%3cactinic%3avariable%20name%3d%22DefaultFacebookImage%22%20%2f%3e%20%20%21%3d%20%22%22"><meta property="og:image" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:block php="true">echo basename("<actinic:variable name="DefaultFacebookImage" />");</actinic:block>" /></actinic:block>
	</actinic:block>
	<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
	<meta property="og:type" content="product" />
	<meta property="og:title" content="<actinic:variable encoding="strip" name="SectionName" />" />
	<meta property="og:description" content="<actinic:variable encoding="strip" name="SectionDescription" />" />
	<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionImageHeight%22%20%2f%3e%20%3e%3d%20200%20AND%0d%3cactinic%3avariable%20name%3d%22SectionImageWidth%22%20%2f%3e%20%3e%3d%20200" ><meta property="og:image" content="<actinic:variable name="CatalogURL" /><actinic:variable name="SectionImageFileNameRaw" />" /></actinic:block>
	<actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionImageHeight%22%20%2f%3e%20%3c%20200%20OR%0d%3cactinic%3avariable%20name%3d%22SectionImageWidth%22%20%2f%3e%20%3c%20200%29%20AND%0d%3cactinic%3avariable%20name%3d%22DefaultFacebookImage%22%20%2f%3e%20%20%21%3d%20%22%22" ><meta property="og:image" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:block php="true">echo basename("<actinic:variable name="DefaultFacebookImage" />");</actinic:block>" /></actinic:block>
	</actinic:block>
	<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Brochure%22" >
		<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e%20%3d%3d%20false" >
		<meta property="og:type" content="article" />
		<meta property="og:title" content="<actinic:variable encoding="strip" name="BrochureName" />" />
		<meta property="og:description" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%21%3d%20%22%22" ><actinic:variable name="MetaDescription" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%3d%3d%20%22%22" ><actinic:variable name="PageTitle" ></actinic:block>" />
		<actinic:block if="%3cactinic%3avariable%20name%3d%22DefaultFacebookImage%22%20%2f%3e%20%20%21%3d%20%22%22" ><meta property="og:image" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:block php="true">echo basename("<actinic:variable name="DefaultFacebookImage" />");</actinic:block>" /></actinic:block>
		</actinic:block>
		<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e" >
		<meta property="og:type" content="website" />
		<meta property="og:title" content="<actinic:variable encoding="strip" name="CompanyName" />" />
		<meta property="og:description" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%21%3d%20%22%22" ><actinic:variable name="MetaDescription" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%3d%3d%20%22%22" ><actinic:variable encoding="strip" name="AboutUs" /></actinic:block>" />
		<actinic:block if="%3cactinic%3avariable%20name%3d%22DefaultFacebookImage%22%20%2f%3e%20%20%21%3d%20%22%22" ><meta property="og:image" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:block php="true">echo basename("<actinic:variable name="DefaultFacebookImage" />");</actinic:block>" /></actinic:block>
		</actinic:block>
	</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Product%20Page%27">
	<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "LocalBusiness",
  "url": "<actinic:variable name="WebSiteURL" />",
  <actinic:block if="%3cactinic%3avariable%20name%3d%22SocialMediaUsed%22%20%2f%3e" >"sameAs": [<actinic:block if="%3cactinic%3avariable%20name%3d%22TwitterHandle%22%20%2f%3e%20%21%3d%20%22%22" >
		"https://twitter.com/<actinic:variable name="TwitterHandle" />"<actinic:block if="%3cactinic%3avariable%20name%3d%22FacebookPageName%22%20%2f%3e%20%21%3d%20%22%22%20OR%0d%3cactinic%3avariable%20name%3d%22GooglePlusPageID%22%20%2f%3e%20%21%3d%20%22%22%20OR%0d%3cactinic%3avariable%20name%3d%22PinterestUserURL%22%20%2f%3e%20%21%3d%20%22%22%20OR%0d%3cactinic%3avariable%20name%3d%22YouTubeID%22%20%2f%3e%20%21%3d%20%22%22">,</actinic:block></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22FacebookPageName%22%20%2f%3e%20%21%3d%20%22%22">
		"https://www.facebook.com/<actinic:variable name="FacebookPageName" />"<actinic:block if="%3cactinic%3avariable%20name%3d%22GooglePlusPageID%22%20%2f%3e%20%21%3d%20%22%22%20OR%0d%3cactinic%3avariable%20name%3d%22PinterestUserURL%22%20%2f%3e%20%21%3d%20%22%22%20OR%0d%3cactinic%3avariable%20name%3d%22YouTubeID%22%20%2f%3e%20%21%3d%20%22%22" >,</actinic:block></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22GooglePlusPageID%22%20%2f%3e%20%21%3d%20%22%22">
		"https://plus.google.com/<actinic:variable name="GooglePlusPageID" />"<actinic:block if="%3cactinic%3avariable%20name%3d%22PinterestUserURL%22%20%2f%3e%20%21%3d%20%22%22%20OR%0d%3cactinic%3avariable%20name%3d%22YouTubeID%22%20%2f%3e%20%21%3d%20%22%22" >,</actinic:block></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22PinterestUserURL%22%20%2f%3e%20%21%3d%20%22%22">
		"https://pinterest.com/<actinic:variable name="PinterestUserURL" />"<actinic:block if="%3cactinic%3avariable%20name%3d%22YouTubeID%22%20%2f%3e%20%21%3d%20%22%22" >,</actinic:block></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22YouTubeID%22%20%2f%3e%20%21%3d%20%22%22">
		"https://www.youtube.com/<actinic:variable name="YouTubeID" />"</actinic:block>
	],</actinic:block>
  "logo": "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="CompanyLogoFileName" />",
	"image": "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="CompanyLogoFileName" />",
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Product%20Page%27">
		 <actinic:block if="%3cactinic%3avariable%20name%3d%22DisplaySiteFeedback%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22CustomerFeedbackEnabled%22%20%2f%3e" >"aggregateRating": {
		<actinic:block php="true">$sJsonData = file_get_contents('https://api.feefo.com/api/10/reviews/summary/service?merchant_identifier=merchantidentifiergoeshere');
		$oData = json_decode($sJsonData);</actinic:block>
		"@type": "AggregateRating",
		"ratingValue": "<actinic:block php="true">echo $oData->rating->rating;</actinic:block>",
		"reviewCount": "<actinic:block php="true">echo $oData->rating->service->count;</actinic:block>"
	},</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Product%20Page%27">
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%20AND%0d%3cactinic%3avariable%20name%3d%22DisplayProductFeedback%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22CustomerFeedbackEnabled%22%20%2f%3e" >"aggregateRating": {
		<actinic:block php="true">$sJsonData = file_get_contents('https://api.feefo.com/api/10/reviews/summary/product?merchant_identifier=merchantidentifiergoeshere&product_sku=<actinic:variable encoding="perl" name="ProductReference" selectable="false" />');
		$oData = json_decode($sJsonData);</actinic:block>
		"@type": "AggregateRating",
		"ratingValue": "<actinic:block php="true">echo $oData->rating->rating;</actinic:block>",
		"reviewCount": "<actinic:block php="true">echo $oData->rating->product->count;</actinic:block>"
	},</actinic:block>	
</actinic:block>
  "legalName": "<actinic:variable name="CompanyName" />",
  "priceRange": "&pound;10-&pound;100",
  "telephone": "+441234987654",
  "address": [{
    "@type": "PostalAddress",
    "addressLocality": "<actinic:variable name="Address1" />, <actinic:variable name="Address2" />, <actinic:variable name="Address3" />, <actinic:variable name="Address4" />",
    "postalCode": "<actinic:variable name="PostalCode" />"
  }],
   "description": "<actinic:variable name="GlbMetaDescription" />",
	"name": "<actinic:variable name="CompanyName" />",
   "contactPoint": [{
    "@type": "ContactPoint",
    "telephone": "+441234987654",
    "contactType": "customer service",
    "email": "<actinic:variable name="Email" />"
  }] 
}
</script>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Product%20Page%27">	
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "product",
  "name": "<actinic:variable encoding="perl" name="ProductName" selectable="false" />",
  "image": "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable encoding="perl" name="ProductImageFileName" selectable="false" />",
  <actinic:block if="%3cactinic%3avariable%20name%3d%22mpn%22%20%2f%3e%20%21%3d%20%22%22" >"mpn": "<actinic:variable name="mpn" />",</actinic:block>
  <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductBarcodeSKU%22%20%2f%3e%20%21%3d%20%22%22" >"sku": "<actinic:variable name="ProductBarcodeSKU" />",</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22DisplayProductFeedback%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22CustomerFeedbackEnabled%22%20%2f%3e" >"aggregateRating": {
		<actinic:block php="true">$sJsonData = file_get_contents('https://api.feefo.com/api/10/reviews/summary/product?merchant_identifier=merchantidentifiergoeshere&product_sku=<actinic:variable encoding="perl" name="ProductReference" selectable="false" />');
		$oData = json_decode($sJsonData);</actinic:block>
		"@type": "AggregateRating",
		"ratingValue": "<actinic:block php="true">echo $oData->rating->rating;</actinic:block>",
		"reviewCount": "<actinic:block php="true">echo $oData->rating->product->count;</actinic:block>"
	},</actinic:block>
"offers": {
        "@type": "Offer",
        	"url": "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable encoding="perl" name="CatalogURL" selectable="false" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable encoding="perl" name="SSLCatalogURL" selectable="false" /></actinic:block><actinic:variable encoding="perl" name="ProductPageName" selectable="false" />",
        	"priceCurrency": "GBP",
        	"price": "<actinic:block php="true">echo preg_replace('/[^\d\.]/', '', '<actinic:block type="pricelist"><actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%201"><actinic:variable name="TaxInclusivePrice" selectable="false" /></actinic:block></actinic:block>');</actinic:block>"
   }
 }
</script>
<!-- microdata start -->
<div itemscope itemtype="http://data-vocabulary.org/Product">
<meta itemprop="image" content="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="ProductImageFilenameRaw" />" />
<meta itemprop="identifier" content="mpn:<actinic:variable name="ProductReference" />"/>
<meta itemprop="name" content="<actinic:variable name="ProductName" />" />
<meta property="og:type" content="product" />
<meta property="og:title" content="<actinic:variable encoding="strip" name="ProductName" />" />
<meta property="og:url" content="<actinic:block php="true">echo '<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable encoding="perl" name="CatalogURL" selectable="false" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable encoding="perl" name="SSLCatalogURL" selectable="false" /></actinic:block>' . basename('<actinic:variable name="ProductPageName" encoding="perl" selectable="false" />');</actinic:block>" />
<actinic:block if="%3cactinic%3avariable%20name%3d%22brand%22%20%2f%3e%20%21%3d%20%22%22"><meta itemprop="brand" content="<actinic:variable name="brand" />"/></actinic:block>
</div>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    <meta itemprop="itemCondition" itemtype="http://schema.org/OfferItemCondition" content="http://schema.org/NewCondition" />
    <meta itemprop="name" content="<actinic:variable name="ProductName" />" />
    <meta itemprop="price" content="<actinic:block php="true">echo preg_replace('/[^\d\.]/', '', '<actinic:block type="pricelist"><actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%201"><actinic:variable name="TaxInclusivePrice" selectable="false" /></actinic:block></actinic:block>');</actinic:block>" />
</div>
<div class="purchase_data" itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer">
<meta itemprop="currency" content="GBP" />
<meta itemprop="price" content="<actinic:block php="true">echo preg_replace('/[^\d\.]/', '', '<actinic:block type="pricelist"><actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%201"><actinic:variable name="TaxInclusivePrice" selectable="false" /></actinic:block></actinic:block>');</actinic:block>" />
<meta itemprop="availability" content="In stock" />
<meta itemprop="seller" content="<actinic:variable encoding="strip" name="CompanyName" />"/>
  <actinic:block if="%3cactinic%3avariable%20name%3d%22mpn%22%20%2f%3e%20%21%3d%20%22%22" ><meta itemprop="mpn" content="<actinic:variable name="mpn" />"/></actinic:block>
  <actinic:block if="%3cactinic%3avariable%20encoding%3d%22html%22%20name%3d%22ContentCategory%22%20%2f%3e%20%21%3d%20%22Standard%22" ><meta itemprop="category" content="<actinic:variable name="ContentCategory" />"/></actinic:block>
  <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductBarcodeSKU%22%20%2f%3e%20%21%3d%20%22%22" ><meta itemprop="sku" content="<actinic:variable name="ProductBarcodeSKU" />"/></actinic:block>
</div>
<!-- microdata end -->
</actinic:block>
Most of it uses variables but some need manual input.

1. In this expression:
Code:
https://api.feefo.com/api/10/reviews/summary/product?merchant_identifier=merchantidentifiergoeshere&product_sku=<actinic:variable encoding="perl" name="ProductReference" selectable="false" />
You need to get your merchant identifier from Feefo and use it instead of merchantidentifiergoeshere.

2. You must use the international phone number not the 'Phone' Variable (eg: +441234987654)

3. You need your product price range ("priceRange": "&pound;10-&pound;100",)

You probably know this if it is your store but if you are a designer open the Access Database in Access and from the product table copy the 'price' column into an Excel sheet. The sort low to high to get your top and bottom prices - ignore zeros, use a real price.

Some of this is from Norman's excellent input on the matter (Drillpine.biz)

There are a few other bits you might like to edit manually to your taste.
__________________
Jonathan Chappell
Website Designer
SellerDeck Website Designer
Actinic to SellerDeck upgrades
Graphicz Limited - www.graphicz.co.uk
Reply With Quote
The Following 2 Users Say Thank You to graphicz For This Useful Post:
Duncan Rounding (26-Nov-2017), Goz (26-Nov-2017)
  #2  
Old 30-Nov-2017, 05:28 PM
brucet brucet is offline
Administrator
Join Date: Apr 2003
Full Name: Bruce Townsend
Posts: 947
Thanks: 55
Thanked 225 Times in 135 Posts
Sellerdeck 2018 will support schema tags out of the box, using the same method and similar code.
__________________
Bruce Townsend
Ecommerce Product Manager
SellerDeck Ecommerce Solutions
Reply With Quote
  #3  
Old 01-Dec-2017, 09:30 AM
Buzby's Avatar
Buzby Buzby is offline
Registered User
Join Date: Feb 2004
Full Name: Jason
Posts: 841
Thanks: 88
Thanked 34 Times in 30 Posts
Any idea when this will be available to play with in Beta?
Reply With Quote
  #4  
Old 01-Dec-2017, 09:46 AM
brucet brucet is offline
Administrator
Join Date: Apr 2003
Full Name: Bruce Townsend
Posts: 947
Thanks: 55
Thanked 225 Times in 135 Posts
We hope to have a Beta in January
__________________
Bruce Townsend
Ecommerce Product Manager
SellerDeck Ecommerce Solutions
Reply With Quote
The Following User Says Thank You to brucet For This Useful Post:
Buzby (01-Dec-2017)
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.