Social Networks Plugin creates invalid urls for Pinterest

  • Posts: 104
  • Thank you received: 5
5 years 11 months ago #292189

-- HikaShop version -- : 3.4.0 [Build 1804201434]
-- Joomla version -- : 3.8.7
-- PHP version -- : 5.6.38

I've been working on an SEO audit and noticed that some of our product pages are generating Invalid URLs for Pinterest. We're using your Hikashop Social Networks Plugin to generate those icons.

I believe the problem stems from the length of the product descriptions. We do not want to shorten the product descriptions as the information provided there is vital to our customers knowing and understanding what they are purchasing. Is there a way to have a field setup for each product that would handle a shorted description that is used for Social Media purposes?

For example, we have software that we sell with our Golf SImulators. We also sell Course Packages which have various golf courses within them. We need to list the names of the courses in the description. However, for a Social Media description it could simply be the number of courses in the package.

Any help to resolve this would be appreciated. We're working to eliminate all warnings and errors in an effort to improve our SEO Rankings.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
5 years 11 months ago #292225

Hi,

The description is taken into account with the line:
$description = $this->_cleanDescription($element->description);
in plugins/system/hikashopsocial/hikashopsocial.php
So you would have to change $element->description to $element->XXX where XXX is the column name of your custom product field (that you can create via the menu Display>Custom fields) and you would be able to do that.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum