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

Recommended Posts

Доброго времени! Подскажите пожалуйси, что нужно дописать в стили, чтобы шапка сайи (им ггде Главная, учётная запись и т.д.) закрепилась, т.е при скролинге её было видно вверху, если это возможно.

Link to comment
Share on other sites


Естественно, а как иначе должно быть, если вы добавили ик много пунктов в меню верхнее? Сокращайте их кол-во, им вообещё должно быть максимум 5-6 элементов, чтобы все помещалось даже на экранах планшетов.

Link to comment
Share on other sites

22 минуты назад, RGB сказал:

Естественно, а как иначе должно быть, если вы добавили ик много пунктов в меню верхнее? Сокращайте их кол-во, им вообещё должно быть максимум 5-6 элементов, чтобы все помещалось даже на экранах планшетов.

Понял, спасипотому что)

Link to comment
Share on other sites


Подскажите пожалуйси, как убрать дубль названия товара в описании?
Особенно сильно бросается в глаза, когда в описании ничего нет...
joxi_screenshot_1503668497591.png.023bfd79beb76039e0ed9d429a96a274.png

Link to comment
Share on other sites


А как вы его туда добавили? Да и уберите, шаблон-то причем згдесь, если заголовок согдержится прямо в описании товара (насколько я понимаю по скрину), у меня же на гдемо нет икого https://old.moneymaker2.com/index.php?route=product/product&path=62_77&product_id=104

Link to comment
Share on other sites

Я его туда не добавлял.

Подозреваю, что это связано с усиновкой SEO Pack PLUS, потому что раньше я не замечал этого...

Edited by Dmiter76
Link to comment
Share on other sites


6 минут назад, Dmiter76 сказал:

Я его туда не добавлял.

Подозреваю, что это связано с усиновкой SEO Pack PLUS, потому что раньше я не замечал этого...

не то что связано а ещё куча неожиданностей вас поджидает с этим недомодулем.
 

Link to comment
Share on other sites

В 21.02.2016 в 10:01, RGB сказал:

Еещё в конэто, в <div class="tab-content"> нужно у description убрать в "tab-pane" active и добавить к specification, соответственно.

При этом у всех товаров должны быть указаны характеристики

Подскажите, с последним пунктом немножко посложнее. Там 2 раза встречается active, что именно убрать и куда всивить? Спасипотому что

Спойлер

