Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

daveg

Newbie
  
  • Posts

    1
  • Joined

  • Last visited

daveg's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Данная проблема обсуждалась много раз, и были даны рецепты https://opencartforum.com/topic/88-seo-%d0%b2-myopencart/page__view__findpost__p__10158, но к сожалению они не работали сборке 1.5.4.1. Лично у меня на 4 шагу вылетала ошибка доступа к private property of Documents: keywords. Решение нашел такое: вместо /* meta - keywords - mod - start */ if (empty($this->document->keywords)) { $this->document->keywords = $this->config->get('config_meta_keywords'); } /* meta - keywords - mod - end */ вставляем после $this->data['description'] = $this->document->getDescription(); $this->data['keywords'] = $this->document->getKeywords(); такие строки /* meta - keywords - mod - start */ if (empty($this->data['keywords'])) { $this->data['keywords']= $this->config->get('config_meta_keywords'); } /*meta - keywords - mod - end */ Вообщем у меня это сработало. Я далеко не профи в этом деле, скорее всего это корявое решение, но метатег keywords в html коде главной страницы появился.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.