Recommended PrestShop Version

Thanks for choosing Agile.
For customers using our Agile Multiple Seller module and its accessry modules, we highly recommend to use PrestaShop 1.6x or 1.7.5 or lower. PrestaShop has made some changes in versions higher than 1.7.6 that makes it possible or very difficult to implement some of features via hooks, or override, since required hooks or override is not available.

Sept. 05, 2019

このセクションはアジャイル PrestaShop 有効に SEO タグクラウドを設定する方法をご紹介します。

 

インストールの指示

0。 ログインあなたのバック オフィスと行く「モジュール」タブ

1 それが既にインストールされている場合。 アンインストールの既存標準」タグ ブロック」モジュールに
2. 見て「アジャイル SEO タグ モジュール」とクリックをインストールについては、モジュールに自動的にインストールされます
3.「アジャイル SEO タグ モジュール」、下の「構成」リンクをクリックしますと"タグを表示」を表示するに設定

 

4. このステップ PrestaSgop 1.3 を異なるです x との 1.4 倍

 

PrestaShop 1.3 の x

/Admin を変更?/tabs/AdminGenertator.php ファイル (メモ、管理者か? お客様のバック オフィスのフォルダーは、通常は、その名前を変更)
次の 2 行 (約行 # 192) を探して

$tab['RewriteRule']['content']['^lang-([a-z]{2})/(.*) $'] = '$ 2? isolang =$ 1 [QSA、L、E]';
$タブを返す;

  以下の 2 行上の真ん中に行を挿入します。
$tab['RewriteRule']['content']['^tags/(.*) $'] = 'search.php?tag=$1 [QSA、L、E]';

 

PrestaShop 1.4 の x

スルトの関数 generateHtaccess() ファイル/classes/Tools.php 内に次のコードで

//cloud のタグ検索
$tab['RewriteRule']['content']['^tags/(.*) $'] = 'search.php?tag=$1 [QSA、L、E]';

Agile-PrestaShop-SEO-Tag-Tools

 

 

5. ファイル/classes/Tool.php を変更します。
次のコード ブロックで関数 getMetaTags() を見つける

 

・ ※ CMS 仕様メタ タグ ※/
elseif ($ id_cms self::getValue('id_cms')) =
{
$行 = Db::getInstance() - > getRow ('
'Meta_title'、'meta_description'、'meta_keywords' を選択します。
「._DB_PREFIX_。 'cms_lang'
場所 id_lang = '.intval($id_lang)'Id_cms = '.intval($id_cms));
場合 ($行)
{
$行 ['meta_title'] = $行 ['meta_title']. '-'。Configuration::get('PS_SHOP_NAME');
self::completeMetaTags ($行、$row['meta_title']); を返す
}
}

次のブロックのコードを上記のコードの直後に追加します。


{
$タグ = self::getValue('tag');
if(isset($tag) と strlen($tag) > 0)
{
$行 ['meta_title'] = $タグ。" - " .Configuration::get('PS_SHOP_NAME');
$行 ['meta_description'] = $タグ;
$行 ['meta_keywords'] = $タグ;
self::completeMetaTags ($行、$row['meta_title']); を返す
}
}

 

Agile-PrestaShop-SEO-Tag-Tools-01

6. バック オフィス「プリファレンス」タブ「フレンドリーな URL を」セクションで .htaccess を再生成するに行く