Re: COWOA Updated and Combined for ZC v1.5.x
Update:
Not sure if this is the best way to do this but here’s what I did.
I went to this file:
includes\templates\template_default\templates\ tpl_shopping_cart_default.php
and I changed the code in line 132:
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
change to this:
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
Notice the change from “FILENAME_CHECKOUT_SHIPPING” to “FILENAME_NO_ACCOUNT” – this takes the user right to the no account sign up page used in COWOA.
Re: COWOA Updated and Combined for ZC v1.5.x
Quote:
Originally Posted by
markalpine
Update:
Not sure if this is the best way to do this but here’s what I did.
I went to this file:
includes\templates\template_default\templates\ tpl_shopping_cart_default.php
and I changed the code in line 132:
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
change to this:
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
Notice the change from “FILENAME_CHECKOUT_SHIPPING” to “FILENAME_NO_ACCOUNT” – this takes the user right to the no account sign up page used in COWOA.
What use is it for a customer that has not put anything in his/her shopping basket to sign up without an account??
Re: COWOA Updated and Combined for ZC v1.5.x
Any error logs generated by doing so?
Re: COWOA Updated and Combined for ZC v1.5.x
Not sure where this idea came from:
‘a customer that has not put anything in his/her shopping basket to sign up without an account”
The way I’ve set this up you can’t sign up (or order) unless you’ve placed something in your cart. But I’ve taken it all the way to the point of submitting credit card with no errors at all. I’ll have the whole thing set up next week and respond if there are any errors.
Re: COWOA Updated and Combined for ZC v1.5.x
Quote:
Originally Posted by
markalpine
Update:
Not sure if this is the best way to do this but here’s what I did.
I went to this file:
includes\templates\template_default\templates\ tpl_shopping_cart_default.php
and I changed the code in line 132:
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
change to this:
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
Notice the change from “FILENAME_CHECKOUT_SHIPPING” to “FILENAME_NO_ACCOUNT” – this takes the user right to the no account sign up page used in COWOA.
Yes this will work, but if it were me I would want to make this an admin configurable option.. An admin configurable option means you don't have to go digging through the code should you decide you want both standard and COWOA options. You also have to remove the link to the login page from the no_account page and you have to figure out a way to prevent folks from "backdooring" their way into the login page. There is a way to turn off the defined pages so that if someone directly entered the link to that page they get a "Page Not Found" error.. If it was me I would look for a means to do something similar to the login page.
From personal experience I have fo8und that clients who INSIST that there should be no other options other than COWOA generally don't have a really good business reason to insist on this.. They merely "heard" that this was better.. (Usually someone told them it's good for SEO or something similar) I tell folks to look at the large retailers.. (WWAD - What would Amazon do?)
In other words there is no downside to people CHOOSING to register for a shop account.. The clients I converted from FEC to COWOA found that their "concerns" were addressed by simply moving the COWOA options above the standard options on the login page so it's seen first by customers.
Re: COWOA Updated and Combined for ZC v1.5.x
This is my first post/question here. Hopefully, I will give enough info.
Running a linux server, php 5.2.17, Zen Cart v1.5.1 fresh install.
I have installed the CKEditor and Dynamic Price Updater.
Using a template from (sorry, site offline) (by SamWilson3D).
I am installing COWOA 2.4 (fresh).
Looking through the directory structure of the install files and comparing to the what I have, I found there are places where the install files have 'YOUR-TEMPLATE' directories where I don't. Should I add the new directory in that place (with the appropriate name) or put the file in the default template directory? Or did I miss something?
Re: COWOA Updated and Combined for ZC v1.5.x
Quote:
Originally Posted by
Stilter
This is my first post/question here. Hopefully, I will give enough info.
Running a linux server, php 5.2.17, Zen Cart v1.5.1 fresh install.
I have installed the CKEditor and Dynamic Price Updater.
Using a template from (sorry, site offline) (by SamWilson3D).
I am installing COWOA 2.4 (fresh).
Looking through the directory structure of the install files and comparing to the what I have, I found there are places where the install files have 'YOUR-TEMPLATE' directories where I don't. Should I add the new directory in that place (with the appropriate name) or put the file in the default template directory? Or did I miss something?
Hi Stilter,
Welcome to the community :)
YOUR-TEMPLATE as a common name where you should use your own template name. So is your template name is stilter, replace all instances of YOUR-TEMPLATE with stilter.
Like YOUR_ADMIN is replaced by the secert name you gave your admin folder
Your_TEMPLATE, or CUSTOM are used as a universal name to tell you when to use an override.
Re: COWOA Updated and Combined for ZC v1.5.x
Thanks for the reply and info.
So I changed the appropriate directory names to the template name I use and uploaded/overwrote the files from the install package as described. I verified that all the files have been uploaded to the correct directories with the correct names etc. When I went to the admin page (different name), the admin-home page had this error; 'WARNING: An Error occurred, please refresh the page and try again.' I assumed this was because I haven't preformed the sql patch yet. So I went to Tools->Install SQL Patches. I copied the plain-text information from the COWOA_Full_Install.sql file and pasted to the window and hit 'Send'. Now I get an error 500 screen; 'The server encountered an internal error or misconfiguration and was unable to complete your request.'
I would greatly appreciate some assistance on what I might have done wrong and how I can fix it.
BTW, now my storefront layout is messed up...
Re: COWOA Updated and Combined for ZC v1.5.x
Do I need to copy and paste the sql patches one section at a time?
Re: COWOA Updated and Combined for ZC v1.5.x
The server I am using has PHP 5.2.17. Is there anything in the configuration I sure check for as the cause of an internal server error (500) when doing the sql patch?