Jump to content

How to add rich snippet to Description?


soluthier

Recommended Posts

Hi there,

 

I couldn't find a way to add rich snippets to Description since it is not part of product.tpl. Description is inside a Tab so I can't figure it out how to show to Mr. Google that information for my product.

 

By the way, I don't use short description so for me this is not a option for now.

 

Has anyone found a solution?

 

thanks in advance!

Link to comment
Share on other sites

Have you tried this?

 

<div id="more_info_sheets" class="sheets align_justify">
{if $product->description}
<!-- full description -->
<div id="idTab1" class="rte" " itemprop="description">{$product->description}</div>
{/if}
 
It is a tab, but it's already shown when the page loads
  • Like 2
Link to comment
Share on other sites

I

 

 

Have you tried this?

 

<div id="more_info_sheets" class="sheets align_justify">
{if $product->description}
<!-- full description -->
<div id="idTab1" class="rte" " itemprop="description">{$product->description}</div>
{/if}
 
It is a tab, but it's already shown when the page loads

 

 

 

Thanks Nemo!

 

I always follow your blog but you wrote that it could be tricky and instead you might use short description for that purpose.

Link to comment
Share on other sites

Because long description is....long! So Otherwise, you can add the short description in that box above the long one

 

<div id="idTab1" class="rte"><span  itemprop="description">{$product->description_short}</span>{$product->description}</div>

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...