<div class="tab-content">
            <?php if ($this->config->get('mmr_product_description_disabled')!=1) { ?>
            ><?php if ($attribute_groups||$this->config->get('mmr_product_specification_model_disabled')!=1||$this->config->get('mmr_product_specification_brand_disabled')!=1||$this->config->get('mmr_product_specification_weight_disabled')!=1||$this->config->get('mmr_product_specification_dimensions_disabled')!=1) { ?>
            <div class="tab-pane <?php if ($this->config->get('mmr_product_tabs_disabled')==1||$this->config->get('mmr_product_description_disabled')==1) { ?>active<?php } ?>" id="tab-specification">
              
              <table class="table <?php if ($this->config->get('mmr_product_specification_table_hover')!=1) { ?>table-hover<?php } ?> <?php if ($this->config->get('mmr_product_specification_table_bordered')) { ?>table-bordered<?php } ?> <?php if ($this->config->get('mmr_product_specification_row_bordered')) { ?>table-row-bordered<?php } ?> <?php if ($this->config->get('mmr_product_specification_table_striped')) { ?>table-striped<?php } ?> <?php if ($this->config->get('mmr_product_specification_table_condensed')) { ?>table-condensed<?php } ?>">
                <?php if ($this->config->get('mmr_product_specification_model_disabled')!=1||$this->config->get('mmr_product_specification_brand_disabled')!=1||$this->config->get('mmr_product_specification_weight_disabled')!=1||$this->config->get('mmr_product_specification_dimensions_disabled')!=1) { ?>
                <?php if ($this->config->get('mmr_product_specification_headers_disabled')!=1) { ?>
                <tbody>
                <tr>
                  <th colspan="2"><strong><?php echo $heading_title; ?></strong></th>
                </tr>
                </tbody>
                  <?php } ?>
                </div>
              </div>
              <?php } ?>
            </div>
            <?php } ?>
            <?php if ($this->config->get('mmr_product_specification_disabled')!=1) { ?>
            <div class="tab-pane active" id="tab-description">
              
              <div itemprop="description"><?php echo $description; ?></div>
              <?php if (!$mmr_buyhide&&($this->config->get('mmr_product_description_cart_button_disabled')!=1||($mmr_qorder&&$this->config->get('mmr_quickorder_description_button_disabled')!=1))) { ?>
              <div class="text-center">
                <div class="btn-group btn-group-lg additional-buttons">
                  <?php if ($this->config->get('mmr_product_description_cart_button_disabled')!=1&&$mmr_qorder&&$this->config->get('mmr_quickorder_description_button_disabled')!=1) { ?>
                  <button type="button" onclick="$('#button-cart').click();" data-toggle="tooltip" title="<?php echo $button_cart; ?>" class="btn btn-primary"><i class="fa fa-shopping-cart"></i><?php if (!$this->config->get('mmr_product_buy_caption_hidden')) { ?> <span class="<?php if ($mmr_cols == 2) { echo 'hidden-md hidden-sm hidden-xxs';} else {echo 'hidden-xxs';}  ?>"><?php echo $button_cart; ?></span><?php } ?></button><input type="text" data-toggle="tooltip" class="form-control input-lg middle-input hidden-xxs" name="quantities" size="2" value="<?php echo $minimum; ?>" title="<?php echo $text_qty; ?>" />
                  <?php } else if ($this->config->get('mmr_product_description_cart_button_disabled')!=1) { ?>
                  <button type="button" onclick="$('#button-cart').click();" data-toggle="tooltip" title="<?php echo $button_cart; ?>" class="btn btn-primary"><i class="fa fa-shopping-cart"></i><?php if (!$this->config->get('mmr_product_buy_caption_hidden')) { ?> <span><?php echo $button_cart; ?></span><?php } ?></button><input type="text" data-toggle="tooltip" class="form-control input-lg last-input" name="quantities" size="2" value="<?php echo $minimum; ?>" title="<?php echo $text_qty; ?>" />
                  <?php } ?>
                  <?php if ($mmr_qorder&&$this->config->get('mmr_quickorder_description_button_disabled')!=1) { ?>
                  <a href="javascript:void(0);" data-toggle="tooltip" title="<?php echo $this->language->get('text_mmr_quickorder_button'); ?>" class="btn btn-default btn-quickorder"><i class="fa fa-flip-horizontal fa-reply-all"></i><?php if (!$this->config->get('mmr_quickorder_buy_caption_hidden')) { ?> <span><?php echo $this->language->get('text_mmr_quickorder_button'); ?></span><?php } ?></a
                <?php } ?>
                <tbody>
                <?php if ($this->config->get('mmr_product_specification_model_disabled')!=1) { ?>
                <tr>
                  <td><?php echo $text_model; ?></td>
                  <td itemprop="model"><?php echo $model; ?></td>
                </tr>
                <?php } ?>
                <?php if ($this->config->get('mmr_product_specification_brand_disabled')!=1) { ?>
                <tr>
                  <td><?php echo $text_manufacturer; ?></td>
                  <td><a href="<?php echo $manufacturers; ?>" itemprop="manufacturer"><?php echo $manufacturer; ?></a></td>
                </tr>
                <?php } ?>
                <?php if ($weight||$length||$width||$height) { ?>
                <?php $this->language->load('product/compare');?>
                <?php if ($this->config->get('mmr_product_specification_weight_disabled')!=1&&$weight) { ?>
                <tr>
                  <td><?php echo $this->language->get('text_weight'); ?></td>
                  <td><?php echo $weight; ?></td>
                </tr>
                <?php } ?>
                <?php if ($this->config->get('mmr_product_specification_dimensions_disabled')!=1&&($length||$width||$height)) { ?>
                <tr>
                  <td><?php echo $this->language->get('text_dimension'); ?></td>
                  <td><?php echo $length; ?> x <?php echo $width; ?> x <?php echo $height; ?></td>
                </tr>
                <?php } ?>
                <?php } ?>
                </tbody>
                <?php } ?>
                <?php if ($attribute_groups) { ?>
                  <?php foreach ($attribute_groups as $attribute_group) { ?>
                    <?php if ($this->config->get('mmr_product_specification_headers_disabled')!=1) { ?>
                    <tbody>
                      <tr>
                          <th colspan="2"><strong><?php echo $attribute_group['name']; ?></strong></th>
                      </tr>
                    </tbody>
                    <?php } ?>
                    <tbody>
                    <?php foreach ($attribute_group['attribute'] as $attribute) { ?>
                    <tr>
                      <td><?php echo $attribute['name']; ?></td>
                      <td><?php echo $attribute['text']; ?></td>
                    </tr>
                    <?php } ?>
                    </tbody>
                  <?php } ?>
                <?php } ?>
              </table>
              <?php if (!$mmr_buyhide&&($this->config->get('mmr_product_specification_cart_button_disabled')!=1||($mmr_qorder&&$this->config->get('mmr_quickorder_specification_button_disabled')!=1))) { ?>
              <div class="text-center">
                <div class="btn-group btn-group-lg additional-buttons">
                  <?php if ($this->config->get('mmr_product_specification_cart_button_disabled')!=1&&$mmr_qorder&&$this->config->get('mmr_quickorder_specification_button_disabled')!=1) { ?>
                  <button type="button" onclick="$('#button-cart').click();" data-toggle="tooltip" title="<?php echo $button_cart; ?>" class="btn btn-primary"><i class="fa fa-shopping-cart"></i><?php if (!$this->config->get('mmr_product_buy_caption_hidden')) { ?> <span class="<?php if ($mmr_cols == 2) { echo 'hidden-md hidden-sm hidden-xxs';} else {echo 'hidden-xxs';}  ?>"><?php echo $button_cart; ?></span><?php } ?></button><input type="text" data-toggle="tooltip" class="form-control input-lg middle-input hidden-xxs" name="quantities" size="2" value="<?php echo $minimum; ?>" title="<?php echo $text_qty; ?>" />
                  <?php } else if ($this->config->get('mmr_product_specification_cart_button_disabled')!=1) { ?>
                  <button type="button" onclick="$('#button-cart').click();" data-toggle="tooltip" title="<?php echo $button_cart; ?>" class="btn btn-primary"><i class="fa fa-shopping-cart"></i><?php if (!$this->config->get('mmr_product_buy_caption_hidden')) { ?> <span><?php echo $button_cart; ?></span><?php } ?></button><input type="text" data-toggle="tooltip" class="form-control input-lg last-input" name="quantities" size="2" value="<?php echo $minimum; ?>" title="<?php echo $text_qty; ?>" />
                  <?php } ?>
                  <?php if ($mmr_qorder&&$this->config->get('mmr_quickorder_specification_button_disabled')!=1) { ?>
                  <a href="javascript:void(0);" data-toggle="tooltip" title="<?php echo $this->language->get('text_mmr_quickorder_button'); ?>" class="btn btn-default btn-quickorder"><i class="fa fa-flip-horizontal fa-reply-all"></i><?php if (!$this->config->get('mmr_quickorder_buy_caption_hidden')) { ?> <span><?php echo $this->language->get('text_mmr_quickorder_button'); ?></span><?php } ?></a>
                  <?php } ?>
                </div>
              </div>

 

Link to comment
Share on other sites


Здравствуйте, довольно не плохо внедрился ваш шаблон.

Но непотому чтольшая проблема, некоторые, зайдя с мобильных не видят вкладку категории.

Не скажите, какой кусок кода отвечает за стили кнопки Категории, именно на мобильных. 

Link to comment
Share on other sites


Добрый гдень, что за вкладка Категории? И я не могу ответить, что за код отвечает за стили кнопки, потому что стили почти люпотому чтого элемени - это не один и не два блока кода, а потому чтольшая древовидная структура, используйте firebug или подобные инструменты, чтобы посмотреть на используемые стили нужного вам объеки

Link to comment
Share on other sites

Друзья, всем привет! Столкнулся с икой проблемой. Посивил логотип на сайт довольно потому чтольшого размера (1000+ пикселей). На всех браузерах он нормально адаптируется, в зависимости от разрешения. Но на ИЕ он отображается в реальный размер. Можно как-то его адаптировать под ИЕ? 

Link to comment
Share on other sites


Откройте исходный код сайи и найгдете им неправильно закрытый комменирий, а дальше уже смотрите, что это за блок - модуль какой-то, вкмод или ваши собственные правки

Link to comment
Share on other sites

23 минуты назад, RGB сказал:

Откройте исходный код сайи и найгдете им неправильно закрытый комменирий, а дальше уже смотрите, что это за блок - модуль какой-то, вкмод или ваши собственные правки

СПАСИБО БОЛЬШОЕ!!!

Link to comment
Share on other sites


  • 2 weeks later...

Всем привет! Подскажите, пожалуйси, каким обвместе кнопку "Быстрый заказ" вынести отгдельно. Рядом с кнопкой "купить". И написать на ней "Купить в один клик", допустим. Даже в карточке товара есть блок снизу "Похожие товары". Как его убрать? 

Link to comment
Share on other sites


33 минуты назад, Flaider сказал:

Подскажите, пожалуйси, каким обвместе кнопку "Быстрый заказ" вынести отгдельно. Рядом с кнопкой "купить". И написать на ней "Купить в один клик", допустим.

Только редактированием файлов шаблона и внесением туда каких-то своих правок

33 минуты назад, Flaider сказал:

Даже в карточке товара есть блок снизу "Похожие товары". Как его убрать? 

Не добавляйте товары в этот блок - они и не будут выводиться

Link to comment
Share on other sites

У меня на сайте стоит filter Pro, недавно обновил к последней версии filter Pro 1.5.17.6_beta. Использую файлы адапиции из архива шаблона. До обновления у меня все рилиило, а после обновления пересили рилиить стикеры. В категории, стикеры на товарах пропадают кроме одного - "Специальная этона" (товары со скидкой). Все осильные не показываются, ни новинки ни популярные. 

Помогите адаптировать под новую версию фильтра.

Link to comment
Share on other sites


Здравствуйте, у меня нет адапиции под последнюю версию фильтра, если гдело гдействительно в адапиции (а я в этом совсем не ик уверен, как вы), обращайтесь или к автору фильтра, или к сторонним исполнителям

Link to comment
Share on other sites

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

После смены домена (сирый домен удалён) и перегделки структуры магазина, переусиновил шаблон (залил последнюю версию) и повылазили ошибки - http://take.ms/fc3XU , http://take.ms/0Xw6g подскажите пожалуйси с чем это может быть связано?

Шаблон - v 1.2.0

OcStore - 1.5.5.1.2

Link to comment
Share on other sites


Добрый гдень, 1-я с шаблоном не связана, я бы написал хостеру по поводу нее, а по второй - вы не следовали инструкции по усиновке и не посивили вкмод или он у вас сейчас в нериличем состоянии

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.