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

Esta seção introduzir como configurar nuvem do tag Agile PrestaShop SEO habilitado

 

Instruções de instalação

0. Lógica ao seu back-office e vá "Módulos" guia

1. Desinstalar existente padrão "Tags bloco" módulo se ele já estiver instalado
2. Olhe para "Agile SEO tag module" e clique em instalar, o módulo será instalado automaticamente
3. Clique em "Configurar" link em "Módulo de marca ágil SEO" e definir "Tags exibido" para o número que você deseja exibir

 

4. Esta etapa é diferente para PrestaSgop 1.3 x e x 1,4

 

Para PrestaShop 1.3 x

Modificar /admin???arquivo /Tabs/AdminGenertator.php (nota, admin?? significa que a pasta de seu escritório traseiro, geralmente ele é renomeado)
Procure por duas linhas a seguir (em torno de linha # 192)

$tab['RewriteRule']['content']['^lang-([a-z]{2})/(.*) $'] = '$ 2? isolang =$ 1 [QSA, L, E]';
Guia de retorno $;

  Inserir abaixo linha no meio da acima de duas linhas.
$tab['RewriteRule']['content']['^tags/(.*) $'] = '[QSA, L, E] search.php?tag=$1';

 

Para prestaShop 1.4 x

No sert seguinte código na função generateHtaccess() no arquivo /classes/Tools.php

pesquisa de marca //Cloud
$tab['RewriteRule']['content']['^tags/(.*) $'] = '[QSA, L, E] search.php?tag=$1';

Agile-PrestaShop-SEO-Tag-Tools

 

 

5. Modificar o arquivo /classes/Tool.php
Encontrar na sequência de bloco de código na função getMetaTags()

 

/ * CMS especificidades meta tag * /
ElseIf ($ id_cms = self::getValue('id_cms'))
{
linha $ = Db::getInstance() - > getRow ('
Selecione 'meta_title', 'meta_description', 'meta_keywords'
DE '._DB_PREFIX_.'cms_lang'
ONDE id_lang = '.intval($id_lang)'. E id_cms = '.intval($id_cms));
se (linha$)
{
linha $['meta_title'] = $linha ['meta_title']. '-'.Configuration::Get('PS_SHOP_NAME');
retornar self::completeMetaTags ($row, $row['meta_title']);
}
}

Adicione o seguinte código de bloco logo após acima código.

outra pessoa
{
marca de $ = self::getValue('tag');
if(isset($tag) AND strlen($tag) > 0)
{
linha $['meta_title'] = $tag. " - " .Configuration::Get('PS_SHOP_NAME');
linha $['meta_description'] = $tag;
linha $["meta_keywords'] = $tag;
retornar self::completeMetaTags ($row, $row['meta_title']);
}
}

 

Agile-PrestaShop-SEO-Tag-Tools-01

6. Vá para back office guia de preferência na seção "URL amigável" regenerar. htaccess