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

Leaderboard

Popular Content

Showing content with the highest reputation on 07/22/2012 in all areas

  1. Для этого в файлеcatalog/view/theme/default/template/checkout/login.tpl находим код <input type="radio" name="account" value="register" id="register" checked="checked"/> <?php } else { ?> <input type="radio" name="account" value="register" id="register" /> <?php } ?> <b><?php echo $text_register; ?></b></label> <br /> <?php if ($guest_checkout) { ?> <label for="guest"> <?php if ($account == 'guest') { ?> <input type="radio" name="account" value="guest" id="guest" checked="checked" /> <?php } else { ?> <input type="radio" name="account" value="guest" id="guest" /> и меняем его на <input type="radio" name="account" value="register" id="register" /> <?php } else { ?> <input type="radio" name="account" value="register" id="register" /> <?php } ?> <b><?php echo $text_register; ?></b></label> <br /> <?php if ($guest_checkout) { ?> <label for="guest"> <?php if ($account == 'guest') { ?> <input type="radio" name="account" value="guest" id="guest" checked="checked" /> <?php } else { ?> <input type="radio" name="account" value="guest" id="guest" checked="checked" /> теперь при офрмлении заказа радиобокс автоматом устанавливается на пункт "Оформить заказ без регистрации"
    1 point
  2. Попробовал для ocStore 1.5.1.3 catalog/language/russian/russian.php $_['button_zakaz'] = 'Заказать'; catalog/controller/product/category.php после $this->data['button_cart'] = $this->language->get('button_cart'); вставить $this->data['button_zakaz'] = $this->language->get('button_zakaz'); после $this->data['products'][] = array( вставить 'quantity'=> $result['quantity'] , catalog/view/theme/default/template/product/catalog.tpl вместо <a onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button"><span><?php echo $button_cart; ?></span></a></div> вставить <!-- Кнопка заказать если нет в наличии --> <?php if ($product['quantity'] <= 0) { ?> <a onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button"><span><?php echo $button_zakaz; ?></span></a></div> <?php } else { ?> <a onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button"><span><?php echo $button_cart; ?></span></a></div> <?php } ?> <!-- Кнопка заказать если нет в наличии --> для ocStore 1.5.3.1 по аналогии можно сделать.
    1 point
  3. Можно даже к модулю "рекомендуемые" привентить слайдер, вопрос только в бюджете под выбранную нужду...
    1 point
  4. Может кому то понадобится сделал vqmod atributs.xml
    1 point
  5. Есть такие решения может что то подойдетhttp://www.opencart.com/index.php?route=extension/extension/info&extension_id=4767 и это http://www.opencart.com/index.php?route=extension/extension/info&extension_id=7095 и это https://opencartforum.com/topic/8283-change-atc-when-out-of-stock-v121/
    1 point
  6. В файле catalog/model/catalog/review.php замените код: $this->db->query("INSERT INTO " . DB_PREFIX . "review (author, customer_id, product_id, text, rating, date_added) VALUES ('" . $this->db->escape($data['name']) . "', '" . (int)$this->customer->getId() . "', '" . (int)$product_id . "', '" . $this->db->escape(strip_tags($data['text'])) . "', '" . (int)$data['rating'] . "', NOW())"); на $this->db->query("INSERT INTO " . DB_PREFIX . "review (author, customer_id, product_id, text, rating, status, date_added) VALUES ('" . $this->db->escape($data['name']) . "', '" . (int)$this->customer->getId() . "', '" . (int)$product_id . "', '" . $this->db->escape(strip_tags($data['text'])) . "', '" . (int)$data['rating'] . "', '1', NOW())");
    1 point
  7. Ruldik открываем /admin/view/template/sale/order_invoice.tpl перед </head> вставляем <style media='print' type='text/css'> .noprint {display: none;} body {background:#FFF; color:#000;} } </style> находим <?php foreach ($orders as $order) { ?> и перед ним вставляем <span class="noprint"> <a href='javascript:window.print(); void 0;'> <img src="/image/data/pechat.png" / title="Печать счёта"></a> </span> закидываем картинку на сервер и не забываем сохранить файл в кодировке UTF8 без ВОМ
    1 point
  8. по второму вопросу - Юзайте поиск вот например https://opencartforum.com/topic/10350-%D0%BA%D0%B0%D0%BA-%D0%B7%D0%B0%D0%B4%D0%B0%D1%82%D1%8C-%D0%B2%D1%80%D0%B5%D0%BC%D1%8F-%D0%BF%D0%BE%D0%BA%D0%B0%D0%B7%D0%B0-%D0%B1%D0%B0%D0%BD%D0%B5%D1%80%D0%B0-%D0%B2-%D0%B1%D0%BE%D0%BB%D1%8C%D1%88%D0%BE%D0%BC-%D1%81%D0%BB%D0%B0%D0%B9%D0%B4%D0%B5/page__fromsearch__1
    1 point
  9. Конечно, держите http://www.opencart.com/index.php?route=extension/extension/info&extension_id=6388&filter_username=suryavikas
    1 point
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.