Jump to content
Sign in to follow this  
Bryan_TAO

Gravatar on product review

Recommended Posts

A minor edit to the skin template.

What skin are you using?

Share this post


Link to post
Share on other sites

CubeCart creates some Gravatar data based on the reviewer's email address. A query is made to Gravatar to see if there is an account having a hash of that email. Whether or not, that info is made available to the skin so that the store visitor can go to Gravatar to learn more about the reviewer.

In the eSharp skin template content.product.php, near line 171:

Find:

   {$review.title}
   </h3>
   <div class="content">
    <a href="http://gravatar.com/emails/" class="gravatar"><img src="http://www.gravatar.com/avatar/{$review.gravatar}?s=50&amp;r=g" /></a>
    {$review.review}
   </div>

Change to:

   {$review.title}
   </h3>
   <div class="content">
    {* Do not include link/image: <a href="http://gravatar.com/emails/" class="gravatar"><img src="http://www.gravatar.com/avatar/{$review.gravatar}?s=50&amp;r=g" /></a> *}
    {$review.review}
   </div>

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...