Hello,
I'd like to disable Guest checkout feature.
The proper way to do so is to navigate to System (side menu) > Settings (sub-menu) >Options (tab) > Checkout (section) > Guest checkout (radio button): 'off'.
But it doesn't work for me.
I am a total newb, I've never seen opencart before, a friend of mine just asked to help him a bit after a freelancer developer that made him this site got out of touch.
Seems like that freelancer might have screwed things up.
I wouldn't want to reinstall the whole system, I'd like just do a quick fix of this small setting: I need to disable guest checkout and it doesn't matter how I do it.
Could you tell me what file should I edit to just comment out the part about guest checkout functionality completely, so it wouldn't work at all?
I'd like to disable Guest checkout feature.
The proper way to do so is to navigate to System (side menu) > Settings (sub-menu) >Options (tab) > Checkout (section) > Guest checkout (radio button): 'off'.
But it doesn't work for me.
I am a total newb, I've never seen opencart before, a friend of mine just asked to help him a bit after a freelancer developer that made him this site got out of touch.
Seems like that freelancer might have screwed things up.
I wouldn't want to reinstall the whole system, I'd like just do a quick fix of this small setting: I need to disable guest checkout and it doesn't matter how I do it.
Could you tell me what file should I edit to just comment out the part about guest checkout functionality completely, so it wouldn't work at all?
The checkout page cannot just be commented out as easily out-of-the-box, unfortunately. However, there might be available extensions that may help you: http://www.opencart.com/index.php?route ... n_id=13062wewlad wrote:Hello,
I'd like to disable Guest checkout feature.
The proper way to do so is to navigate to System (side menu) > Settings (sub-menu) >Options (tab) > Checkout (section) > Guest checkout (radio button): 'off'.
But it doesn't work for me.
I am a total newb, I've never seen opencart before, a friend of mine just asked to help him a bit after a freelancer developer that made him this site got out of touch.
Seems like that freelancer might have screwed things up.
I wouldn't want to reinstall the whole system, I'd like just do a quick fix of this small setting: I need to disable guest checkout and it doesn't matter how I do it.
Could you tell me what file should I edit to just comment out the part about guest checkout functionality completely, so it wouldn't work at all?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
That is correct, sorry. I did thought it was about the page checkout. What is your OC version? Do you use a custom theme? If so, switch back to the default theme from your admin - > extensions - > themes - > Select Default and see if you can reproduce the same issue once the guest checkout is set to disabled from your admin - > systems - > settings - > edit store page.wewlad wrote:I don't want to disable checkout page completely, I just want to disable guest checkout, which is the ability to order stuff without properly registering first.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
OC version is 2.*, default theme.
I'm telling you - it must be that the freelance developer screwed something up inside the files.
In my opinion - it should be quite simple to deactivate a feature of guest checkout completely by commenting some lines of code (or forcefully assigning something like 'false' to some variable), I just need to know which file to look at, because OC's file structure is pretty new to me, I don't know where's what.
I'm telling you - it must be that the freelance developer screwed something up inside the files.
In my opinion - it should be quite simple to deactivate a feature of guest checkout completely by commenting some lines of code (or forcefully assigning something like 'false' to some variable), I just need to know which file to look at, because OC's file structure is pretty new to me, I don't know where's what.
By the use of the custom theme, the default theme should no longer matter rather than troubleshooting purposes. If you believe the default theme to have been modified by custom jobs but you are using a custom theme, simply make a backup of your store and re-upload your default theme folder and try again by disabling the guest checkout from the admin to see if the issue persists.wewlad wrote:OC version is 2.*, default theme.
I'm telling you - it must be that the freelance developer screwed something up inside the files.
In my opinion - it should be quite simple to deactivate a feature of guest checkout completely by commenting some lines of code (or forcefully assigning something like 'false' to some variable), I just need to know which file to look at, because OC's file structure is pretty new to me, I don't know where's what.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Sorry, figured out that this theme is used, not the default one.
It also turned out that default theme's templates/checkout/checkout.tpl is unmodified.
I guess that the custom theme's checkout.tpl is just made so that it doesn't support the admin panel's option to enable/disable guest checkouts: I've searched that file's contents for 'guest' match and it has 0 matches (unlike default theme's same file has).
I don't know what to do
It also turned out that default theme's templates/checkout/checkout.tpl is unmodified.
I guess that the custom theme's checkout.tpl is just made so that it doesn't support the admin panel's option to enable/disable guest checkouts: I've searched that file's contents for 'guest' match and it has 0 matches (unlike default theme's same file has).
I don't know what to do

I would suggest to contact the theme developer to resolved this issue.wewlad wrote:Sorry, figured out that this theme is used, not the default one.
It also turned out that default theme's templates/checkout/checkout.tpl is unmodified.
I guess that the custom theme's checkout.tpl is just made so that it doesn't support the admin panel's option to enable/disable guest checkouts: I've searched that file's contents for 'guest' match and it has 0 matches (unlike default theme's same file has).
I don't know what to do
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 60 guests