online-hobby Posted January 29, 2009 Share Posted January 29, 2009 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 More sharing options...
jhnstcks Posted January 29, 2009 Share Posted January 29, 2009 Remove the link to previous orders in the tpl files, then the customers cant open the pages Link to comment Share on other sites More sharing options...
online-hobby Posted January 29, 2009 Author Share Posted January 29, 2009 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 More sharing options...
online-hobby Posted January 29, 2009 Author Share Posted January 29, 2009 I think what I want to do is in the my-account.phpI 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 More sharing options...
Ardian Yuli Setyanto Posted January 30, 2009 Share Posted January 30, 2009 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 athttp://www.prestashop.com/forums/viewthread/11655/bahasa_indonesia/preview_module_saya_ga_mau_login_apalagi_mendaftarfor english version, might be next week also.bad english ? thnks. Link to comment Share on other sites More sharing options...
rbarrick Posted January 30, 2009 Share Posted January 30, 2009 Ardian, does your module also allows customers to bypass the registration completely and go directly to checkout using paypal and google checkout?Thanks Link to comment Share on other sites More sharing options...
online-hobby Posted January 30, 2009 Author Share Posted January 30, 2009 Ardian,Great I look forward to the module, in the mean time I got my work around workingWhat I ended up doing is in the my-account.tplI 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 More sharing options...
Jack Posted January 30, 2009 Share Posted January 30, 2009 That is great Ardian,I look forward to your great module. I believe a lot of people will be thankful to you for the module as well. Thanks again. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted January 31, 2009 Share Posted January 31, 2009 ok, brothers,thnks for your reply.now i have uploaded new image in my thread i dont want to register neither loginbut still in indonesian, english version insya' Allah next day. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted January 31, 2009 Share Posted January 31, 2009 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 More sharing options...
Roberto.C Posted March 30, 2009 Share Posted March 30, 2009 Ardian,Great I look forward to the module, in the mean time I got my work around workingWhat I ended up doing is in the my-account.tplI 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 More sharing options...
Ardian Yuli Setyanto Posted March 30, 2009 Share Posted March 30, 2009 Sorry Guys, i missed this thread. Currently i'm finished from this presta guest check out. I have posted in a thread that it is available for free, to get it you just send an email to gm.computer % yahoo * com.Thanks Link to comment Share on other sites More sharing options...
Roberto.C Posted March 31, 2009 Share Posted March 31, 2009 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 Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted March 31, 2009 Share Posted March 31, 2009 Hi Roberto, i have reply your email. thanks for your attention. I think it could be done in prestashop, but currently i'm in busy week to finished my job.thanks Link to comment Share on other sites More sharing options...
Roberto.C Posted April 1, 2009 Share Posted April 1, 2009 Sorry Ardian... i have not received your reply.My email is info @ code-sign . it Link to comment Share on other sites More sharing options...
nicolas92 Posted April 1, 2009 Share Posted April 1, 2009 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_compteHere 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.php3) 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 More sharing options...
Ardian Yuli Setyanto Posted April 1, 2009 Share Posted April 1, 2009 Sorry Ardian... i have not received your reply.My email is info @ code-sign . it i have sent it Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted April 1, 2009 Share Posted April 1, 2009 2) 2 files are modifiled (authentication.php and blockmyaccount.php Hai Nicolas, might be same whit me, i'm modified 2 files authentication.php and authentication.tpl Link to comment Share on other sites More sharing options...
TropischBruin Posted April 2, 2009 Share Posted April 2, 2009 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? That is because it is a sort of work-arround which is not the way to do this. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted April 2, 2009 Share Posted April 2, 2009 Would you like to try my solution. But sorry, the guest login form is in Indonesian. feel free to translate it. modification_guest_check_out.zip Link to comment Share on other sites More sharing options...
arowana Posted May 4, 2009 Share Posted May 4, 2009 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 More sharing options...
aftermarket Posted June 7, 2009 Share Posted June 7, 2009 Thanks Ardian Link to comment Share on other sites More sharing options...
Henrik Pantle Posted December 15, 2009 Share Posted December 15, 2009 hello everyone asking for speed guest check out.i tried to form a feature request. perhaps you can comment.http://www.prestashop.com/bug_tracker/view/3425/thank you Link to comment Share on other sites More sharing options...
slamm Posted December 22, 2009 Share Posted December 22, 2009 himy problem is no one can log in as a user... please try it and tell me whats wrongwww.oliofrasca.ch/prestashop/my-account-phpuser: [email protected]password: 5up3rmanthanx Link to comment Share on other sites More sharing options...
Recommended Posts