Автор Тема: убрать Call us  (Прочитано 843 раз)

03 Сентябрь 2015, 12:17:52
  • Новичок
  • *
  • Сообщений: 28
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Привет. Подскажите как убрать Call us номер  ?
03 Сентябрь 2015, 12:25:36
Ответ #1
  • Ветеран
  • *****
  • Сообщений: 3419
  • Репутация: +79/-6
  • Сообщество PrestaShop
    • Просмотр профиля
Нужно удалить показ модуля Блок контактов в модули - расположение блоков - displayNav
03 Сентябрь 2015, 13:04:04
Ответ #2
  • Новичок
  • *
  • Сообщений: 28
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Нужно удалить показ модуля Блок контактов в модули - расположение блоков - displayNav
в displayNav нету блок контактов чтоб удалить
03 Сентябрь 2015, 13:14:51
Ответ #3
  • Ветеран
  • *****
  • Сообщений: 86688
  • Репутация: +25428/-0
  • Сообщество PrestaShop
    • Просмотр профиля
У вас не стандарная тема. Поэтому нужно смотреть код страницы. Возможно что в вашей теме вывод телефона сделан в шаблоне header.tpl.
07 Сентябрь 2015, 17:38:08
Ответ #4
  • Новичок
  • *
  • Сообщений: 28
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
У вас не стандарная тема. Поэтому нужно смотреть код страницы. Возможно что в вашей теме вывод телефона сделан в шаблоне header.tpl.

не могу найти , не смогли бы вы посмотреть содержимое файла? может вы найдете?
{*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2015 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<!DOCTYPE HTML>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9" lang="{$language_code|escape:'html':'UTF-8'}"><![endif]-->
<html lang="{$language_code|escape:'html':'UTF-8'}">
<head>
<meta charset="utf-8" />
<title>{$meta_title|escape:'html':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
<meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
<meta name="keywords" content="{$meta_keywords|escape:'html':'UTF-8'}" />
{/if}
<meta name="generator" content="PrestaShop" />
<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
<meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="Yes" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
{if isset($css_files)}
{foreach from=$css_files key=css_uri item=media}
<link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media|escape:'html':'UTF-8'}" />
{/foreach}
{/if}
{if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)}
{$js_def}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script>
{/foreach}
{/if}
{$HOOK_HEADER}
<link rel="stylesheet" href="http{if Tools::usingSecureMode()}s{/if}://fonts.googleapis.com/css?family=Open+Sans:300,600&amp;subset=latin,latin-ext" type="text/css" media="all" />
<!--[if IE 8]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body itemscope itemtype="http://schema.org/WebPage" {if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if $page_name != 'index'}subPage{/if}  {if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if isset($content_only) && $content_only} content_only{/if} lang_{$lang_iso}">
{if !isset($content_only) || !$content_only}
{if isset($restricted_country_mode) && $restricted_country_mode}
<div id="restricted-country">
<p>{l s='You cannot place a new order from your country.'}{if isset($geolocation_country) && $geolocation_country} <span class="bold">{$geolocation_country|escape:'html':'UTF-8'}</span>{/if}</p>
</div>
{/if}
<div id="page" {if $lab_mode_theme == 'labbox'}class="{$lab_mode_theme}"{/if}>
<div class="header-container">
<header id="header">
{if Hook::exec('displayBanner')}
<div class="banner">
<div class="container">
<div class="row">
{hook h="displayBanner"}
</div>
</div>
</div>
{/if}
<div class="topheader">
<div class="displayTop">
<div class="row">
<div class="container">
{hook h="displayNav"}
</div>
</div>
</div>
<div class="labheader">
<div class="container">
<div class="row">
<div class="lab_logo col-lg-3 col-md-3 col-sm-3 col-xs-12">
<a href="{if $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{$shop_name|escape:'html':'UTF-8'}">
<img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}"{/if}/>
</a>
</div>
<div class="topHeader col-lg-9 col-md-9 col-sm-9 col-xs-12">
<div class="row">
<div class="mobile">{if isset($HOOK_TOP)}{$HOOK_TOP}{/if}</div>
{hook h="labsearch"}
</div>
</div>
</div>
</div>
</div>
</div>
</header>
</div>
<div class="labmegamenu">
<div class="container">
<div class="row">
<div class="labmenu-i col-xs-12 col-sm-3">
{hook h="vegamenu"}
</div>
<div class="labmenu-i col-xs-12 col-sm-9">
{hook h="megamenu"}
</div>
</div>
</div>
</div>
{if $page_name == 'index'}
{if Hook::exec('bannerSlide')}
<div class="lab_bannerSlide">
{hook h="bannerSlide"}
</div>
{/if}
{/if}
{if $page_name == 'index'}
{if Hook::exec('blockPosition1')}
<div class="blockPosition1 blockPosition">
<div class="container">
{hook h="blockPosition1"}
</div>
</div>
{/if}
{/if}
{if $page_name == 'index'}
{if Hook::exec('blockPosition2')}
<div class="blockPosition2 blockPosition">
<div class="container">
{hook h="blockPosition2"}
</div>
</div>
{/if}
{/if}
{if $page_name == 'index'}
{if Hook::exec('blockPosition3')}
<div class="blockPosition3 blockPosition">
<div class="container">
{hook h="blockPosition3"}
</div>
</div>
{/if}
{/if}
{if $page_name == 'index'}
{if Hook::exec('blockPosition4')}
<div class="blockPosition4 blockPosition">
<div class="container">
{hook h="blockPosition4"}
</div>
</div>
{/if}
{/if}
{if $page_name == 'index'}
<div class="blockPosition">
<div class="container">
<div class="row">
{if Hook::exec(smartBlognew)}
<div class="smartBlog col-lg-6 col-md-6 col-sm-6 col-xs-12">

