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

Fanes [Поддержка]


Romanbbws

Recommended Posts

3 часа назад, VadiMAnatolich сказал:

Подскажите!!!! вообще сложно заставить шаблон? или это к движку???  работать с SSL  ????

а то у меня почему то вся верстка летит  при переходе через https

Или в конфигах не указан https или редирект не настроен с http на https

Надіслати
Поділитися на інших сайтах

18 часов назад, valera1991 сказал:

Или в конфигах не указан https или редирект не настроен с http на https

если не сложно ,ткните носом где в конфигах должно быть указано ?

Надіслати
Поділитися на інших сайтах


Добрый день! При попытке установить архив при распаковке файлов приходит сообщение об ошибке. При этом тип ошибки неизвестен. OcStore 3

Спойлер

Screenshot_1.pngScreenshot_1.thumb.png.44f381d4102422b8571cd5aeb7bbee6f.png

 

 

Змінено користувачем LucyFo
Надіслати
Поділитися на інших сайтах


3 часа назад, LucyFo сказал:

Добрый день! При попытке установить архив при распаковке файлов приходит сообщение об ошибке. При этом тип ошибки неизвестен. OcStore 3

  Скрыть контент

Screenshot_1.pngScreenshot_1.thumb.png.44f381d4102422b8571cd5aeb7bbee6f.png

 

 

Фтп настроен?

Надіслати
Поділитися на інших сайтах

5 часов назад, VadiMAnatolich сказал:

если не сложно ,ткните носом где в конфигах должно быть указано ?

Корень сайта файл конфиг, там есть в первых строчках адрес вашего сайта, так же в папке админ есть такой же Файт config.php проверьте. Но скорее всего у вас не настроен редирект с http на https. Настроить это можно в панели управления хостингом или руками.

Надіслати
Поділитися на інших сайтах

20 часов назад, valera1991 сказал:

Фтп настроен?

я новичок. поэтому попрошу помощи. сайт лежит на хостинге. фтп нужно настраивать на хостинге или в админпанели сайта? и как именно? спасибо

Надіслати
Поділитися на інших сайтах


1 час назад, LucyFo сказал:

я новичок. поэтому попрошу помощи. сайт лежит на хостинге. фтп нужно настраивать на хостинге или в админпанели сайта? и как именно? спасибо

 

Здравствуйте. Сложно сказать в чем дело. На OcStore 3 подобных проблем замечено не было. 

Скиньте в лс ссылку на сайт и доступ к админ панели. 

Надіслати
Поділитися на інших сайтах

В 08.04.2020 в 13:05, VadiMAnatolich сказал:

Подскажите!!!! вообще сложно заставить шаблон? или это к движку???  работать с SSL  ????

а то у меня почему то вся верстка летит  при переходе через https

у меня на хостинге есть Управление https   
и я выбрал пункт Переадресовывать запросы с http на https

и после этого все востановилось и начало нормально работать )
 spacer.png

Надіслати
Поділитися на інших сайтах


Спасибо огромное за шаблон. Такой вопрос, как сделать номер телефона в шапке кликабельным?

и как емейл, телефон и часы работы выровнять по левому краю?

Надіслати
Поділитися на інших сайтах


  • 2 weeks later...

@Nataleytina , Здравствуйте ! в конце файла stylesheet.css вставьте код 

 

.left-panel .price-block span {
    font-size: 17px !important; /*Размер шрифта*/
    color: crimson !important; /*Цвет*/
}



.radio label {
    font-size: 17px !important; /*Размер шрифта*/
}

 

 

Цвет и размер шрифта установите какой вам нужен. 

 

 

Надіслати
Поділитися на інших сайтах

17 часов назад, Maxja сказал:

Здравствуйте.

Как включить кнопки список и сетка в каталоге как в дефолтном шаблоне?

2020-04-24_17-36-18.png.592d430016be53a9be83f44d9eba9aad.png

 

Здравствуйте! Никак эти кнопки вырезаны с шаблона. 

Надіслати
Поділитися на інших сайтах

2 часа назад, Dm007 сказал:

Роман, с шаблоном Fanes не работает модуль замены нулевой цены на текст. Не подскажите, как исправить вручную?

 

Для начала посмотреть файлы модуля и глянуть где что (скорее всего в модификаторе должна быть вставка кода в файл product ) перенесите код из модификатора в файл в нужное место.

Надіслати
Поділитися на інших сайтах

27 минут назад, valera1991 сказал:

Для начала посмотреть файлы модуля и глянуть где что (скорее всего в модификаторе должна быть вставка кода в файл product ) перенесите код из модификатора в файл в нужное место.

