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

aridius

Users
  • Posts

    2,380
  • Joined

  • Last visited

Everything posted by aridius

  1. сделайте опции с размерами https://opencartforum.com/topic/7342-%D0%BA%D0%B0%D0%BA-%D1%81%D0%B4%D0%B5%D0%BB%D0%B0%D1%82%D1%8C-%D0%BE%D0%BF%D1%86%D0%B8%D0%B8/
  2. под 1 5 4 1 https://opencartforum.com/files/file/687-%D1%8D%D0%BA%D1%81%D0%BF%D0%BE%D1%80%D1%82-%D0%B8%D0%BC%D0%BF%D0%BE%D1%80%D1%82-export-import-xls-%D0%B4%D0%BB%D1%8F-ocstore-1541/
  3. http://moushe.ru/nashi-stati/web-dizajn-2/opencart-1-5-3-delaem-shablon-greentea-4-chast/ http://moushe.ru/nashi-stati/web-dizajn-2/opencart-kontakty-na-glavnoj-stranice-magazina/
  4. Вот модуль: http://www.opencart.com/index.php?route=extension/extension/info&extension_id=5557
  5. \catalog\view\theme\default\stylesheet\stylesheet.css находите #menu { background: #585858; #585858 -ваш цвет!
  6. качайте модуль FAQ (часто задаваемые вопросы) и набивайте его статьями!
  7. Зайдите catalog/controller/module/category.php замените 'name' => $category['name'] . ' (' . $product_total . ')', на 'name' => $category['name'],
  8. https://opencartforum.com/topic/7246-%D0%BD%D0%B5-%D1%83%D0%B4%D0%B0%D0%BB%D1%8F%D1%8E%D1%82%D1%81%D1%8F-%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3%D0%BE%D0%B2%D0%B0%D1%8F-%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0-%D0%B2-ocstore-v1513/
  9. $firstname - Имя, Отчество $lastname - Фамилия $email - E-Mail $telephone - Телефон $fax - Факс $company - Компания $company_id - Company ID (вообще что то не понятное) $address_1 - Адрес $address_2 - Адрес продолжение $city - Город $postcode - Индекс $country - Страна $zone - Регион/Область $password - Пароль $confirm - Подтверждение пароля Почистите: catalog/view/theme/default/template/account/register.tpl catalog/controller/account/register.php catalog/model/account/customer.php Для удаления лишних полей регистрации при оформлении заказа catalog/view/theme/default/template/checkout/register.tpl /catalog/controller/checkout/register.php
  10. В \catalog\view\theme\default\stylesheet\stylesheet.css добавте найдите и скопируйте блок .box-product > div { ...... ..... ..... } допишите :hover и border: 1px solid #FF3C3F; .box-product > div:hover { border: 1px solid #FF3C3F; } border: 1px solid #FF3C3F; -и отвечает за рамку
  11. # Options +FollowSymLinks # - Знак в начале строки комментирует, закрывает данную опцию
  12. catalog/controller/module/category.php ищем: if (isset($parts[1])) {$this->data['child_id'] = $parts[1];} else { $this->data['child_id'] = 0;} после вставляем: if (isset($parts[2])) { $this->data['sisters_id'] = $parts[2]; } else {$this->data['sisters_id'] = 0; } заменяем foreach ($categories as $category) { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $children_data[] = array( 'category_id' => $child['category_id'], 'name' => $child['name'] . ' (' . $product_total . ')', 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } $data = array( 'filter_category_id' => $category['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'] . ' (' . $product_total . ')', 'children' => $children_data, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } на: foreach ($categories as $category) { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $sister_data = array(); $sisters = $this->model_catalog_category->getCategories($child['category_id']); if(count($sisters) > 1) { foreach ($sisters as $sisterMember) { $sister_data[] = array( 'category_id' =>$sisterMember['category_id'], 'name' => $sisterMember['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']. '_' . $sisterMember['category_id']) ); } $children_data[] = array( 'category_id' => $child['category_id'], 'sister_id' => $sister_data, 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); }else{ $children_data[] = array( 'category_id' => $child['category_id'], 'sister_id' =>'', 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } } $data = array( 'filter_category_id' => $category['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $this->data['categories'][] = array( 'category_id' => $category['category_id'], 'name' => $category['name'], 'children' => $children_data, 'sister' => $sister_data, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } cataloge/view/theme/ ваша тема /template/module/category.tpl после <?php foreach ($category['children'] as $child) { ?> <li> <?php if ($child['category_id'] == $child_id) { ?> <a href="/<?php echo $child['href']; ?>"> - <?php echo $child['name']; ?></a> <?php } else { ?> <a href="/<?php echo $child['href']; ?>"> - <?php echo $child['name']; ?></a> <?php } ?> добавляем: <?php if($child['sister_id']){ ?> <ul> <?php foreach($child['sister_id'] as $sisters) { ?> <li> <?php if ($sisters['category_id'] == $sisters_id) { ?> <a href="/<?php echo $sisters['href']; ?>" class="active"> - <?php echo $sisters['name']; ?></a> <?php } else { ?> <a href="/<?php echo $sisters['href']; ?>"> - <?php echo $sisters['name']; ?></a> <?php } ?> </li> <?php } ?> </ul> <?php } ?> catalog/view/theme/ваша тема /stylesheet/stylesheet.css после .box-category > ul > li ul > li > a.active + ul { добавить: .box-category > ul > li ul > li ul > li a.active { font-weight: bold; color: #06bcc3; } .box-category > ul > li ul > li ul > li a.active + ul { display: block; }
  13. Дополнения -модули-категории-изменить если вам нужно отображать категории с картинками,то качайте модуль category wall
  14. убрать полностью корзину на сколько я знаю невозможно,только не показывать цены гостям!
  15. Для 1.5.4.1 Качаем модуль с него копируем только папку админ, после чего заходите в директорию вашего магазина catalog\controller\product\product.php после $this->data['tab_related'] = $this->language->get('tab_related'); вставляете : //vkontakte $vkcomment='<script type="text/javascript" src="http://userapi.com/js/api/openapi.js?29"></script> <script type="text/javascript"> VK.init({apiId: '.$this->config->get('wp_vkcomment_apiid').', onlyWidgets: true}); </script> <div id="vk_comments"></div> <script type="text/javascript"> VK.Widgets.Comments("vk_comments", {limit: '; if ($this->config->get('wp_vkcomment_kolvo')>=5) $vkcomment.=$this->config->get('wp_vkcomment_kolvo'); else $vkcomment.="5"; $vkcomment.=', width: "'; if ($this->config->get('wp_vkcomment_shir')>=300) $vkcomment.=$this->config->get('wp_vkcomment_shir'); else $vkcomment.="300"; $vkcomment.='", autoPublish:'.$this->config->get('wp_vkcomment_autpub').', attach:'; if ($this->config->get('wp_vkcomment_graff')==1 && $this->config->get('wp_vkcomment_photo')==1 && $this->config->get('wp_vkcomment_video')==1 && $this->config->get('wp_vkcomment_audio')==1 && $this->config->get('wp_vkcomment_silki')==1) $vkcomment.='"*"'; else { $wpvkcommtmp=0; if ($this->config->get('wp_vkcomment_graff')==1) { $vkcomment.="\"graffiti"; $wpvkcommtmp=1;} if ($this->config->get('wp_vkcomment_photo')==1) { if ($wpvkcommtmp==1) $vkcomment.=",photo"; else { $vkcomment.="\"photo"; $wpvkcommtmp=1;} } if ($this->config->get('wp_vkcomment_video')==1) { if ($wpvkcommtmp==1) $vkcomment.=",video"; else { $vkcomment.="\"video"; $wpvkcommtmp=1;} } if ($this->config->get('wp_vkcomment_audio')==1) { if ($wpvkcommtmp==1) $vkcomment.=",audio"; else { $vkcomment.="\"audio"; $wpvkcommtmp=1;} } if ($this->config->get('wp_vkcomment_silki')==1) { if ($wpvkcommtmp==1) $vkcomment.=",link"; else { $vkcomment.="\"link"; $wpvkcommtmp=1;} } if ($wpvkcommtmp==1) $vkcomment.="\""; else $vkcomment.="false"; } //onChange:myFunc, $vkcomment.='},'.$product_id.'); </script>'; $this->data['vkcomment_output']=$vkcomment; $this->data['wp_vkcomment_nametab']=$this->config->get('wp_vkcomment_nametab'); //facebook $fbcomment='<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/'.$this->config->get('wp_fbcomment_lang').'/all.js#xfbml=1&appId='.$this->config->get('wp_fbcomment_apiid').'"; fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script> <div class="fb-comments" data-href="'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].'" data-num-posts="'.$this->config->get('wp_fbcomment_kolvo').'" data-width="'.$this->config->get('wp_fbcomment_shir').'" data-colorscheme="'.$this->config->get('wp_fbcomment_theme').'"></div> '; $this->data['fbcomment_output']=$fbcomment; $this->data['wp_fbcomment_nametab']=$this->config->get('wp_fbcomment_nametab'); + делаете пункты как указано в блокноте в скаченном модуле!
  16. в админ панели: система-настройки-изменить-опции-Не показывать цены гостям:ДА
  17. подскажите как запустить на 1.5.4.1?
×
×
  • 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.