Customer Reviews can be a strong marketing recommendation for any Business. The Ecommerce Templates "
Product Review" feature can be adapted for Customer Testimonials.
"
Contact Us" is always a frequently viewed page. So there is a good place to add your Customer Reviews, Ratings and Comments about the Business.
Here is a
sample Business Contact page with Customer Reviews added >>Run that URL through the
Google Structured Data Testing Tool to check the result.
The
<font color="orange">*****</font id="orange"> rating stars in search results will attract attention and likely get you more clicks, more visits.
So how to do that ? Here is the REVISED procedure updated
14 June 2016 for PHP.
==============================================
(1) Check Product Reviews and Ratings settings in your "<font color="red">includes.php</font id="red">" config file.<font color="blue">$enablecustomerratings=TRUE; <font color="brown">// change to
FALSE if you do not want reviews on all Product pages</font id="brown">
$customerratinglength=2048; <font color="brown">// Permit long text length in reviews</font id="brown">
$onlyclientratings=FALSE; <font color="brown">// Must be logged in to enter review ? Nope, but reviews must still be Approved before they are published. Otherwise change to TRUE</font id="brown">
$ratingsonproductspage=TRUE;
$numcustomerratings=15; <font color="brown">// Display 15 per page, lets not have too many page breaks.</font id="brown">
$detlinkspacechar="-"; <font color="brown">// replace space characters in product names with - dash</font id="brown"></font id="blue">
==============================================
(2) Your "Contact Us" page must be created as a Product, so that Customer Reviews can be added to it.Reference ID =
<font color="red">contact</font id="red">Prod Name = <font color="red">Contact Business Name in City, State</font id="red"> (substitute your Business Name. City and State are optional but recommended, can benefit SEO.)
Section = Select any Menu section you like, it
must appear in one
active section, suggest your most popular section that never gets disabled.
Price = 0.00
Sell Button = No, remove tick
Display Product = Yes, tick that box
Upload an Image = Business Logo, Photo of Premises, whatever suits. <font color="maroon">Name one image "<font color="red">
contact.jpg</font id="red">"</font id="maroon"> then upload.
Product Order = 9000 (Or whatever, preferable to make the Contact page display last in list. How to do that depends upon your Page Sort Order. If Product Order, set number high. If date, jiggle date added to suit.)
>>
<font color="navy">Select <font color="red">Has Static URL</font id="red"> from the dropdown list</font id="navy">. This must be a static page. The URL to enter will be something like "<font color="blue">
contact-business-name.php</font id="blue">", and substitute whatever your business name is.
>>
EDIT for v6.4.2 the URL should be entered with spaces between words,
not dashes, like "<font color="blue">
contact business name.php</font id="blue">"
The parameter <font color="blue">$detlinkspacechar="-";</font id="blue"> will add the dashes into the filename so that it finally becomes "<font color="blue">
contact-business-name.php</font id="blue">"
Enter details for both Short and Long Descriptions.
<font color="blue">Submit</font id="blue">.
==============================================
(3) Create the new static PHP page.Open <font color="maroon">proddetail.php</font id="maroon">
File ... Save As ... "<font color="blue">contact-business-name.php</font id="blue">" (Whatever URL filename you entered above in Product Admin).
In the <font color="maroon"><head></font id="maroon"> section (in an editable region) we need to (a) load the ECT content management system, (b) page ID, (c) meta details and (d) dynamic page <font color="maroon"><title></font id="maroon">. So in Adobe Dreaweaver, here is that portion of code. (<font color="red">You edit the RED bits</font id="red">):
<!-- InstanceBeginEditable name="doctitle" -->
<font color="blue"><?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
<font color="red">$explicitid="contact";
$prodid="contact";</font id="red">
include "vsadmin/inc/metainfo.php";?>
<title><?php print $productname; ?></title>
<meta property="og:title" content="<?php print $productname ?>"></font id="blue">
<!-- InstanceEndEditable -->
Your other dynamic <font color="maroon"><meta></font id="maroon"> tag code entries will look like this
<font color="blue"><meta name="robots" content="index, follow">
<meta property="og:site_name" content="<font color="red">Your Business Name</font id="red">">
<meta property="og:type" content="article">
<meta name="Description" content="<?php print $productdescription ?>">
<meta property="og:description" content="<?php print $productdescription ?>">
<meta property="og:image" content="<font color="red">http:// yourwebsite .com</font id="red">/prodimages/<?php print $productid;?>.jpg">
<meta property="og:url" content="<font color="red">http:// yourwebsite .com/contact-business-name.php</font id="red">">
<link rel="canonical" href="<font color="red">http:// yourwebsite .com/contact-business-name.php</font id="red">">
</font id="blue">
Note that the <font color="blue">rel=canonical</font id="blue"> tag prevents Search Engines from interpreting the <font color="blue">?review=all</font id="blue"> page link as Duplicate Content.So now, down in the <font color="maroon"><body></font id="maroon"> section, we call in your Contact page details.
<font size="3">The trick here is to specify a unique string of special configuration settings for this one particular page layout :</font id="size3">[quote]<font size="4"><font color="blue"><?php $enablecustomerratings=<font color="purple">TRUE</font id="purple">; $nobuyorcheckout=<font color="purple">TRUE</font id="purple">; $noprice=<font color="purple">TRUE</font id="purple">; $nopriceanywhere=<font color="purple">TRUE</font id="purple">; $xxBasRat='<font color="purple">%s Reviews</font id="purple">'; $xxRvNone='<font color="purple">No reviews yet</font id="purple">'; $xxRvPrRe='<font color="purple">Reviews</font id="purple">'; $xxRvRevP='<font color="purple">Reviews</font id="purple">'; $xxClkRev='<font color="purple">Add your review #8658;</font id="purple">'; $xxRvComm='<font color="purple">Your personal review </font id="purple">'; $detailpagelayout='<font color="purple">navigation, reviewstars, productname, description, reviews</font id="purple">'; include "<font color="purple">vsadmin/inc/incproddetail.php</font id="purple">" ?></font id="blue"></font id="size4"><hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
SAVE and
UPLOAD file to Server. Visit your website and view link to your new Contact page. Click link to check the static URL filename exists, the page opens and displays correct. Add a Review to check that works.
==============================================
(4) Check page for errors using Webmaster ToolsAll should be good, but nice to check.
(a)
Google Structured Data Testing Tool (Rich Snippets) >>(b)
Facebook Debugger (Open Graph OG meta tags) >>Now it is very easy for Customers, or the Website Administrator, to add more testimonials about your business. You get to moderate and Approve prior to publishing.
And when your "<font color="blue">Contact</font id="blue">" page appears in
Google search results, the <font size="3">
<font color="orange">*****</font id="orange"> Ratings</font id="size3"> count Rich Snippet appears as well.
So that works. BUT WAIT, there is one issue. The Rich Snippets will all be related to
http://schema.org/Product ==============================================
Don't know that Search Engines can actually detect that the Contact page is not in fact a "
Product". But technically it would be far better if the Rich Snippets were for a
http://schema.org/LocalBusiness.
Then we could manually add code markup for Address, Telephone, Email, Map, etc.
This is more advanced, since it does involve editing source PHP code, but not so difficult.
(5) How to create a file named <font color="red">inclocalbusiness.php</font id="red"> for your Contact page, with appropriate Rich Snippets.==>
Downside here is you must do this again upon each new Update release of the software. Unless Ecommerce Templates would like to adopt this idea, and likely figure a better way Open the file named <font color="maroon">vsadmin\inc\incproddetail.php</font id="maroon">
Now
File ...
Save As ...
<font color="red">inclocalbusiness.php</font id="red"> ... and make sure that file is saved into the
<font color="maroon">vsadmin\inc</font id="maroon"> folder.
View the source PHP code. Here are the code changes.
(a) Search for 2 instances of <font color="blue">"http://schema.org/Product"</font id="blue">
Replace both with <font color="red">"http://schema.org/LocalBusiness"</font id="red">
(b) Search for 2 instances of <font color="blue">itemprop="offers"</font id="blue">
substitute both with ...
<font color="red">itemprop="makesOffer"</font id="red">
(c) Search for and <font color="red">DELETE</font id="red"> 2 instances of each of these <span> tags...
<font color="red"><span itemprop="productID"><font color="blue"> Leave the code in between </font id="blue"></span>
<span itemprop="manufacturer"><font color="blue"> Leave the code in between </font id="blue"></span>
<span itemprop="sku"><font color="blue"> Leave the code in between </font id="blue"></span></font id="red">
SAVE and
UPLOAD that new
<font color="red">inclocalbusiness.php</font id="red"> file to your server.
Last step ... Open your "<font color="blue">
contact-business-name.php</font id="blue">" page, whatever filename you gave it.
Down in the in the <font color="maroon"><body></font id="maroon"> section, simply edit the code <font color="red">highlighted in RED</font id="red"> :[quote]<font size="4"><font color="blue"><?php $enablecustomerratings=<font color="purple">TRUE</font id="purple">; $nobuyorcheckout=<font color="purple">TRUE</font id="purple">; $noprice=<font color="purple">TRUE</font id="purple">; $nopriceanywhere=<font color="purple">TRUE</font id="purple">; $xxBasRat='<font color="purple">%s Reviews</font id="purple">'; $xxRvNone='<font color="purple">No reviews yet</font id="purple">'; $xxRvPrRe='<font color="purple">Reviews</font id="purple">'; $xxRvRevP='<font color="purple">Reviews</font id="purple">'; $xxClkRev='<font color="purple">Add your review #8658;</font id="purple">'; $xxRvComm='<font color="purple">Your personal review </font id="purple">'; $detailpagelayout='<font color="purple">navigation, reviewstars, productname, description, reviews</font id="purple">'; include "<font color="purple">vsadmin/inc/
<font color="red">inclocalbusiness.php</font id="red"></font id="purple">" ?></font id="blue"></font id="size4"><hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
SAVE and
UPLOAD file to Server.
==============================================
(6) Sample itemprop markup for your http://schema.org/LocalBusiness Contact page.You will likely have different <font color="blue"><div></font id="blue"> or <font color="blue"><p></font id="blue"> CSS class tags on your page. But <font color="red">edit the RED bits</font id="red"> and adapt into your layout as necessary.
<font color="blue"><p><font color="red">Gary Flack</font id="red"><br />
<span itemprop="legalName"><font color="red">ITZAP Website Design Works</font id="red"></span><br />
<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><span itemprop="streetAddress"><font color="red">117 Princes Highway</font id="red"></span><br />
<span itemprop="addresslocality"><font color="red">Lucknow</font id="red"></span>, <span itemprop="addressRegion"><font color="red">Victoria</font id="red"></span>, <span itemprop="postalCode"><font color="red">3875</font id="red"></span><br />
<span itemprop="addressCountry"><font color="red">Australia</font id="red"></span></span></p>
<p><span itemprop="taxID"><font color="red">ABN 12 795 798 970</font id="red"></span></p>
<p>Telephone <span itemprop="telephone"><font color="red">(03) 5153 2750</font id="red"></span>
<p>Mobile <span itemprop="telephone"><font color="red">0499 347 269</font id="red"></span></font id="blue">
==============================================
Test again using Webmaster Tools. All will be perfect now.
THE END.
Would you like all of this done for you ? No problem. Price Australian $75.00 = approx USD$56.00.
I would need your FTP and Store Login details. PHP only, any version.
Gary