Re: Fast and Easy Checkout for Zen Cart
Quote:
Originally Posted by
dealbyethan.com
Hi,
Just a quick question. I am installing this module. In readme step 2:
Rename /includes/templates/YOUR_TEMPLATE to your custom template name.
I could only find /includes/templates/classic, do you mean to rename classic to my own template?
Also, step 4:
Add the following line to tpl_main_page.php.
and step 5:
Perform comparison (WinMerge) between the included tpl_checkout_confirmation.php and the file on your site
Which tpl_main_page.php and tpl_checkout_confirmation.php on my site? What are the paths?
The files for editing will be found in your template's common folder. If they don't exist, you are still using the default template files which would suggest you haven't edited them - if you're using the override system properly...
If order steps is the only addition you have made to these pages, then you can overwrite (rename to backup first as always) as there is no need to display order steps when there is only a single checkout page.
The module uses redirects to move between the pages or to update information. That error means you are in an endless loop of redirects. Make sure you get everything else fixed first and then it should be working. You can see how it works here: http://www.numinix.com/1pagecheckout/
Re: Fast and Easy Checkout for Zen Cart
tpl_main_page.php is in includes/templates/YOUR_TEMPLATE/common
In the instruction Step 5: Perform comparison (WinMerge) between the included tpl_checkout_confirmation.php and the file on your site. However, tpl_checkout_confirmation.php is not included. Do you mean tpl_checkout_confirmation_default.php?
If yes, I have an original tpl_checkout_confirmation_default.php in /includes/templates/template_default/templates , should I create a copy of this original file in /includes/templates/YOUR_TEMPLATE/templates ? What changes do I make when I compare my original tpl_checkout_confirmation_default.php with yours?
I looked at your one-page checkout. I could only get my one-page checkout to work by changing all the checkout links from <a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"> to <a href="' . zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') . '"> Am I supposed to do this? For your information, after changing this it sometimes still says the page isn't redirecting properly. Something is not right. Any idea? I also noticed that my one-page checkout still has 2 steps whereas yours has 1 step. Why is that?
Please let me know. Thanks in advance :)
Re: Fast and Easy Checkout for Zen Cart
Quote:
Originally Posted by
dealbyethan.com
tpl_main_page.php is in includes/templates/YOUR_TEMPLATE/common
In the instruction Step 5: Perform comparison (WinMerge) between the included tpl_checkout_confirmation.php and the file on your site. However, tpl_checkout_confirmation.php is not included. Do you mean tpl_checkout_confirmation_default.php?
If yes, I have an original tpl_checkout_confirmation_default.php in /includes/templates/template_default/templates , should I create a copy of this original file in /includes/templates/YOUR_TEMPLATE/templates ? What changes do I make when I compare my original tpl_checkout_confirmation_default.php with yours?
I looked at your one-page checkout. I could only get my one-page checkout to work by changing all the checkout links from <a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"> to <a href="' . zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') . '"> Am I supposed to do this? For your information, after changing this it sometimes still says the page isn't redirecting properly. Something is not right. Any idea? I also noticed that my one-page checkout still has 2 steps whereas yours has 1 step. Why is that?
Please let me know. Thanks in advance :)
If you have an oroginral tpl_checkout_confirmation in template_default, leave that file there and simply upload the new file to /your_template/templates/ and it will override the template_default folder. When you want to revert back you simply delete the file from your_template and it will revert back to template_default.
This contribution is not a one page checkout contribution by default. You need to install the sql file to be able to activate the one page checkout feature from the admin. Otherwise, It simply creates a 2 step process that includes the checkout confirmation page. The one page feature skips this step.
Re: Fast and Easy Checkout for Zen Cart
Thanks for your response.
Quote:
You need to install the sql file to be able to activate the one page checkout feature from the admin.
Yes, I did install the sql file but my one page checkout still has 2 steps. Did I miss something?
I previously said I could only get my one-page checkout to work by changing all the checkout links from <a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"> to <a href="' . zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL') . '"> but it sometimes still says the page isn't redirecting properly. I don't think I should do the changes though as I was exploring more I started to understand how the module works based on redirections. When it works, it actually takes quite a while to load the checkout page. My question is that if I don't make the aforementioned changes, it will not work at all. What did I do wrong? Your instructions didn't say to make these code changes.
Re: Fast and Easy Checkout for Zen Cart
Did you add the lines from the readme.txt to the correct pages so that there is a javascript function loaded and executed as checkout_confirmation loads?
Re: Fast and Easy Checkout for Zen Cart
Quote:
Did you add the lines from the readme.txt to the correct pages so that there is a javascript function loaded and executed as checkout_confirmation loads?
Do you mean the following step? If yes, I did.
4. Add the following line to tpl_main_page.php:
- Find: <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
- Replace With: <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?><?php if(FEC_ONE_PAGE == 'true' && $_GET['main_page'] == 'checkout_confirmation') echo ' onLoad="document.checkout_confirmation.submit();"';?>>
Re: Fast and Easy Checkout for Zen Cart
Re: Fast and Easy Checkout for Zen Cart
I believe I installed this module according to your instructions. Perhaps I should reinstall and see what happens.
Re: Fast and Easy Checkout for Zen Cart
Sure, then provide me a link to the installation site and I will take a look. Turn one-page checkout on. Is there a difference between on and off?
Re: Fast and Easy Checkout for Zen Cart
Hi, I reinstalled the module but the problem persists, i.e. during checkout, I received the following error message.
"The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
Quote:
Sure, then provide me a link to the installation site and I will take a look. Turn one-page checkout on. Is there a difference between on and off?
The link is located at https://www.dealbyethan.com/checkout.html . This page shows up when someone hits checkout. The one-page checkout is on. I found out that one-page checkout was left as false in the Admin > Configuration. So the one-page checkout does only have one step. But what about the error message I keep getting during checkout? Why isn't the page redirecting properly? I did everything very carefully this time according to your instructions.