progroman Posted November 16, 2013 Author Share Posted November 16, 2013 Нет. Link to comment Share on other sites More sharing options... ukrline Posted November 16, 2013 Share Posted November 16, 2013 У меня сейчас на сайте написано: "Бесплатная доставка при заказе от 100 евро." Хочу сделать для определенных городов - "Бесплатная доставка в г.Киев от 50 евро." и так далее для других городов. Как сделать, чтоб если город не определился, выводилось значение по-умолчанию? Link to comment Share on other sites More sharing options... progroman Posted November 16, 2013 Author Share Posted November 16, 2013 Вбиваете в админке правила: Ключ Зона Значение delivery Киев Бесплатная доставка в г.Киев от 50 евро delivery Одесса Бесплатная доставка в Одессу от 50 евро ... В контороллере $geoip = $this->registry->get('geoip'); $delivery = $geoip->getRule('delivery', 'Значение по-умолчанию'); Link to comment Share on other sites More sharing options... LuckySrG Posted November 22, 2013 Share Posted November 22, 2013 Подскажите, как быть ваш модуль использует базу fias в simple checkout есть maxmind переделанный, размер почти одинаковый, нехочу базу делать огромной может можно как-то использовать 1 базу ? Link to comment Share on other sites More sharing options... 3 weeks later... Vitus2k5 Posted December 13, 2013 Share Posted December 13, 2013 Использую ваш модуль совместно с Simple. Работает изумительно, спасибо за отличный продукт. Но заметил, что когда меняешь город, то в корзине в поле "Регион" изменения не происходят, остаётся старый край и область. В чём может быть дело? Спасибо. 1 Link to comment Share on other sites More sharing options... progroman Posted December 13, 2013 Author Share Posted December 13, 2013 В особенностях работы Simple. Модуль рассчитан на стандартный механизм работы. Link to comment Share on other sites More sharing options... progroman Posted December 13, 2013 Author Share Posted December 13, 2013 Подскажите, как быть ваш модуль использует базу fias в simple checkout есть maxmind переделанный, размер почти одинаковый, нехочу базу делать огромной может можно как-то использовать 1 базу ? Нет, это разные базы, с разной структурой и информацией в них. Link to comment Share on other sites More sharing options... georgy83 Posted December 14, 2013 Share Posted December 14, 2013 Добрый день. Подскажите, пожалуйста, как выводить дополнительные поля в шапке? Прописываю через админку, ничего не появляется. Link to comment Share on other sites More sharing options... progroman Posted December 15, 2013 Author Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl Link to comment Share on other sites More sharing options... georgy83 Posted December 15, 2013 Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. Link to comment Share on other sites More sharing options... 2 weeks later... mkt Posted December 28, 2013 Share Posted December 28, 2013 То же косяк с установкой Что надо делать? Link to comment Share on other sites More sharing options... mkt Posted December 28, 2013 Share Posted December 28, 2013 (edited) Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Edited December 29, 2013 by mkt Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Не знаю. У меня нет таких ошибок. library/tax.php модуль не меняет. Вы уверены, что это связано с модулем GeoIP? Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 То же косяк с установкой Что надо делать? Судя по ошибке, не может подключится к БД. Проверьте логин и пароль в config.php вашего сайта. Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
ukrline Posted November 16, 2013 Share Posted November 16, 2013 У меня сейчас на сайте написано: "Бесплатная доставка при заказе от 100 евро." Хочу сделать для определенных городов - "Бесплатная доставка в г.Киев от 50 евро." и так далее для других городов. Как сделать, чтоб если город не определился, выводилось значение по-умолчанию? Link to comment Share on other sites More sharing options...
progroman Posted November 16, 2013 Author Share Posted November 16, 2013 Вбиваете в админке правила: Ключ Зона Значение delivery Киев Бесплатная доставка в г.Киев от 50 евро delivery Одесса Бесплатная доставка в Одессу от 50 евро ... В контороллере $geoip = $this->registry->get('geoip'); $delivery = $geoip->getRule('delivery', 'Значение по-умолчанию'); Link to comment Share on other sites More sharing options... LuckySrG Posted November 22, 2013 Share Posted November 22, 2013 Подскажите, как быть ваш модуль использует базу fias в simple checkout есть maxmind переделанный, размер почти одинаковый, нехочу базу делать огромной может можно как-то использовать 1 базу ? Link to comment Share on other sites More sharing options... 3 weeks later... Vitus2k5 Posted December 13, 2013 Share Posted December 13, 2013 Использую ваш модуль совместно с Simple. Работает изумительно, спасибо за отличный продукт. Но заметил, что когда меняешь город, то в корзине в поле "Регион" изменения не происходят, остаётся старый край и область. В чём может быть дело? Спасибо. 1 Link to comment Share on other sites More sharing options... progroman Posted December 13, 2013 Author Share Posted December 13, 2013 В особенностях работы Simple. Модуль рассчитан на стандартный механизм работы. Link to comment Share on other sites More sharing options... progroman Posted December 13, 2013 Author Share Posted December 13, 2013 Подскажите, как быть ваш модуль использует базу fias в simple checkout есть maxmind переделанный, размер почти одинаковый, нехочу базу делать огромной может можно как-то использовать 1 базу ? Нет, это разные базы, с разной структурой и информацией в них. Link to comment Share on other sites More sharing options... georgy83 Posted December 14, 2013 Share Posted December 14, 2013 Добрый день. Подскажите, пожалуйста, как выводить дополнительные поля в шапке? Прописываю через админку, ничего не появляется. Link to comment Share on other sites More sharing options... progroman Posted December 15, 2013 Author Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl Link to comment Share on other sites More sharing options... georgy83 Posted December 15, 2013 Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. Link to comment Share on other sites More sharing options... 2 weeks later... mkt Posted December 28, 2013 Share Posted December 28, 2013 То же косяк с установкой Что надо делать? Link to comment Share on other sites More sharing options... mkt Posted December 28, 2013 Share Posted December 28, 2013 (edited) Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Edited December 29, 2013 by mkt Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Не знаю. У меня нет таких ошибок. library/tax.php модуль не меняет. Вы уверены, что это связано с модулем GeoIP? Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 То же косяк с установкой Что надо делать? Судя по ошибке, не может подключится к БД. Проверьте логин и пароль в config.php вашего сайта. Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
LuckySrG Posted November 22, 2013 Share Posted November 22, 2013 Подскажите, как быть ваш модуль использует базу fias в simple checkout есть maxmind переделанный, размер почти одинаковый, нехочу базу делать огромной может можно как-то использовать 1 базу ? Link to comment Share on other sites More sharing options...
Vitus2k5 Posted December 13, 2013 Share Posted December 13, 2013 Использую ваш модуль совместно с Simple. Работает изумительно, спасибо за отличный продукт. Но заметил, что когда меняешь город, то в корзине в поле "Регион" изменения не происходят, остаётся старый край и область. В чём может быть дело? Спасибо. 1 Link to comment Share on other sites More sharing options...
progroman Posted December 13, 2013 Author Share Posted December 13, 2013 В особенностях работы Simple. Модуль рассчитан на стандартный механизм работы. Link to comment Share on other sites More sharing options... progroman Posted December 13, 2013 Author Share Posted December 13, 2013 Подскажите, как быть ваш модуль использует базу fias в simple checkout есть maxmind переделанный, размер почти одинаковый, нехочу базу делать огромной может можно как-то использовать 1 базу ? Нет, это разные базы, с разной структурой и информацией в них. Link to comment Share on other sites More sharing options... georgy83 Posted December 14, 2013 Share Posted December 14, 2013 Добрый день. Подскажите, пожалуйста, как выводить дополнительные поля в шапке? Прописываю через админку, ничего не появляется. Link to comment Share on other sites More sharing options... progroman Posted December 15, 2013 Author Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl Link to comment Share on other sites More sharing options... georgy83 Posted December 15, 2013 Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. Link to comment Share on other sites More sharing options... 2 weeks later... mkt Posted December 28, 2013 Share Posted December 28, 2013 То же косяк с установкой Что надо делать? Link to comment Share on other sites More sharing options... mkt Posted December 28, 2013 Share Posted December 28, 2013 (edited) Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Edited December 29, 2013 by mkt Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Не знаю. У меня нет таких ошибок. library/tax.php модуль не меняет. Вы уверены, что это связано с модулем GeoIP? Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 То же косяк с установкой Что надо делать? Судя по ошибке, не может подключится к БД. Проверьте логин и пароль в config.php вашего сайта. Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
progroman Posted December 13, 2013 Author Share Posted December 13, 2013 Подскажите, как быть ваш модуль использует базу fias в simple checkout есть maxmind переделанный, размер почти одинаковый, нехочу базу делать огромной может можно как-то использовать 1 базу ? Нет, это разные базы, с разной структурой и информацией в них. Link to comment Share on other sites More sharing options... georgy83 Posted December 14, 2013 Share Posted December 14, 2013 Добрый день. Подскажите, пожалуйста, как выводить дополнительные поля в шапке? Прописываю через админку, ничего не появляется. Link to comment Share on other sites More sharing options... progroman Posted December 15, 2013 Author Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl Link to comment Share on other sites More sharing options... georgy83 Posted December 15, 2013 Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. Link to comment Share on other sites More sharing options... 2 weeks later... mkt Posted December 28, 2013 Share Posted December 28, 2013 То же косяк с установкой Что надо делать? Link to comment Share on other sites More sharing options... mkt Posted December 28, 2013 Share Posted December 28, 2013 (edited) Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Edited December 29, 2013 by mkt Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Не знаю. У меня нет таких ошибок. library/tax.php модуль не меняет. Вы уверены, что это связано с модулем GeoIP? Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 То же косяк с установкой Что надо делать? Судя по ошибке, не может подключится к БД. Проверьте логин и пароль в config.php вашего сайта. Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
georgy83 Posted December 14, 2013 Share Posted December 14, 2013 Добрый день. Подскажите, пожалуйста, как выводить дополнительные поля в шапке? Прописываю через админку, ничего не появляется. Link to comment Share on other sites More sharing options...
progroman Posted December 15, 2013 Author Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl Link to comment Share on other sites More sharing options... georgy83 Posted December 15, 2013 Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. Link to comment Share on other sites More sharing options... 2 weeks later... mkt Posted December 28, 2013 Share Posted December 28, 2013 То же косяк с установкой Что надо делать? Link to comment Share on other sites More sharing options... mkt Posted December 28, 2013 Share Posted December 28, 2013 (edited) Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Edited December 29, 2013 by mkt Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Не знаю. У меня нет таких ошибок. library/tax.php модуль не меняет. Вы уверены, что это связано с модулем GeoIP? Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 То же косяк с установкой Что надо делать? Судя по ошибке, не может подключится к БД. Проверьте логин и пароль в config.php вашего сайта. Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
georgy83 Posted December 15, 2013 Share Posted December 15, 2013 Нужно помимо админки еще в контроллер и шаблон добавить, вот пример https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=72743&id=888&full=1 Контроллер шапки catalog/controller/common/header.php Шаблон шапки view/theme/default/template/common/header.tpl А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. Link to comment Share on other sites More sharing options...
mkt Posted December 28, 2013 Share Posted December 28, 2013 То же косяк с установкой Что надо делать? Link to comment Share on other sites More sharing options...
mkt Posted December 28, 2013 Share Posted December 28, 2013 (edited) Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Edited December 29, 2013 by mkt Link to comment Share on other sites More sharing options...
progroman Posted December 30, 2013 Author Share Posted December 30, 2013 Постоянная ошибка на сайте: Notice: Undefined index: country_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52Notice: Undefined index: zone_id in /var/www/wsmru/data/www/world-sewing-machines.ru/system/library/tax.php on line 52 Не знаю. У меня нет таких ошибок. library/tax.php модуль не меняет. Вы уверены, что это связано с модулем GeoIP? Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 То же косяк с установкой Что надо делать? Судя по ошибке, не может подключится к БД. Проверьте логин и пароль в config.php вашего сайта. Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
progroman Posted December 30, 2013 Author Share Posted December 30, 2013 То же косяк с установкой Что надо делать? Судя по ошибке, не может подключится к БД. Проверьте логин и пароль в config.php вашего сайта. Link to comment Share on other sites More sharing options... progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
progroman Posted December 30, 2013 Author Share Posted December 30, 2013 А вы не могли бы подробнее описать что куда и после каких параметров нужно вставить, чтобы все работало и отображалось нормально как у вас в демке? Я просто любитель, не очень пока во всем этом разбираюсь. В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Link to comment Share on other sites More sharing options... Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options... mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options... progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP) Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax
Taury Posted January 2, 2014 Share Posted January 2, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Link to comment Share on other sites More sharing options...
mkt Posted January 4, 2014 Share Posted January 4, 2014 Link to comment Share on other sites More sharing options...
progroman Posted January 5, 2014 Author Share Posted January 5, 2014 Попробуйте удалить таблицы в БД zone_to_fias, country_to_fias и заново запустить prinstall. Link to comment Share on other sites More sharing options... progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Модули и дополнения [Поддержка] CityManager (Определение города по IP, Geo IP)
progroman Posted January 6, 2014 Author Share Posted January 6, 2014 Сколько будет стоить сделать к модулю скрипт редиректа для мультимагазина на сайт вида город.сайт.ру? Добавил возможность настроить редиректы. Link to comment Share on other sites More sharing options... Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options... progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36 Go to topic listing Similar Content [Поддержка] CityManager Pro (группы покупателей, разные цены для городов) 1 2 3 4 46 By progroman, February 2, 2017 база городов определение по ip (and 7 more) Tagged with: база городов определение по ip геосообщения мультимагазин geoip geo ip sypex citymanager citymanager pro 1,145 replies 128,885 views progroman January 26 Нет в наличии для определенной группы покупателей/определенного региона By laskavchik, Friday at 10:52 AM 2 replies 118 views laskavchik Friday at 11:03 AM Продажа в определенные часы By verun4ik, March 10 4 replies 209 views Allexg March 18 Отключение вывода определенных атрибутов. Как? By wwizard, 1 hour ago 3 replies 37 views wwizard 59 minutes ago [Поддержка] By Enakin, November 30, 2022 1 reply 258 views AlexB_crypto March 21 Recently Browsing 0 members No registered users viewing this page.
Taury Posted January 8, 2014 Share Posted January 8, 2014 Как убрать букву г. из автоподставновки?! Нужно Москва, вместо г.Москва. Иначе модуль доставки СДЭК не считает :( я так понима нужно SQL редактировать? Появилась новая проблема: задаю зону, задаю редирект http://город.сайт.ru/ Выдаёт ошибку Укажите поддомен в виде: http://abc.site.com/ Решено. Обращайте внимание на пробелы при вставке Link to comment Share on other sites More sharing options...
progroman Posted January 9, 2014 Author Share Posted January 9, 2014 Да, sql. Файл catalog/model/pr/fias.php заменить CONCAT(f1.shortname, ' ', f1.offname) на f1.offname везде 1 Link to comment Share on other sites More sharing options... karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options... georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options... Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options... raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options... Prev 1 2 3 4 5 6 7 8 9 10 11 Next Page 6 of 76 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 More sharing options... Followers 36
karapuzz Posted January 16, 2014 Share Posted January 16, 2014 Del Link to comment Share on other sites More sharing options...
georgy83 Posted January 17, 2014 Share Posted January 17, 2014 В catalog/controller/common/header.php перед $this->children = array( 'module/language', 'module/currency', 'module/cart', 'module/geoip' ); добавить: $geoip = $this->registry->get('geoip'); $this->data['geoip_phone'] = $geoip->getRule('phone'); В catalog/view/theme/default/template/common/header.tpl После <div id="container"> вставить: <?php echo $geoip; ?> В админке заполните данными как на картинке. Спасибо! Разобрался Link to comment Share on other sites More sharing options...
Taury Posted January 19, 2014 Share Posted January 19, 2014 Эх, как же не хватает экспорта геосообщений из Exel Link to comment Share on other sites More sharing options...
raketa161 Posted January 25, 2014 Share Posted January 25, 2014 как пользоваться ГЕО сообщениями? куда вставлять ключ?------разобрался сам, не внимательный :oops: вот скрин https://opencartforum.com/index.php?app=downloads&module=display§ion=screenshot&record=80779&id=888&full=1 если у кого возникнут проблемы. progroman, спасибо за труды. Отличный скрипт :eek: но у меня вопрос: в дальнейшем, как обновить список городов России (ФИАС)? Вы брали официальную БД и парсили? Link to comment Share on other sites More sharing options...
Recommended Posts