Community Support Forums - Sellacious

Welcome to Sellacious Support Forums, You are at the right place if you are facing an issue with Sellacious.
Support Online
We are here to assist you. Please be patient, we will respond to your tickets shortly.
Official support hours:
Monday To Friday except Saturday and Sunday
From 9:00AM To 9:00PM
  1. ADESH JOHNSON
  2. Welcome Mat
  3. Sunday, July 09 2017, 06:00 AM
  4.  Subscribe via email
Hello. I am configuring SEO on my website. I have a suggestion of change in your code to improve SEO:

In components/com_sellacious/views/product/view.html.php, around line 162:

CURRENT CODE:


$this->document->setMetaData('description', $this->item->get('metadesc'));


SUGGESTION TO CHANGE FOR:


if($this->item->get('metadesc'))
{
$this->document->setMetaData('description', $this->item->get('metadesc'));
}
else
{
$this->document->setMetaData('description', $this->item->get('introtext'));
}


This way, the introtext - which can a vendor to edit easily - is set as meta description tag in the case that the admin not set anything there, making SEO better. Currently, nothing is set in metadescription if admin not write anything.

I tested the code and worked fine :)
Comment
There are no comments made yet.
Ankit Agrawal Accepted Answer
0
Votes
Undo
Hi Adesh,

Thanks for the kind suggestion. We will add this code to Sellacious in the next version.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Welcome Mat
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
  • SeedStars World
  • Commodo
  • NASSCOM 10k