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