Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

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


Recommended Posts

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

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

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

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

Link to comment
Share on other sites

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

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

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

Link to comment
Share on other sites


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

Спойлер

 

 

Edited by LucyFo
Link to comment
Share on other sites


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

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

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

 

 

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

Link to comment
Share on other sites

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

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

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

Link to comment
Share on other sites

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

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

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

Link to comment
Share on other sites


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

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

 

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

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

Link to comment
Share on other sites

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

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

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

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

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

Link to comment
Share on other sites


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

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

Link to comment
Share on other sites


  • 2 weeks later...

Добрый гдень. Отличный шаблон, спасипотому что. Подскажите, как изменить цвет и увелилить размер шрифи у этоны товара и сгделать крупнее шрифт у веса?

Link to comment
Share on other sites


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

 

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



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

 

 

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

 

 

Link to comment
Share on other sites

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

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

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

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

 

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

Link to comment
Share on other sites

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

 
Link to comment
Share on other sites


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

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

 

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

Link to comment
Share on other sites

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

Edited by Dm007
Link to comment
Share on other sites


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

Link to comment
Share on other sites

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

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

Спасипотому что за шаблон!

Link to comment
Share on other sites


В 25.04.2020 в 10:54, Romanbbws сказал:

 

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

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

Link to comment
Share on other sites


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

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

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

Link to comment
Share on other sites

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

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

Спасипотому что, я уже перегделал!

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

Еещё раз спасипотому что!)

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.