Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

toliggg

Користувачі
  
  • Публікації

    105
  • З нами

  • Відвідування

Повідомлення, опубліковані користувачем toliggg

  1. Ищу модуль пакетное/массовое редактирование/автозаполнение товаров

    нужно решение такой вот задачи:

    заливаю товары через модуль импорта 

    нужно как-то массово сгенерировать и заполнить для товаров: SEO URL (может на основе названия товара), Title, Description, Keywords

    посоветуйте рабочий надежный модуль для ocStore 2.1.0.2.1

     

    Спасибо.

  2. Установи на Версия ocStore 2.1.0.2.1 не работает =( id языка проверил все верно.  пожскажите в чем может быть проблема ? (кстати установлен SEOPRO) но он как я понял вполняет функцию автозаполнения

  3. Большое вам спасибо!!!

    Получилось настроить ? у вас ocStore ?

    У меня проблема на сайте не работает SSL https (желтый треугольник) в браузере. а в админке все работает. подкажите как перевести все ссылки к виду https?

  4. это не есть хорошо, вы теряете кучу НЧ, портите ПФ и ломаете перелинковку

    я согласен что закрывать товары от индексации плохо. помогите тогда с модулем SEO PRO где его взять и как поставить ? и совместим ли он с моей версией 

  5.  

    так и должно быть

     

    вы хотите каждый день сами генерировать и закидывать?

    зачем?

     
     
    на сайте только 7 категорией в которых лежат товары и на них сразу кнопка добавления товара в корзину без возможности зайти на сам товар. 
     
    поэтому и хочу свою карту 1 раз подтянуть и все.
     
    ну или как вариант подскажите SEO PRO модуль для ocStore 2.1.0.2  чтоб сразу можно было настроить для всех страниц route= свой ЧПУ + избавиться от дублей товаров с возможностью автоматического заполнения seo url как для товаров и категорий. 
     
    а сейчас мне пришлось закрыть от индексации товары в robots.txt так как у низ некрасивый url.
  6.  

    ставьте альтернативный

     

     
     

    должно быть в htaccess

    RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
    

    в htaccess все верно как у вас в примере. 

    но карта доступна по двум путям одна и таже, стандартаная от модуля google_sitemap 

    А та что в корне сайта лежит которую я руками сделал он не показывается по   http://сайт/sitemap.xml

    что делать ?  :(

  7. Проблем с sitemap.xml Версия ocStore 2.1.0.2 

    включаю Google Sitemap, карта доступна по index.php?route=feed/google_sitemap 

     

    но меня не устраивает то что внутри неё много мусорных страниц. 

     

    Как сделать так чтоб карту которую я загружу в корень сайта была доступа по адресу  http://сайт/sitemap.xml а эта index.php?route=feed/google_sitemap  не учитывалась и не работала.

     

    Спасибо 
  8. Смотрите лог ошибок.

    Просто так нечего не бывает.

    У вас в описание есть фото(в табе описания), и оно ведёт на недоступный сайт, поэтому и фотка не отображается.

    А дополнительный фоток раз в исходном коде нету, значит потеряли их где-то в другом месте.(не тот файлик sql залили(старую версию, где ещё нету дополнительных фоток и т.д))

    Спасибо поправил ))

  9. Подскажите как исправить ошибку.

     

    После переноса сайта на живой Домен пропали дополнительные фото товаров, а остались только привью самого товара

     

    на компе на котором прописан хостс виртуального домена фотки есть а захожу с о стороннего ПК доп. фото нету 

     

    для примера ссылка на один из товаров http://kolorice.ru/kurtka-1314-beat-orange-pink

     

     

  10.  модули и vqmod  не устанавливал 

    я в настройках включил ЧПУ но оно не заработало

    дальше я гуглил и что то нашел где то в коде вроде менял строчку но точно не помню было ли это связано как то с ЧПУ

     

    дальше я скачал со стороннего сайта Htaccess залил его и ЧПУ стало работать 

  11. Ладно, зайдём с другой стороны.

    Если удалить всё что после

    RewriteCond %{HTTP_HOST} ^www.kolorice.ru$

    RewriteRule ^(.*)$ http://kolorice.ru/$1 [R=301,L]

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)

    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

     

    Тогда будет работать правильно?

    Удалил. и все равно товар дублируется в других категориях 

     

    Только что я назначил этому товару Baet Neon Orange

    такую категорию вывода:

     Горнолыжная одежда > Женская > Куртки 

    http://kolorice.ru/gornolyzhnaya-odezhda/zenskay/kurtki

     

    а он отобразился и по другим категориям (урлам):

    http://kolorice.ru/gornolyzhnaya-odezhda/muzhskaya/kurtki

    http://kolorice.ru/snoubordicheskaya-odezhda/muzhskaya/kurtki

    http://kolorice.ru/snoubordicheskaya-odezhda/zhenskaya/kurtki

     

    что то тут наверно с реализацией ЧПУ наверчено (почему товару присваиваются и другие категории?! знач он не различает родительские категории и смотрит на конец урла ) Я уже месяц с этим борюсь и не как  

  12. Поконкретней, откуда, куда?

    Как именно должен был происходить редирект?

    Проблема вот в чем 

     

    ПРИ включении ЧПУ товар дублируется в Другой категории

    Добавляю товар. присваиваю ему вывод в категории

     

    Главная   »   Горнолыжная одежда   »   Мужская   »   Штаны      http://kolorice.ru/g...uzhskaya/shtany

     

    и он появляется не только в этой категории а еще и в 

     

    Главная   »   Сноубордическая одежда   »   Мужская   »   Штаны      http://kolorice.ru/s...uzhskaya/shtany

     

    отключаю ЧПУ все нормально. 

  13. RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)

    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

    Которое перед

    ### Additional Settings that may need to be enabled for some servers

    Удалите.

     

     

    удаляю это

     

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)

    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

     

    все тоже остается 

     

    Удаляю только это тоже самое нечего не меняется

    RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]

     
    Удаляю все это
    RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

     

    тоже нечего не происходит (

  14. При включении ЧПУ товар дублируется в другой категории

    Добавляю товар. присваиваю ему вывод в категории

     

    Главная  »  Горнолыжная одежда  »  Мужская  »  Штаны     http://kolorice.ru/gornolyzhnaya-odezhda/muzhskaya/shtany

     

    и он появляется не только в этой категории а еще и в 

     

    Главная  »  Сноубордическая одежда  »  Мужская  »  Штаны     http://kolorice.ru/snoubordicheskaya-odezhda/muzhskaya/shtany

     

    отключаю ЧПУ все нормально. 

     

    мой Htaccess? копировал его со стороннего сайта дабы сделать 301 редерект с не главного на главное зеркало сайта 

     

    # 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

    # 2. In your opencart directory rename htaccess.txt to .htaccess.

    # For any support issues please visit: http://www.opencart.com

    Options +FollowSymlinks

    # Prevent Directoy listing
    Options -Indexes

    # Prevent Direct Access to files

    Order deny,allow
    Deny from all


    # SEO URL Settings
    RewriteEngine On
    # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

    RewriteCond %{HTTP_HOST} ^www.kolorice.ru$
    RewriteRule ^(.*)$ http://kolorice.ru/$1 [R=301,L]

    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

    #RewriteRule ^clothe/stl$ index.php?route=category/manufacturer&c_id=87&man_id=11 [L]


    #RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]








    RewriteRule ^clothe/stl index.php?route=category/manufacturer&c_id=87&man_id=11 [L]
    RewriteRule ^snowboard/ride index.php?route=category/manufacturer&c_id=65&man_id=12 [L]
    RewriteRule ^hudi/stl index.php?route=category/manufacturer&c_id=63&man_id=11 [L]
    RewriteRule ^accesoires/stl index.php?route=category/manufacturer&c_id=64&man_id=11 [L]





    RewriteRule ^([^?]*)___([^?]*) index.php?route=$1/$2 [L]

    RewriteRule ^returnprod index.php?route=account/return/insert [L]


    RewriteRule ^product/([0-9]+)(/|) index.php?route=product/product&product_id=$1 [L]



    RewriteRule ^snowboard/new index.php?route=product/category&path=65&filter=15 [L]
    RewriteRule ^snowboard/used index.php?route=product/category&path=65&filter=16 [L]





    RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

    ### Additional Settings that may need to be enabled for some servers
    ### Uncomment the commands by removing the # sign in front of it.
    ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

    # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
    # php_flag register_globals off

    # 2. If your cart has magic quotes enabled, This may work to disable it:
    # php_flag magic_quotes_gpc Off

    # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
    # php_value upload_max_filesize 999M

    # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value post_max_size 999M

    # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_execution_time 200

    # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_input_time 200

  15.  

    Включите твиттер кнопку и замените:

    <?php if (!empty($block['twitter']['embed_code'])) echo $block['twitter']['embed_code']; ?>

    На:

    <div>
    <script type="text/javascript" src="//vk.com/js/api/openapi.js?113"></script>
    <!-- VK Widget -->
    <div id="vk_groups"></div>
    <script type="text/javascript">
    VK.Widgets.Group("vk_groups", {mode: 0, width: "220", height: "400", color1: 'FFFFFF', color2: '2B587A', color3: '5B7FA6'}, 49977638);
    </script>
    </div>
     
    Можно было сделать по другому, ну да ладно.

     

    Во четко все получилось. ОГРОМНЕЙШЕЕ СПАСИБО  ВАМ

  16. Смотрите данный файлик в дефолтовом шаблоне (по умолчанию)

    
    

    ? PHP

    / * ------------------------------------------------ -------------------------- /

    * @ Автор KulerThemes.com http://www.kulerthemes.com

    * @ Copyright Copyright © 2012 - 2013 KulerThemes.com. Все права защищены.

    * @ Лицензия KulerThemes.com проприетарной лицензией

    / ------------------------------------------------- -------------------------- * /

    >

     

     

  17. Каталог / контроллер / модуль / kulercp.php

    выложите сюда.

    /*--------------------------------------------------------------------------/

    * @Author KulerThemes.com http://www.kulerthemes.com

    * @Copyright Copyright © 2012 - 2013 KulerThemes.com. All rights reserved.

    * @License KulerThemes.com Proprietary License

    /---------------------------------------------------------------------------*/

    class ControllerModuleKulercp extends Controller {

    const TEMPORARY_COLOR_SCHEME_CSS_KEY = 'kcp_temporary_color_scheme_css';

    private $options;

    public function index() {

    header('Access-Control-Allow-Origin: *');

    $this->load->model('setting/setting');

    $settings = $this->model_setting_setting->getSetting('kulercp', $this->config->get('config_store_id'));

    $this->convertOldSettingsToNew($settings);

    $this->load->model('kuler/cp');

    $lang = (int)$this->config->get('config_language_id');

    $seo = $this->config->get('seo');

    $font = $this->config->get('font');

    $block = $this->config->get('blocks');

    $optimal = $this->config->get('optimal');

    $options = $this->getOptions();

    // Clear all style / script when disable mode for backend list theme style / script

    if(isset($this->request->get['kuler']) && $this->request->get['kuler'] == 'clean') {

    return;

    }

    // Get theme color style

    $this->config->set('kuler_theme_color', $settings['theme_color']);

    // Get Kuler Google Analysic

    if($seo && isset($seo['status']) && $seo['status'] && $this->config->get('config_google_analytics')) {

    $this->config->set('kuler_analytics_code', html_entity_decode($this->config->get('config_google_analytics'), ENT_QUOTES, 'UTF-8'));

    $this->config->set('kuler_analytics_position', $seo['position']);

    }

    // Get current scripts

    if($optimal && isset($optimal['script_theme']) && $optimal['script_theme']) {

    $this->config->set('kuler_compress_scripts', $this->model_kuler_cp->getCompressScripts());

    $this->config->set('kuler_compress_script_type', 'theme');

    }

    // Get current styles

    if($optimal && isset($optimal['style_theme']) && $optimal['style_theme']) {

    $this->config->set('kuler_compress_styles', $this->model_kuler_cp->getCompressStyles());

    $this->config->set('kuler_compress_style_type', 'theme');

    }

    // Get font config

    if($font && isset($font['heading']['status']) && $font['heading']['status'] == 1) {

    $font['heading'] = $font['heading'] + (isset($this->options['font']['heading']) ? $this->options['font']['heading'] : array());

    $this->config->set('kuler_heading_font', $font['heading']);

    } else {

    $this->config->set('kuler_heading_font', isset($this->options['font']['heading']) ? $this->options['font']['heading'] : array());

    }

    if($font && isset($font['body']['status']) && $font['body']['status'] == 1) {

    $font['body'] = $font['body'] + (isset($this->options['font']['body']) ? $this->options['font']['body'] : array());

    $this->config->set('kuler_body_font', $font['body']);

    } else {

    $this->config->set('kuler_body_font', isset($this->options['font']['body']) ? $this->options['font']['body'] : array());

    }

    // Block payment icons

    if(isset($block['payment']['status']) && $block['payment']['status'] && $block['payment']['items']) {

    $this->config->set('kuler_payment_status', 1);

    $payment_items = $block['payment']['items'];

    if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1')))

    {

    $server = $this->config->get('config_ssl');

    } else {

    $server = $this->config->get('config_url');

    }

    foreach ($payment_items as &$payment_item)

    {

    if (!empty($payment_item['image']))

    {

    $payment_item['link'] = '';

    }

    }

    $this->config->set('kuler_payment_items', $payment_items);

    }

    // Block count

    $count = 0;

    if($block['info']['status'] == 1) {

    $count++;

    }

    if($block['contact']['status'] == 1) {

    $count++;

    }

    if($block['twitter']['status'] == 1) {

    $count++;

    }

    if($block['facebook']['status'] == 1) {

    $count++;

    }

    // Process language

    $info = isset($block['info']) ? $block['info'] : null;

    if($info) {

    if (!isset($info[$lang]))

    {

    foreach ($info as $lang_info)

    {

    if (is_array($lang_info))

    {

    $default = $lang_info;

    break;

    }

    }

    $current = $default;

    }

    else

    {

    $current = $info[$lang];

    }

    $first_info = array();

    foreach ($info as $info_index => $info_value)

    {

    if ($info_index != 'status')

    {

    $first_info = $info_value;

    }

    }

    if (!isset($info[$lang]))

    {

    $info[$lang] = array();

    }

    foreach ($first_info as $key => $value)

    {

    if (empty($info[$lang][$key]))

    {

    $info[$lang][$key] = $value;

    }

    }

    $info[$lang]['status'] = $info['status'];

    $info[$lang]['description'] = html_entity_decode($info[$lang]['description'], ENT_QUOTES, 'UTF-8');

    $block['info'] = $info[$lang];

    }

    // Prepare block

    $block['contact']['title'] = $this->translate($block['contact']['title'], $lang);

    $block['twitter']['title'] = $this->translate($block['twitter']['title'], $lang);

    $block['facebook']['title'] = $this->translate($block['facebook']['title'], $lang);

    $this->language->load('module/kulercp');

    $this->data['heading_title'] = $this->language->get('heading_title');

    $this->data['text_contact'] = $this->language->get('text_contact');

    $this->data['text_sitemap'] = $this->language->get('text_sitemap');

    $this->data['block'] = $block;

    $this->data['count'] = $count;

    if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/kulercp.phtml')) {

    $this->template = $this->config->get('config_template') . '/template/module/kulercp.phtml';

    } else {

    $this->template = 'default/template/module/kulercp.phtml';

    }

    $this->render();

    if (!$block['info']['status'] && !$block['contact']['status'] && !$block['twitter']['status'] && !$block['facebook']['status'])

    {

    $this->output = false;

    }

    }

    public function colorScheme()

    {

    $this->load->model('setting/setting');

    $settings = $this->model_setting_setting->getSetting('kulercp', $this->config->get('config_store_id'));

    $this->convertOldSettingsToNew($settings);

    $this->output = false;

    if (($settings['preset'] == 'default' && $settings['custom_scheme']) || isset($this->session->data[self::TEMPORARY_COLOR_SCHEME_CSS_KEY]))

    {

    $this->load->model('kuler/cp');

    $css = isset($this->session->data[self::TEMPORARY_COLOR_SCHEME_CSS_KEY]) ? $this->session->data[self::TEMPORARY_COLOR_SCHEME_CSS_KEY] : $this->model_kuler_cp->colorSchemeCompile($settings['custom_scheme']);

    $this->output = '';

    return true;

    }

    }

    public function saveTemporaryColorScheme()

    {

    // Get color scheme

    $scheme = array();

    if (isset($this->request->get['color']))

    {

    // Get color scheme by color

    $color = $this->request->get['color'];

    $theme_options = $this->getOptions();

    if (isset($theme_options['color']) && isset($theme_options['color'][$color]) && is_array($theme_options['color'][$color]))

    {

    $scheme = $theme_options['color'][$color]['scheme'];

    }

    }

    else if ($this->request->get['scheme'] && is_array($this->request->get['scheme']))

    {

    // Get color scheme by input

    $scheme = $this->request->get['scheme'];

    }

    $output = '';

    if ($scheme)

    {

    // Generate CSS for color scheme

    $this->load->model('kuler/cp');

    $output = $this->model_kuler_cp->colorSchemeCompile($scheme);

    // Save output in session

    $this->session->data[self::TEMPORARY_COLOR_SCHEME_CSS_KEY] = $output;

    if (isset($this->request->get['scheme']))

    {

    $this->session->data['kcp_color_scheme'] = $this->request->get['scheme'];

    setcookie('kst_theme_color', 'custom');

    }

    if (isset($this->request->get['color']))

    {

    $this->session->data['kcp_color_scheme'] = array();

    setcookie('kst_theme_color', $this->request->get['color']);

    }

    }

    echo $output;

    }

    public function usePreset()

    {

    $settings = $this->config->get('kuler_cp_settings');

    if ($settings && isset($settings['preset']))

    {

    $preset_file = DIR_TEMPLATE . $this->config->get('config_template') . '/stylesheet/presets/' . $settings['preset'] . '.css';

    if (file_exists($preset_file))

    {

    $this->output = 'catalog/view/theme/' . $this->config->get('config_template') . '/stylesheet/presets/' . $settings['preset'] . '.css';

    return true;

    }

    }

    return false;

    }

    public function useCustomCSS()

    {

    $settings = $this->config->get('kuler_cp_settings');

    $custom_css_mask = DIR_TEMPLATE . '%s/stylesheet/%s';

    if ($settings && isset($settings['custom_css']) && $settings['custom_css']['status'] && isset($settings['custom_css']['current_file']))

    {

    $folder = '';

    if (!empty($settings['custom_css']['group']))

    {

    switch ($settings['custom_css']['group'])

    {

    case 'default':

    $folder = '';

    break;

    case 'preset':

    $folder = 'presets/';

    break;

    case 'custom':

    default:

    $folder = 'custom/';

    }

    }

    $file = $folder . $settings['custom_css']['current_file'];

    if (file_exists(sprintf($custom_css_mask, $this->config->get('config_template'), $file)))

    {

    $this->output = sprintf('catalog/view/theme/%s/stylesheet/%s', $this->config->get('config_template'), $file);

    return true;

    }

    }

    $this->output = false;

    }

    public function getCustomCopyright()

    {

    $blocks = $this->config->get('blocks');

    if (!is_array($blocks) || !isset($blocks['copyright']) || !$blocks['copyright']['status'])

    {

    return false;

    }

    $this->output = html_entity_decode($blocks['copyright']['content'], ENT_QUOTES, 'UTF-8');

    return true;

    }

    public function getProductImage($product_id)

    {

    $product = $this->model_catalog_product->getProduct($product_id);

    $this->output = $this->prepareImage($product['image']);

    return true;

    }

    public function getChildProductImages($product_id)

    {

    $results = $this->model_catalog_product->getProductImages($product_id);

    $images = array();

    foreach ($results as $result)

    {

    $images[] = array(

    'original' => $this->prepareImage($result['image']),

    'popup' => $this->model_tool_image->resize($result['image'], $this->config->get('config_image_popup_width'), $this->config->get('config_image_popup_height')),

    'thumb' => $this->model_tool_image->resize($result['image'], $this->config->get('config_image_additional_width'), $this->config->get('config_image_additional_height'))

    );

    }

    $this->output = $images;

    return true;

    }

    protected function convertOldSettingsToNew(array &$settings)

    {

    // Theme Color

    if (empty($settings['kuler_cp_theme_color']))

    {

    $settings['theme_color'] = $settings['color']['status'];

    }

    else

    {

    $settings['theme_color'] = $settings['kuler_cp_theme_color'];

    }

    // Color Scheme

    if (empty($settings['kuler_cp_custom_scheme']))

    {

    // TODO: Default value

    $settings['custom_scheme'] = array();

    }

    else

    {

    $settings['custom_scheme'] = $settings['kuler_cp_custom_scheme'];

    }

    // Preset

    if (isset($settings['kuler_cp_settings']) && isset($settings['kuler_cp_settings']['preset']))

    {

    $settings['preset'] = $settings['kuler_cp_settings']['preset'];

    }

    else

    {

    $settings['preset'] = 'default';

    }

    }

    private function getOptions() {

    $options = array();

    $config = DIR_TEMPLATE . $this->config->get('config_template') . '/includes/options.tpl';

    if (file_exists($config)) {

    $options = include($config);

    if(is_array($options) == false) {

    return array();

    } else {

    $this->options = $options;

    }

    }

    return $options;

    }

    private function translate($texts, $language_id)

    {

    if (is_array($texts))

    {

    $first = current($texts);

    if (is_string($first))

    {

    $texts = empty($texts[$language_id]) ? $first : $texts[$language_id];

    }

    else if (is_array($texts))

    {

    if (!isset($texts[$language_id]))

    {

    $texts[$language_id] = array();

    }

    foreach ($first as $key => $value)

    {

    if (empty($texts[$language_id][$key]))

    {

    $texts[$language_id][$key] = $value;

    }

    }

    }

    }

    return $texts;

    }

    private function prepareImage($image)

    {

    $front_store_url = $this->getFrontStoreUrl();

    if (!empty($image))

    {

    return $front_store_url . 'image/' . $image;

    }

    else

    {

    return $this->model_tool_image->resize('no_image.jpg', $this->config->get('config_image_popup_width'), $this->config->get('config_image_popup_height'));

    }

    }

    private function getFrontStoreUrl()

    {

    if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1')))

    {

    $server = $this->config->get('config_ssl');

    }

    else

    {

    $server = $this->config->get('config_url');

    }

    return $server;

    }

    }

    ?>

  18. в footer.tpl, куда собственно и вставляли предыдущий код(javascript)

    Но в этом файле нет shop-info (( 

     

    Вот весь файл 

     

    config->get('color') && $bottom = $this->getChild('module/kulercp')) { ?>

     

    config->get('kuler_payment_status') && $this->config->get('kuler_payment_items')) { ?>

    config->get('kuler_payment_items'); ?>

    • $item) { ?>

    config->get('color') && $custom_copyright = $this->getChild('module/kulercp/getcustomcopyright')) { ?>

    config->get('kuler_analytics_position') == 'bottom') echo $this->config->get('kuler_analytics_code'); ?>

  19. У id="shop-info"

    Заменить:

    class="col grid-2"

    на

    class="col grid-3"

     

    У id="shop-twitter"  проделать тоже самое(читаем выше)

     

    После <div id="shop-twitter" class="col grid-3">, точнее после закрывающего тега <div id="shop-twitter" class="col grid-3">

    Вставить:

    <div class="col grid-3">

    <script type="text/javascript" src="//vk.com/js/api/openapi.js?113"></script>

    <!-- VK Widget -->

    <div id="vk_groups"></div>

    <script type="text/javascript">

    VK.Widgets.Group("vk_groups", {mode: 0, width: "220", height: "400", color1: 'FFFFFF', color2: '2B587A', color3: '5B7FA6'}, 49977638);

    </script>

    </div>

    Подскажите в каком файле все это редактировать? 

×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.