Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Konstantin

Newbie
  
  • Posts

    11
  • Joined

  • Last visited

Information

  • Gender
    Мужчина

Konstantin's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

2

Reputation

  1. Этот код находится в файлах Simple: simplecheckout.php и simpleregister.php ваш_домен\system\library\simple\simplecheckout.php Line 890: $fieldsInfo['email'] = !empty($fieldsInfo['email']) ? $fieldsInfo['email'] : 'empty'.time().'@localhost'; ваш_домен\system\library\simple\simpleregister.php Line 67: $fieldsInfo['email'] = !empty($fieldsInfo['email']) ? $fieldsInfo['email'] : 'empty@localhost'; Можно изменить в файлах на нужную почту. Или прописать 'не указан' vQmod
  2. Это изначально понятно, вопрос состоит в другом, а именно, как отключить обязательное заполнение полей. Испробовал несколько вариантов (https://opencartforum.com/topic/13571-%D0%BA%D0%B0%D0%BA-%D1%83%D0%B1%D1%80%D0%B0%D1%82%D1%8C-%D0%BE%D0%B1%D1%8F%D0%B7%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5-%D0%BF%D0%BE%D0%BB%D1%8F-%D0%B0%D0%B4%D0%BC%D0%B8%D0%BD%D0%BA%D0%B0-%D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%D1%8B/), но что-то не получилось.
  3. Возможно ли сделать, чтобы письма (уведомления) о быстром заказе приходили на два почтовых ящика.
  4. в файле cartpopup.css catalog\view\theme\default\stylesheet\cartpopup.css 79 строка #cartpopup h4, .h4 { font-size: 18px; color: #00A930; }
  5. Напишите, как должно быть. Я писал с помощью опыта и интуиции, знаний использовано на 0,01%
  6. Для вывода внизу всплывающей корзины Суммы, Скидки, Eco Tax, НДС, Итого. Одно но, при удалении товара не происходит пересчет суммы. Нужно дописать в cartpopup.js remove при удалении товара. в файле /catalog/view/javascript/cartpopup.js вставить $('#cartpopup .mini-cart-total').load('index.php?route=module/cart .mini-cart-total', function() { }); if (json['success']) { $('#cart-total, .cart-total').html(json['total']); $('#cartpopup .cart').load('index.php?route=module/cart .mini-cart-info', function() { $('#cartpopup .mini-cart-info td.remove img').each(function(i,e){ var $this = $(this); var product_id = $this.attr('onclick').match(/remove=(\d+(?::[\w=\+\\]+)?)/)[1]; this.onclick = function () { $('#cart').load('index.php?route=module/cart&remove=' + product_id + ' #cart > *', function(){$('.cart-total').text($('#cart-total').text());}); $this.parent().parent().hide(); if ($('#cartpopup .mini-cart-info tr').filter(':visible').length == 0) { $('#cartpopup').popup('hide'); } } }); $('#cartpopup').popup('show'); }); $('#cartpopup .mini-cart-total').load('index.php?route=module/cart .mini-cart-total', function() { }); } в файле /catalog/view/theme/default/template/module/cartpopup.tpl после <div class="cart"></div> вставить <span class="mini-cart-total"></span> <div id="cartpopup" class="well"> <h4><i class="icon_success_27x27"></i><span id="text-added"></span> <?php echo $text_in_cart; ?></h4> <span class="cart-header"><?php echo $text_cart_header; ?></span> <span class="cart-total"></span> <div class="cart"></div> <span class="mini-cart-total"></span> <button class="btn btn-default" style="float: left" onclick="$('#cartpopup').popup('hide')"><?php echo $text_continue_shopping; ?></button> <button class="btn btn-default" style="float: right" onclick="location='index.php?route=checkout/simplecheckout'"><?php echo $text_view_cart_n_checkout; ?></button> </div>
  7. файлы шаблона *.tpl нужно сохранять в кодировке UTF-8 без BOM
Guest
×
  • 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.