New Zenner
- Join Date:
- Oct 2007
- Location:
- Netherlands
- Posts:
- 36
- Plugin Contributions:
- 0
My Checkout Without Account Mod
Please let me known of there is any work needed to make this mod working with 1.3.8a!! Please :lookaroun
Views: 323,008
New Zenner
Please let me known of there is any work needed to make this mod working with 1.3.8a!! Please :lookaroun
Zen Follower
Well, I thought all was well when I started adding this to 1.3.8, but just a moment ago when I tried to login, I got an error.
Yesterday, after I updated all of the COWOA files for my 1.3.8 site, I began testing. I checked out using COWOA just fine. Then I also checked out the normal way by creating an account. That worked fine too. I thought everything was fine, but right now when I tried to login with the account I created yesterday, I received this error:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':email AND COWOA_account != 1' at line 9
in:
[SELECT customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id, customers_authorization, customers_referral FROM customers WHERE customers_email_address = :email AND COWOA_account != 1]
I also tried logging in with accounts created by my customers long ago using my master password and I still get the error. Since I know nothing about SQL, I am of no use. If anyone has any clue about how to fix that, I've got all of the other files ready to go with the 1.3.8 files. If it can't be fixed and is not compatible with 1.3.8 now, then I guess we are all screwed!
Zen Follower
found out the login issue has to do with includes\modules\pages\login\header_php.php - will see if I can fix it :)
Zen Follower
Okay, I think I have it all fixed (cross your fingers for me!). Let me do some additional testing and if everything is okay, I will post the updated files.
Zen Follower
I am crossing my fingers, hoping that my upgrades work for you. I have successfully upgraded the COWOA mod for use with my 1.3.8 site and after much testing, I haven't found any errors. I have added the download to the wiki here:
I have also upgraded my test site from 1.3.6 to 1.3.8 and I added the upgraded COWOA files to it if you want to test it:
COWOA test site
(The login page may be showing guest checkout twice. I don't have time to fix it at the moment but will get to it as soon as I can. The file is includes\templates\YOUR_TEMPLATE\templates\tpl_login_default.php)
Please let me know asap if you encounter any errors. Back up your files first please - I don't want to be blamed for anything! I tried my best!!!
New Zenner
Thanks craftzombie I am trying to get it to work for weeks now :D
Zen Follower
|Dexter|:
Thanks craftzombie I am trying to get it to work for weeks now :D
Well let me know how it goes. I want to make sure that its not just working properly for me. :smile:
New Zenner
Craft, it seems to be working ok for me at the moment. I'll keep you posted of any problems. Thanks for doing this!
New Zenner
Sorry for the late reply got lots of size projects :D Anyway I tested it in any way I think off with both php 4 and php 5! And it pass all tests with flying colors! Thanks a lot for doing this!
New Zenner
Ok now I upload it to my host and reinstall it and check all steps but on 1.3.8a it still keep showing me the old Login page after I click the checkout button :(
So now there is no way to choose the without account option??
Ones again I check the install steps and run the database edit??
Zen Follower
|Dexter|:
Ok now I upload it to my host and reinstall it and check all steps but on 1.3.8a it still keep showing me the old Login page after I click the checkout button :(
So now there is no way to choose the without account option??
Ones again I check the install steps and run the database edit??
In your admin, under configuration>layout settings>use split-login page
is it set to true???
New Zenner
OOps it was not :S Now its working sorry about that!
New Zenner
That split login step needs to be added to the install.txt. I didn't mention it yesterday as I thought it was due to my not knowing the zen application well enough but I only worked it out after tracing the problem to an if statement which looked for the split login boolean value.
Zen Follower
just a quick one... i was just going over the text file in the 1.3.8 version of the cowoa and the 1.3.7 and 1.3.8 are identical when it comes to the "find" and "replace" instructions... does that mean that - if i installed cowoa befor the release of the updated version by only using the text instructions, i have the current and working version or is there some code change between the 2 versions that is not in the text instructions?
Zen Follower
stevefriedman71:
just a quick one... i was just going over the text file in the 1.3.8 version of the cowoa and the 1.3.7 and 1.3.8 are identical when it comes to the "find" and "replace" instructions... does that mean that - if i installed cowoa befor the release of the updated version by only using the text instructions, i have the current and working version or is there some code change between the 2 versions that is not in the text instructions?
There is no new code for this mod that makes it work with 1.3.8. You can use the same instructions for 1.3.7. The reason why this mod didn't work with 1.3.8 is because there were changes made by the Zen team to some of the core Zen files for 1.3.8.
All I did to upgrade this mod was.... I went through every file this mod uses and I downloaded the 1.3.8 version of it. Then I took the manual instructions given in the overrides-writes.txt file and added the proper code to the 1.3.8 files. I tested it, it worked, I zipped it up, and made it available. That's why I pray it works well for everyone, because I did not write the code and would not know how to fix the code. I just took already existing code and applied it to new files.
Zen Follower
cannontrodder:
That split login step needs to be added to the install.txt. I didn't mention it yesterday as I thought it was due to my not knowing the zen application well enough but I only worked it out after tracing the problem to an if statement which looked for the split login boolean value.
You're right.... it's done!
Zen Follower
craftzombie:
There is no new code for this mod that makes it work with 1.3.8. You can use the same instructions for 1.3.7. The reason why this mod didn't work with 1.3.8 is because there were changes made by the Zen team to some of the core Zen files for 1.3.8.
All I did to upgrade this mod was.... I went through every file this mod uses and I downloaded the 1.3.8 version of it. Then I took the manual instructions given in the overrides-writes.txt file and added the proper code to the 1.3.8 files. I tested it, it worked, I zipped it up, and made it available. That's why I pray it works well for everyone, because I did not write the code and would not know how to fix the code. I just took already existing code and applied it to new files.
thanks. that means i could have provided this weeks ago... but i'm still new with giving back after using contributions.... i'm still shy to upload what i'm doing... but thank you for telling me that there is no code change involved :smartalec:
Zen Follower
stevefriedman71:
thanks. that means i could have provided this weeks ago... but i'm still new with giving back after using contributions.... i'm still shy to upload what i'm doing... but thank you for telling me that there is no code change involved :smartalec:
I think it is important for any contributor to provide instructions for manually adding code to files, as KGZotU did, instead of just giving us files with the code already in them. This is especially true if the contributor won't always be able to support the mod. It at least gives us dummies SOMETHING to work with!
I too am weary about uploading contributions. My fear is that it won't work properly and will screw someone up. I know that a lot of people are so impatient and want to get the mod on their site, so they don't back up their files first. I know this because I used to be that person. Boy did I learn my lesson!!
I really like to help any Zen user as much as I can because I know what its like to sit there, looking at your computer screen, wishing you had a hammer to beat it with because you are so frustrated you can't figure it out. So don't be shy! Someone out there can use your help, trust me.
New Zenner
Hello,
I have problem with COWOA. It shows me the link to continue without registration on the registration page (tpl_login_default.php), which is OK, but it links to .../index.php?main_page=FILENAME_NO_ACCOUNT
I read in this thread that the problem can be with the position of the code in the template file, but when I tried to upload original COWOA tpl_login_default.php it does the same error. :( Anyone could help please? Thank you.
New Zenner
Hi everybody... i want that my zen cart will not have the option to create an account at all , i want only checkout without account , and i want it to be integrated with the VAT module , any ideas guys?
i really need help on that one...
Fields marked required must be completed.
Tell staff why this post should be reviewed.