119,512+ downloads

0
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 :)
Replies (3)
Abhishek Agrawal Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Hi Adesh,

Thanks for the kind suggestion. We will add this code to Sellacious in the next version.
Abhishek Agrawal Accepted Answer Pending Moderation
Team
  1. Replied more than a month ago
  2. #Permalink
Hello adesh, hope you have checked the latest sellacious, your suggestions are implemented to the very comprehensive level.

Thanks for making sellacious better. :)
ADESH JOHNSON Accepted Answer Pending Moderation
  1. Replied more than a month ago
  2. #Permalink
Ok. Many thanks for your great work :)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.
Support is Offline
Support Hours
Monday To Saturday
From 09:00 To 21:00 IST
Sellacious Time 00:00:00

Login

?
?