Updated the file in the first post. Thanks!maguijo wrote:I'm a little late to this party, having only just now updated from 1.5.x to 2.x, but for this vQmod to work with opencart 2.x, you need to change line 36 from
toCode: Select all
$this->redirect($this->url->link('account/login', 'SSL'));
Many thanks to qphoria for the years we've been using this mod successfully, and here's a toast to many more!Code: Select all
$this->response->redirect($this->url->link('account/login', 'SSL'));
Hello, thank you very much for this excellent extension.
My question is:
is it possible to hide even the front page for unregistered users?
Currently when I go to https://velkoobchod.bioma.cz I can see the full front page and only when I click on some item, I am directed to the login page. I would like to be directed to the login page right after typing https://velkoobchod.bioma.cz so that unregistered users can't see the products and prices on the front page.
Thank you very much for any suggestions.
My question is:
is it possible to hide even the front page for unregistered users?
Currently when I go to https://velkoobchod.bioma.cz I can see the full front page and only when I click on some item, I am directed to the login page. I would like to be directed to the login page right after typing https://velkoobchod.bioma.cz so that unregistered users can't see the products and prices on the front page.
Thank you very much for any suggestions.
Hello, thanks again for this great extension, the problem I mentioned before is already solved.
But I have a more interesting question. How difficult would it be to add a possibility to access and use the shop without registration for users who would obtain a URL that would work like a code to access the shop?
I.e. when the user accesses say myshop.cz he would be directed to the login page just like this extension does it by default, but after going to say myshop.cz/code/cdkok989 he could use the shop without registering.
Thank you very much for any suggestions.
But I have a more interesting question. How difficult would it be to add a possibility to access and use the shop without registration for users who would obtain a URL that would work like a code to access the shop?
I.e. when the user accesses say myshop.cz he would be directed to the login page just like this extension does it by default, but after going to say myshop.cz/code/cdkok989 he could use the shop without registering.
Thank you very much for any suggestions.
You'd need a custom mod for that to add checks all over where login is set to see if the code is set as an alternative. PM me if you are interested and I can quote you for the custom work.bhy wrote:Hello, thanks again for this great extension, the problem I mentioned before is already solved.
But I have a more interesting question. How difficult would it be to add a possibility to access and use the shop without registration for users who would obtain a URL that would work like a code to access the shop?
I.e. when the user accesses say myshop.cz he would be directed to the login page just like this extension does it by default, but after going to say myshop.cz/code/cdkok989 he could use the shop without registering.
Thank you very much for any suggestions.
Cheers
Q
Updated for 3.0
Technically it already worked for 2.3 and 3.0 but as netsabilism noted, you could still access the homepage. I've separated that feature a bit and moved it to its own line so if you want to still allow the homepage to be loaded but no other pages, then you could uncomment the noted line in the xml file.
Also optimized the code a bit
Technically it already worked for 2.3 and 3.0 but as netsabilism noted, you could still access the homepage. I've separated that feature a bit and moved it to its own line so if you want to still allow the homepage to be loaded but no other pages, then you could uncomment the noted line in the xml file.
Also optimized the code a bit
I fixed the code to also route the root path to the login pagenetsabilisim wrote: ↑Tue Jul 25, 2017 7:22 pmV2.3 www.domainname.com There is no way to route the root
Who is online
Users browsing this forum: No registered users and 60 guests