Mr. Bro
Авто Демо логин
БЕСПЛАТНО

OC сервер ID: oc-34572

Если Вы хотите найти модули, которые будут максимально совместимы с версией интернет магазина, а так же уделяете внимание качеcтву кода, то предлагаем к просмотру: авто демо логин, это решение было разработано специально для магазинов, работающих на платформе OpenCart, с поддержкой от нашей компании каждого магазина, работающего на нашей CMS Brocart.



При скачивании бесплатного дополнения, мы не даем 100% гарантии, что оно будет работать на Вашем магазине, просим быть внимательными к интсрукциям по установке!
The extension is created to help fellow opencart developers to show their admin extensions to potential customers, without need the customer to type demo/demo in the login screen.

By adding "autologin" in the url of your shop, the extension will login automatically the user "demo" with password "demo". There is no difference between this and submitting the form, so you could disable or delete the user and the the autologin will not work.

There is no particular usage of this extension for "normal" opencart users. It's only for developers.

Here is example:

So let's say your extension is like:
http://opencartdemo.yourserver.com/admin/index.php?route=extension/yourextension

Then by using the extension and adding &autologin in the url your potential customers will land exactly on the extension screen.

Here is a demo:
Instant Product Editor Demo (look ma' no login screen :)).

The logic is very simple:
1. force method to be POST
2. set username and password post vars to "demo"
3. set redirect url to the same url requested, but without "autologin" in it.

Check the source to see how it's done, there is nothing special.

--

Take a look on my other extensions

Олеся – 22.07.2018

Хай. Не сразу поняла как скачать файл, потом получилось, все нормально работает, но хотелось бы больше информации о файле. Буду теперь знать откуда качать файлы.