Re: My Checkout Without Account Mod
Hey, if we weren't anal retentive we wouldn't be doing this at all! That's sort of what I thought, it just shook me when I realized I had an extra folder... Thanks for confirming, and I will in fact make sure I have the COWOA stuff in the right place before deleting that unnecessary directory!
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
craftzombie
Well, I am not sure exactly how much you understand the template system, so I cannot be sure what happened. By default, Zen will go to template_default and the regular Zen folders to look for the file. If you are using your own template, it will take the file from your template folders instead. It doesn't make a mistake on that part. We make mistakes my misspelling folders or our ftp program sometimes doesn't transfer files properly.
For anyone who is still new and is not sure about overrides & templates....
As an example.... the name of my template is "orange". Don't know why... its not orange! I just picked a random name.
Any area in Zen where I am going to make changes to a file, I....
1. create a new folder
2. change the name of that new folder to orange
3. place updated file into that folder
So, say I am editing includes/modules/sideboxes/information.php
I make my changes to the file, but instead of uploading it back to includes/modules/sideboxes/, I create a new folder and place the file in it:
includes/modules/sideboxes/orange/information.php
You can do this in most places, but not all of them. The override system is not available for admin files and for some catalog files. Any directory that contains a subdirectory named "classic" can be overridden. (
wiki) (
tutorial)
craftzombie,
Thanks for you reply, Well I gues I am learning the template system much like I did or maybe still am learning the override system.
Here is the short story,
1st, I created a folder called "custom" next to every folder called "classic"
2nd, I copied every file in the "classic" folder to the "custom" folder, since I did not want the overall look to change.
3rd, I uploaded all the files from the COWOA mod as instructed in the install into there respective "custom" folders following the directory tree structure as outlined.
4th, I installed the sql. patch.
5th, I modified the "template_info.php" file and placed it into "includes/template/custom"
I am able to choose the custom template from the admin no trouble and everything else seems look and run normal, except when I get to the billing info page this is the error msg. I get "Warning: require(includes/templates/template_default/templates/tpl_no_account_default.php) [function.require]: failed to open stream: No such file or directory in /home/ecmauto/public_html/store/includes/templates/template_default/common/tpl_main_page.php on line 119
Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_no_account_default.php' (include_path='.:/usr/local/php52/pear') in /home/ecmauto/public_html/store/includes/templates/template_default/common/tpl_main_page.php on line 119"
If I place these two files in the "templates/template_default/templates" dir. the mod works correctly.
I have double checked spelling and placement. Any idea's ?
Thanks, Jim
https://ecmauto.com
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
ecmauto
craftzombie,
Thanks for you reply, Well I gues I am learning the template system much like I did or maybe still am learning the override system.
Here is the short story,
1st, I created a folder called "custom" next to every folder called "classic"
2nd, I copied every file in the "classic" folder to the "custom" folder, since I did not want the overall look to change.
3rd, I uploaded all the files from the COWOA mod as instructed in the install into there respective "custom" folders following the directory tree structure as outlined.
4th, I installed the sql. patch.
5th, I modified the "template_info.php" file and placed it into "includes/template/custom"
I am able to choose the custom template from the admin no trouble and everything else seems look and run normal, except when I get to the billing info page this is the error msg. I get "Warning: require(includes/templates/template_default/templates/tpl_no_account_default.php) [function.require]: failed to open stream: No such file or directory in /home/ecmauto/public_html/store/includes/templates/template_default/common/tpl_main_page.php on line 119
Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_no_account_default.php' (include_path='.:/usr/local/php52/pear') in /home/ecmauto/public_html/store/includes/templates/template_default/common/tpl_main_page.php on line 119"
If I place these two files in the "templates/template_default/templates" dir. the mod works correctly.
I have double checked spelling and placement. Any idea's ?
Thanks, Jim
https://ecmauto.com
The only thing I can think of is that the tpl_no_account_default.php and tpl_modules_no_account.php failed to upload properly to includes/templates/custom/templates. Sometimes FTP programs just don't wanna transfer files. I've had instances where I was sure certain files were transferred and when I checked again, sure enough they were not there. Its no problem to keep them in template_default/templates though.
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
craftzombie
The only thing I can think of is that the tpl_no_account_default.php and tpl_modules_no_account.php failed to upload properly to includes/templates/custom/templates. Sometimes FTP programs just don't wanna transfer files. I've had instances where I was sure certain files were transferred and when I checked again, sure enough they were not there. Its no problem to keep them in template_default/templates though.
craftzombie,
Hi, well I am ready to give up, It works let it alone.
I reloaded all COWOA files , no help.
I went through the template dir. structure, found a few mistakes,no help.
I checked all COWOA files for dup's , found several where they shouldn't be,no help.
Still will not work without relocating those two files. I did notice something that I am not sure is correct, in order to cowoa you must go to the shopping cart page 1st, then hit checkout.
I you go to chekouit 1st you are taken to the standard login/create account page.
I wanted to fix this in order to make upgrade easier, but as much time as I sent trying to fix this I probably could have upgraded by now. Live and learn right.
Thanks for all your help, Jim
https://ecmauto.com
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
ecmauto
I did notice something that I am not sure is correct, in order to cowoa you must go to the shopping cart page 1st, then hit checkout.
I you go to chekouit 1st you are taken to the standard login/create account page.
https://ecmauto.com
You are taken to the standard login/create account page first, ANYTIME you click on checkout, whether you are on the shopping cart page or any other page and whether you are using COWOA or not.
COWOA does not begin until the customer clicks on the the "continue" (or whatever it says) button in the guest checkout section, which appears on the login page only when there are items in the cart.
If you are shopping and decide to click on checkout without going to the shopping cart page first, it should not act any different than when you do go to the shopping cart page first. Either way will take you to main_page=login first and then from there, the customer can choose what to do.
Wow, that was a brain-melter......
Now, having said all that, I took a look at your shop and the thing is... you have edited some code and that is why it is doing that. If you look behind the scenes at your code.... the link for the checkout button in your shopping cart goes to
main_page=no_account, but the checkout link on the top of your page goes to main_page=checkout_shipping (which is the correct way) (and will switch you to the login page automatically if you are not logged in or are new).
I suspect that you did this:
postcount=439, which you do not want to do unless you want to remove logging in completely from your shop. If you want to keep login available to your customers, you need to do what it says in that post... in reverse! :smile:
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
craftzombie
You are taken to the standard login/create account page first, ANYTIME you click on checkout, whether you are on the shopping cart page or any other page and whether you are using COWOA or not.
COWOA does not begin until the customer clicks on the the "continue" (or whatever it says) button in the guest checkout section, which appears on the login page only when there are items in the cart.
If you are shopping and decide to click on checkout without going to the shopping cart page first, it should not act any different than when you do go to the shopping cart page first. Either way will take you to main_page=login first and then from there, the customer can choose what to do.
Wow, that was a brain-melter......
Now, having said all that, I took a look at your shop and the thing is... you have edited some code and that is why it is doing that. If you look behind the scenes at your code.... the link for the checkout button in your shopping cart goes to
main_page=no_account, but the checkout link on the top of your page goes to main_page=checkout_shipping (which is the correct way) (and will switch you to the login page automatically if you are not logged in or are new).
I suspect that you did this:
postcount=439, which you do not want to do unless you want to remove logging in completely from your shop. If you want to keep login available to your customers, you need to do what it says in that post... in reverse! :smile:
craftzombie, Hi
You where right, the code was changed. sorry I did not remember doing that. My wife calls that CRS "can't remember *!%$#".
I changed it back and now I am not given the cowoa option, weather I go to shopping cart 1st or not and I did check it with something in cart.
It looks like the standard login/create account page.The page that the screen shots of cowoa show does not appear.
This is getting complicated. New thought, now that I have a better understanding of the override system perhaps I should go ahead and upgrade to 1.3.8 witch would replace all the standard zen files correcting any other code I may have changed (and don't remember) then reinstall the few mods I have the correct way.
What do ya think ?
Thanks, jim
https://ecmauto.com
Re: My Checkout Without Account Mod
Anyone know how/if there is a way to put the referral options in with this mod? I have the site referral for those who create an account but it would be awesome if those who do not create an account could tell me who/where they were referred.
Also, the comments in my orders.php says fatal error, and refers to line 804 anyone have that problem? It has to do with the comments.
Great mod by-the-way!
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
pcdesigns
Anyone know how/if there is a way to put the referral options in with this mod? I have the site referral for those who create an account but it would be awesome if those who do not create an account could tell me who/where they were referred.
WinMerge is your friend. I have both running. I also have other things merged, so it's not so simple for me to list what's different just for this.
Re: My Checkout Without Account Mod
hi i've tried to install this mod on 1.37 but no luck. the wiki download for 1.37 dosent work so a've installed 1.38. Is this the problem? Are there any triks?
Re: My Checkout Without Account Mod
I'd just like to say a big thanks for this mod. Just installed and tested everything. It's working great.