Вот сам модуль, вы были правы. Можете выделить, какие строки мне надо заменить в product? 

Спойлер

<?xml version="1.0" encoding="UTF-8"?>

-<modification>

<name>Price request</name>

<code>price_request</code>

<version>1.0.0</version>

<author>mars1an</author>

<link>http://forum.myopencart.com/members/mars1an.611/</link>
-<file path="catalog/controller/product/*.php">
-<operation error="skip">
-<search>

-<![CDATA[$data['breadcrumbs'] = array();]]>
</search>
-<add position="before">

-<![CDATA[
                $data['text_no_price'] = sprintf($this->language->get('text_no_price'), $this->url->link('information/contact'));
                $data['url_request_price'] = $this->url->link('information/contact');
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/ru*/product/*.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_model']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Цена по запросу</a>';
$_['text_request_price']                          = 'Запросить цену';
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/en*/product/*.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_model']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Price on request</a>';
$_['text_request_price']                          = 'Request a price';]]>
</add>

</operation>

</file>
-<file path="catalog/controller/extension/module/{bestseller,featured,latest,special}.php">
-<operation error="skip">
-<search>

-<![CDATA[$data['products'] = array();]]>
</search>
-<add position="after">

-<![CDATA[
                $data['text_no_price'] = sprintf($this->language->get('text_no_price'), $this->url->link('information/contact'));
                $data['url_request_price'] = $this->url->link('information/contact');
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/ru*/extension/module/{bestseller,featured,latest,special}.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_tax']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Цена по запросу</a>';
$_['text_request_price']                          = 'Запросить цену';
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/en*/extension/module/{bestseller,featured,latest,special}.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_tax']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Price on request</a>';
$_['text_request_price']                          = 'Request a price';]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/product.twig">


-<operation>


-<search>

-<![CDATA[<h2>{{ price }}</h2>]]>
</search>


-<add position="replace">

-<![CDATA[
              {% if ((price_value is defined and price_value == 0) or (price_value is not defined and price == 0)) %}
                <h2>{{ text_no_price }}</h2>
              {% else %}
                <h2>{{ price }}</h2>
              {% endif %}
            ]]>
</add>

</operation>


-<operation>


-<search>

-<![CDATA[<button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>]]>
</search>


-<add position="replace">

-<![CDATA[
              {% if ((price_value is defined and price_value == 0) or (price_value is not defined and price == 0)) %}
                <button type="button" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block" disabled="disabled">{{ button_cart }}</button>
              {% else %}
                <button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>
              {% endif %}
            ]]>
</add>

</operation>


-<operation>


-<search>

-<![CDATA[<button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span> <i class="fa fa-shopping-cart"></i></button>]]>
</search>


-<add position="replace">

-<![CDATA[
              {% if (product.price == 0) %}
                <style>
                .product-thumb .button-group button:disabled, button[disabled] {
                  color: #aaa;
                  background-color: #eee;
                  text-decoration: none;
                  cursor: default;
                }
                </style>
                <button type="button" disabled="disabled"><span class="hidden-xs hidden-sm hidden-md"{{ button_cart }}</span> <i class="fa fa-shopping-cart"></i></button>
              {% else %}
                <button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span> <i class="fa fa-shopping-cart"></i></button>
              {% endif %}
            ]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/{category,compare,manufacturer_info,product,search,special}.twig">


-<operation>


-<search index="0">

-<![CDATA[{{ product.price }}]]>
</search>


-<add position="replace">

-<![CDATA[{{ product.price == 0 ? text_no_price : product.price }}]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/{category,manufacturer_info,search,special}.twig">


-<operation>


-<search>

-<![CDATA[<button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>]]>
</search>


-<add position="replace">

-<![CDATA[
            {% if (product.price == 0) %}
                <style>
                    .product-thumb .button-group button:disabled, button[disabled] {
                        color: #aaa;
                        background-color: #eee;
                        text-decoration: none;
                        cursor: default;
                    }
                </style>
                <button type="button" disabled="disabled"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% else %}
                <button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% endif %}
            ]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/compare.twig">


-<operation>


-<search>

-<![CDATA[<td><input type="button" value="{{ button_cart }}" class="btn btn-primary btn-block" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');" />]]>
</search>


-<add position="replace">

-<![CDATA[
            {% if (product.price == 0) %}
                <td><input type="button" value="{{ button_cart }}" class="btn btn-primary btn-block" disabled />
            {% else %}
                <td><input type="button" value="{{ button_cart }}" class="btn btn-primary btn-block" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');" />
            {% endif %}
            ]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/extension/module/{bestseller,featured,latest,special}.twig">


-<operation>


-<search index="0">

-<![CDATA[{{ product.price }}]]>
</search>


-<add position="replace">

-<![CDATA[{{ product.price == 0 ? text_no_price : product.price }}]]>
</add>

</operation>


-<operation>


-<search>

-<![CDATA[<button type="button" onclick="cart.add('{{ product.product_id }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>]]>
</search>


-<add position="replace">

-<![CDATA[
            {% if (product.price == 0) %}
                <style>
                    .product-thumb .button-group button:disabled, button[disabled] {
                        color: #aaa;
                        background-color: #eee;
                        text-decoration: none;
                        cursor: default;
                    }
                </style>
                <button type="button" disabled="disabled"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% else %}
                <button type="button" onclick="cart.add('{{ product.product_id }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% endif %}
            ]]>
</add>

</operation>

</file>

</modification>

 

price_request_oc3.ocmod.zip

Змінено користувачем Dm007
Надіслати
Поділитися на інших сайтах


18 минут назад, Dm007 сказал:

Вот сам модуль, вы были правы. Можете выделить, какие строки мне надо заменить в product? 

  Показать контент

<?xml version="1.0" encoding="UTF-8"?>

-<modification>

<name>Price request</name>

<code>price_request</code>

<version>1.0.0</version>

<author>mars1an</author>

<link>http://forum.myopencart.com/members/mars1an.611/</link>
-<file path="catalog/controller/product/*.php">
-<operation error="skip">
-<search>

-<![CDATA[$data['breadcrumbs'] = array();]]>
</search>
-<add position="before">

-<![CDATA[
                $data['text_no_price'] = sprintf($this->language->get('text_no_price'), $this->url->link('information/contact'));
                $data['url_request_price'] = $this->url->link('information/contact');
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/ru*/product/*.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_model']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Цена по запросу</a>';
$_['text_request_price']                          = 'Запросить цену';
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/en*/product/*.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_model']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Price on request</a>';
$_['text_request_price']                          = 'Request a price';]]>
</add>

</operation>

</file>
-<file path="catalog/controller/extension/module/{bestseller,featured,latest,special}.php">
-<operation error="skip">
-<search>

-<![CDATA[$data['products'] = array();]]>
</search>
-<add position="after">

-<![CDATA[
                $data['text_no_price'] = sprintf($this->language->get('text_no_price'), $this->url->link('information/contact'));
                $data['url_request_price'] = $this->url->link('information/contact');
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/ru*/extension/module/{bestseller,featured,latest,special}.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_tax']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Цена по запросу</a>';
$_['text_request_price']                          = 'Запросить цену';
            ]]>
</add>

</operation>

</file>
-<file path="catalog/language/en*/extension/module/{bestseller,featured,latest,special}.php">
-<operation error="skip">
-<search>

-<![CDATA[$_['text_tax']]]>
</search>
-<add position="before">

-<![CDATA[
$_['text_no_price']                               = '<a href="%s">Price on request</a>';
$_['text_request_price']                          = 'Request a price';]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/product.twig">


-<operation>


-<search>

-<![CDATA[<h2>{{ price }}</h2>]]>
</search>


-<add position="replace">

-<![CDATA[
              {% if ((price_value is defined and price_value == 0) or (price_value is not defined and price == 0)) %}
                <h2>{{ text_no_price }}</h2>
              {% else %}
                <h2>{{ price }}</h2>
              {% endif %}
            ]]>
</add>

</operation>


-<operation>


-<search>

-<![CDATA[<button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>]]>
</search>


-<add position="replace">

-<![CDATA[
              {% if ((price_value is defined and price_value == 0) or (price_value is not defined and price == 0)) %}
                <button type="button" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block" disabled="disabled">{{ button_cart }}</button>
              {% else %}
                <button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>
              {% endif %}
            ]]>
</add>

</operation>


-<operation>


-<search>

-<![CDATA[<button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span> <i class="fa fa-shopping-cart"></i></button>]]>
</search>


-<add position="replace">

-<![CDATA[
              {% if (product.price == 0) %}
                <style>
                .product-thumb .button-group button:disabled, button[disabled] {
                  color: #aaa;
                  background-color: #eee;
                  text-decoration: none;
                  cursor: default;
                }
                </style>
                <button type="button" disabled="disabled"><span class="hidden-xs hidden-sm hidden-md"{{ button_cart }}</span> <i class="fa fa-shopping-cart"></i></button>
              {% else %}
                <button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span> <i class="fa fa-shopping-cart"></i></button>
              {% endif %}
            ]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/{category,compare,manufacturer_info,product,search,special}.twig">


-<operation>


-<search index="0">

-<![CDATA[{{ product.price }}]]>
</search>


-<add position="replace">

-<![CDATA[{{ product.price == 0 ? text_no_price : product.price }}]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/{category,manufacturer_info,search,special}.twig">


-<operation>


-<search>

-<![CDATA[<button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>]]>
</search>


-<add position="replace">

-<![CDATA[
            {% if (product.price == 0) %}
                <style>
                    .product-thumb .button-group button:disabled, button[disabled] {
                        color: #aaa;
                        background-color: #eee;
                        text-decoration: none;
                        cursor: default;
                    }
                </style>
                <button type="button" disabled="disabled"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% else %}
                <button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% endif %}
            ]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/product/compare.twig">


-<operation>


-<search>

-<![CDATA[<td><input type="button" value="{{ button_cart }}" class="btn btn-primary btn-block" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');" />]]>
</search>


-<add position="replace">

-<![CDATA[
            {% if (product.price == 0) %}
                <td><input type="button" value="{{ button_cart }}" class="btn btn-primary btn-block" disabled />
            {% else %}
                <td><input type="button" value="{{ button_cart }}" class="btn btn-primary btn-block" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');" />
            {% endif %}
            ]]>
</add>

</operation>

</file>


-<file path="catalog/view/theme/default/template/extension/module/{bestseller,featured,latest,special}.twig">


-<operation>


-<search index="0">

-<![CDATA[{{ product.price }}]]>
</search>


-<add position="replace">

-<![CDATA[{{ product.price == 0 ? text_no_price : product.price }}]]>
</add>

</operation>


-<operation>


-<search>

-<![CDATA[<button type="button" onclick="cart.add('{{ product.product_id }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>]]>
</search>


-<add position="replace">

-<![CDATA[
            {% if (product.price == 0) %}
                <style>
                    .product-thumb .button-group button:disabled, button[disabled] {
                        color: #aaa;
                        background-color: #eee;
                        text-decoration: none;
                        cursor: default;
                    }
                </style>
                <button type="button" disabled="disabled"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% else %}
                <button type="button" onclick="cart.add('{{ product.product_id }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
            {% endif %}
            ]]>
</add>

</operation>

</file>

</modification>

 

price_request_oc3.ocmod.zip 1 \u043a\u0411 · 0 downloads

Вот с этой строки и вниз где прописывается путь к файлам замените default на название темы fanes и должно заработать. catalog/view/theme/default/template/product/product.twig

Надіслати
Поділитися на інших сайтах

Здравствуйте!

Подскажите, пожалуйста, как поменять название "Категории" на "Шины и диски" и в кнопке "личный кабинет" поменять картинку на надпись "личный кабинет"?

Спасибо за шаблон!

Надіслати
Поділитися на інших сайтах


@Bayutin,  Добрый день! Отредактировать языковой файл catalog/language/ru-ru/common/header.php 

Надіслати
Поділитися на інших сайтах

@Dm007, Держите price_request_oc3_fanes.ocmod.zip должно работать. 

Надіслати
Поділитися на інших сайтах

1 минуту назад, Maxja сказал:

А врезать обратно возможно?

 

Можно! Но нужно переделывать шаблон. 

Надіслати
Поділитися на інших сайтах

2 часа назад, Maxja сказал:

Эх... Такую нужную функцию выпилили. Только из-за отсутствия этих кнопок такой шаблон неудобен.

А чем не удобен? Где вы такую функцию используете (имею ввиду для каких целей) можно на пример глянуть?

Надіслати
Поділитися на інших сайтах

4 часа назад, Romanbbws сказал:

@Dm007, Держите price_request_oc3_fanes.ocmod.zip должно работать. 

Спасибо, я уже переделал!

Долго мучался с установкой - слетал блог в меню и раздел информации при установке модуля. В итоге установил все, обновил кэш, выключил в модификаторах шаблон и модули, обновил кэш, включил шаблон и модули, обновил кэш - вроде заработало!)

Еще раз спасибо!)

Надіслати
Поділитися на інших сайтах


Створіть аккаунт або увійдіть для коментування

Ви повинні бути користувачем, щоб залишити коментар

Створити обліковий запис

Зареєструйтеся для отримання облікового запису. Це просто!

Зареєструвати аккаунт

Вхід

Уже зареєстровані? Увійдіть тут.

Вхід зараз
  • Зараз на сторінці   0 користувачів

    • Ні користувачів, які переглядиють цю сторінку

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

Important Information

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