I suggest you ...

Entry Rich Snippets usage

Is it possible to cover the importance and SEO implications of using Rich Snippets / Microformats wherever possible?

40 votes
Sign in
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
tentokal shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Sign in with: facebook google
Signed in as (Sign out)
  • sevittopcu commented  ·   ·  Flag as inappropriate

    I have added product snippet & it seems working (you may need to revise currency code by mauel)
    Add the code \components\com_djclassifieds\views\item\tmpl\default.php
    just before java code start around line 510

    you can test it from


    <?php //sevit start; ?>
    <div id="rich-card-snippet-elindevarmi_com" style="display: none;">
    <div itemscope itemtype="http://data-vocabulary.org/Product">
    <span itemprop="name">
    <?php echo $item->name; ?>
    <img itemprop="image" src="<?php echo JURI::root();?><?php echo JURI::base(true).$this->item_images[0]->thumb_b;?>" />
    <span itemprop="description">
    <?php echo $item->intro_desc; ?>
    </span> Product #:
    <span itemprop="identifier" content="<?php echo $item->id; ?>">
    <?php echo $item->id; ?>
    <span itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer">
    <?php echo $item->t_name; ?>
    <meta itemprop="currency" content="<?php echo $item->currency ;?>" />
    <span itemprop="price">
    <?php echo $item->price ;?>
    <a href="http://elindevarmi.com/">elindevarmi.com</a>
    <?php //sevit end; ?>

  • tentokal commented  ·   ·  Flag as inappropriate

    "itemprop=name" for the Title, "itemprop=price" for the Price field, "itemprop=image" for image for example......

Feedback and Knowledge Base