{hook h="smartBlognew"}

</div>
{/if}
{if Hook::exec(manufacturer)}
<div class="labmanufacturer col-lg-6 col-md-6 col-sm-6 col-xs-12">

{hook h="manufacturer"}

</div>
{/if}
</div>
</div>
</div>
{/if}
{if $page_name =='category' || $page_name =='product'}
{if $category->id_image}
<div class="content_scene_cat">
<!-- Category image -->
<div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) no-repeat scroll center center / cover  ;"{/if}>
{if $category->name}
<h4 class="category-name">
<span>
{strip}
{$category->name|escape:'html':'UTF-8'}
{if isset($categoryNameComplement)}
{$categoryNameComplement|escape:'html':'UTF-8'}
{/if}
{/strip}
</span>
</h4>
{/if}
{if $page_name !='index' && $page_name !='pagenotfound'}
<div class="lab_breadcrumb">
{include file="$tpl_dir./breadcrumb.tpl"}
</div>
{/if}
</div>
</div>
{else}
<div class="content_scene_cat">
<!-- Category image -->
<div class="content_scene_cat_bg">
{if $category->name}
<h4 class="category-name">
<span>
{strip}
{$category->name|escape:'html':'UTF-8'}
{if isset($categoryNameComplement)}
{$categoryNameComplement|escape:'html':'UTF-8'}
{/if}
{/strip}
</span>
</h4>
{/if}
{if $page_name !='index' && $page_name !='pagenotfound'}
<div class="lab_breadcrumb">
{include file="$tpl_dir./breadcrumb.tpl"}
</div>
{/if}
</div>
</div>
{/if}
{else}
{if $page_name !='index' && $page_name !='pagenotfound'}
<div class="labBreadcrumb">
<div class="container">
{include file="$tpl_dir./breadcrumb.tpl"}
</div>
</div>
{/if}
{/if}

<div class="columns-container">
<div id="columns" class="container">
<div class="row">
{if isset($left_column_size) && !empty($left_column_size)}
<div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div>
{/if}
{if isset($left_column_size) && isset($right_column_size)}{assign var='cols' value=(12 - $left_column_size - $right_column_size)}{else}{assign var='cols' value=12}{/if}
<div id="center_column" class="center_column col-xs-12 col-sm-{$cols|intval}">
{/if}
07 Сентябрь 2015, 17:57:23
Ответ #5
  • Фрилансер
  • *
  • Сообщений: 113
  • Репутация: +3/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Ищи в модулях, которые хуках displayNav и displayTop.