Jump to content

Guest Login at check out


Recommended Posts

I have read several forums asking for an enhancement for a guest login, but
it doesn't look like one is in the immediate future, so put a work around on my
site and would like some feedback / assistance.


 



I added a section below the log in the authentication.tpl
that informs the customer that there is a "Guest Login" and gives them the log in info.



      E-mail address: [email protected]
      Password: password


 



Next I went into the two locations where a user can reset the password and
put in an if/then statement that gives them an error message if they try to reset or
change the guest email address.



            this all works fine but I would like to take it to the next step


 



if someone logs into the "guest" account I would like them to not have access
to anything under the my-account.tpl so they cannot see the guest orders, bogus address, etc.




right now my plan was to manually move the orders to another account on the
mysql database, but that is a poor solution.




any suggestions or feedback?

Link to comment
Share on other sites

thanks but I would like my customers who do set up accounts to be able to see there previous orders (ie a benifit for setting up an account)

I just don't want everyone who logs in under the "guest" account to see all the previous "guest" orders?

I hoping for a solution that skips all the links in my-account.tpl if the email is "guest"

Link to comment
Share on other sites

I think what I want to do is in the

my-account.php

I want to embed the line

$smarty->display(_PS_THEME_DIR_.'my-account.tpl');

into and if statement that will skip this line if the account is guest, I just cannot figure out what variable i can use in the my-account.php

Link to comment
Share on other sites

hay guys, i'm Ardian from Prestashop Indonesian User,
i have developed a module to resolve this problem, but unfortunately, the screenshot that i have grabbed from my computer was corrupted.
might be in the following week i will upload the new screenshot.
for now, you could review my screenshot at
http://www.prestashop.com/forums/viewthread/11655/bahasa_indonesia/preview_module_saya_ga_mau_login_apalagi_mendaftar

for english version, might be next week also.

bad english ? :D

thnks.

Link to comment
Share on other sites

Ardian,
Great I look forward to the module, in the mean time I got my work around working

What I ended up doing is in the
my-account.tpl

I put an if statement before the links that says if the login isn’t my “guest account” then show the links.
{if $customerName!="Guest CUSTOMER"}

And then put an else statement after and put a text line in to tell the guest visitor that they cannot edit the account details in the “guest account”.


So to sum it all up now when people go to check out they see a section that tells them if they don’t want to set up an account they can use the guest log in of “[email protected]” with a password of password.

I preset up this account with the name “Guest CUSTOMER”

then I disabled the ability of someone to change the passwords through if statements on
authentication.tpl (for reset) and my-account.tpl for account changes.

On the my-account.tpl I also disabled all links so they also couldn’t change address nor see all previous guest orders.
This is not a great fix but will work until someone smarter than me comes up with a module!!!

Go Ardian!!!!!!!!

Link to comment
Share on other sites

Ardian, does your module also allows customers to bypass the registration completely and go directly to checkout using paypal and google checkout?

Thanks


ehm.. new concept.
currently my module doesn't support bypass the registration completely.

but with my concept, i think i could do this.

just wait for my next thread message.

thanks.
Link to comment
Share on other sites

  • 1 month later...
Ardian,
Great I look forward to the module, in the mean time I got my work around working

What I ended up doing is in the
my-account.tpl

I put an if statement before the links that says if the login isn’t my “guest account” then show the links.
{if $customerName!="Guest CUSTOMER"}

And then put an else statement after and put a text line in to tell the guest visitor that they cannot edit the account details in the “guest account”.


So to sum it all up now when people go to check out they see a section that tells them if they don’t want to set up an account they can use the guest log in of “[email protected]” with a password of password.

I preset up this account with the name “Guest CUSTOMER”

then I disabled the ability of someone to change the passwords through if statements on
authentication.tpl (for reset) and my-account.tpl for account changes.

On the my-account.tpl I also disabled all links so they also couldn’t change address nor see all previous guest orders.
This is not a great fix but will work until someone smarter than me comes up with a module!!!

Go Ardian!!!!!!!!


Mmmm some problems with this solution...
If more of one customer is logged as Guest, he can see all of products of the basket of the other customers...

And what about the address?
Link to comment
Share on other sites

Hi i have sent you an email :) i am interested in your script.

Did you also found a method to make a direct checkout, without basket? I mean, one product with "click here to buy", if user click there the page bring him to the form and payment mode.


My english......veeeery orrible, sorry :D

Link to comment
Share on other sites

If that can helps regarding this nice feature (guest login at check out ie, customer, select product and pays without registering an account), a french developper developped this module (free) in the french section :

http://www.prestashop.com/forums/viewthread/15845/developpement_et_modules/nouvelle_fonctionnalitee_commander_sans_creer_de_compte

Here is a fast translation :
1) Files to dowload are in the .zip located in the second post. Don't download the two single files from the first post as you will miss some file and it will not work.
2) 2 files are modifiled (authentication.php and blockmyaccount.php
3) The way it works, the customer is in fact creating an accout but without knowing it as a password is automatically generated for the account created. There is not yet an automatic delete of this temporary customer account from the back office so you'll have to do this manuall, it's a future feature to be developped...
4) DO NOT TEST THIS FEATURE IN HIS STORE ( vinummaster.com )

Nicolas

Link to comment
Share on other sites

  • 1 month later...

Ardian Abang,

Is it possible to modify the codes so that "PayPal" and "Google Checkout" will be displayed on the "Summary" page ?
Customers who doesn't want to register can click them for super fast checkout. As a internet shopper myself, I avoid those webstore that need to spend time logging in and prefer those fast checkout using "PayPal".

Anybody knows how to implement it ?

Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...
×
×
  • Create New...