-
Публикаций
16 -
Зарегистрирован
-
Посещение
Посетители профиля
Блок последних посетителей выключен и не отображается другим пользователям.
Достижения khmelev77
-
Здравствуйте, подскажите возможные способы реализации: Указывается цена за 1л. жидкого удобрения (например), пусть будет 1000 рублей. В карточке товара при оформлении заказа пользователь выбирает сколько ему нужно, напимер 7.3 литра == стоимость заказа станет 7300 рублей. Возможно кто-то сталкивался с таким и обладает готовым кодом/решением Возможно существует какой-то модуль? Буду рад любым ответам по данному вопросу!
-
Здравствуйте! Есть ли способы или бесплатные модули расширяющие слайдер на всю ширину сайта? Нужно для opencart 3. Находил на этом форуме только решения для старых версий которые в итоге не работали из-за своей неактуальности/старой версии.
-
[Решено] Настроенный .htaccess
khmelev77 ответил в теме пользователя khmelev77 в Opencart 3.x: Общие вопросы
Спасибо, помогло. -
Здравствуйте, может ли кто-то поделиться своим правильно настроенным файлом htaccess? Или помочь настроить мой. Пытался сам, но ничего из предложенных решений гуглом не работают правильно именно с опенкартом. Требуется следующее: Редирект с index.php на без него Редирект со множественными слешами на один Редирект с www на без www Редирект с http на https Заранее спасибо! # 1.To use URL Alias you need to be running apache with mod_rewrite enabled. # 2. In your opencart directory rename htaccess.txt to .htaccess. # For any support issues please visit: http://www.opencart.com Options +FollowSymlinks # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))"> Require all denied ## For apache 2.2 and older, replace "Require all denied" with these two lines : # Order deny,allow # Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L] RewriteRule ^system/download/(.*) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: # php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: # php_flag magic_quotes_gpc Off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try # php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_execution_time 200 # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_input_time 200 # 7. disable open_basedir limitations # php_admin_value open_basedir none
-
Здравствуйте, может ли кто-то поделиться своим правильно настроенным файлом htaccess? Или помочь настроить мой. Пытался сам, но ничего из предложенных решений гуглом не работают правильно именно с опенкартом. Требуется следующее: Редирект с index.php на без него Редирект со множественными слешами на один Редирект с www на без www Редирект с http на https Заранее спасибо! # 1.To use URL Alias you need to be running apache with mod_rewrite enabled. # 2. In your opencart directory rename htaccess.txt to .htaccess. # For any support issues please visit: http://www.opencart.com Options +FollowSymlinks # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))"> Require all denied ## For apache 2.2 and older, replace "Require all denied" with these two lines : # Order deny,allow # Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L] RewriteRule ^system/download/(.*) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: # php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: # php_flag magic_quotes_gpc Off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try # php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_execution_time 200 # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_input_time 200 # 7. disable open_basedir limitations # php_admin_value open_basedir none
-
Не отображать фильтры у которых (0) товаров
khmelev77 опубликовал теме в Opencart 3.x: Общие вопросы
Здравствуйте! Как сделать чтобы не отображались фильтры у которых (0)? (мол нет товаров с этими фильтрами в категории) Где можно прописать условие и какое? В каком файле? -
Как сделать чтобы категория только раскрывалась, но не производила переход при нажатии
khmelev77 ответил в теме пользователя khmelev77 в Opencart 3.x: Общие вопросы
мой код <ul class="collapsible collapsible-accordion collection with-header z-depth-1" data-collapsible="accordion"> <li class="collection-header blue accent-2 white-text"><h5 class="text-bold">{{ heading_title }}</h5></li> {% for category in categories %} {% if category.category_id == category_id %} <li class="active"> <a href="{{ category.href }}" class="collapsible-header waves-effect blue-grey-text text-darken-4 text-bold active" onclick="return false;">{{ category.name }}</a> {% if category.children %} <div class="collapsible-body no-padding"> <div class="collection"> {% for child in category.children %} {% if child.category_id == child_id %} <a class="collection-item waves-effect child truncate blue-grey-text text-darken-4 blue-grey lighten-4" href="{{ child.href }}">{{ child.name }}</a> {% else %} <a class="collection-item waves-effect child truncate blue-grey-text text-darken-4" href="{{ child.href }}">{{ child.name }}</a> {% endif %} {% endfor %} </div> </div> {% endif %} </li> {% else %} <li><a href="{{ category.href }}" class="collapsible-header waves-effect truncate blue-grey-text text-darken-4 text-bold">{{ category.name }}</a></li> {% endif %} {% endfor %} </ul> -
Как сделать чтобы категория только раскрывалась, но не производила переход при нажатии
khmelev77 ответил в теме пользователя khmelev77 в Opencart 3.x: Общие вопросы
А можно подробнее, куда нужно заходить и изменять это? Редактор шаблона или в каких-то файлах искать? -
Как сделать чтобы категория только раскрывалась, но не производила переход при нажатии
khmelev77 ответил в теме пользователя khmelev77 в Opencart 3.x: Общие вопросы
onclick false только для Пленки возможно сделать? т.к. у меня например в Категории "Агроволокно" подкатегорий нету -
Есть категория "Пленка" которая сама по себе пустая, но в ней есть подкатегории "Тепличная", "Универсальная" и тд Вопрос: Как сделать чтобы при выборе категории "Пленка" слева, просто раскрывался список подкатегорий не производя перехода на саму категорию "Пленка" ? (которая к слову у меня пустая) Ссылка на сайт если нужно (домен временный): http://skidon-legko.ru/plenka
-
[Решено] Скрыть нижнее кнопки у слайдера
khmelev77 ответил в теме пользователя khmelev77 в Opencart 3.x: Общие вопросы
Спасибо, только dots: false -
Как скрыть эти button's внизу? В файле extension / module / slideshow.twig ничего не нашёл нужного.
-
Здравствуйте. Как реализовать такие триггеры в opencart? Какие модули стоит использовать?
-
Экспорт атрибутов товаров в Import/Export Tool
khmelev77 ответил в теме пользователя khmelev77 в Opencart 3.x: Общие вопросы
спс -
Экспорт атрибутов товаров в Import/Export Tool
khmelev77 ответил в теме пользователя khmelev77 в Opencart 3.x: Общие вопросы
Нет, нужны не конкретно атрибуты, а товары с их атрибутами Вот это: Товары(включая данные о товарах, параметры, специальные предложения, скидки, атрибуты и фильтры) Но когда я выгружаю этим способом - атрибуты товара отсутствуют в полученном файле. Хотя и написано что он должен включать их.