Jump to content
Sign in to follow this  
nana

fast easy checkout

Recommended Posts

Does anybody knows how to get rid of the "get new total" button ? Mine just shows the total without the shipping costs. So, I better take it out. And, I will save one click in the checkout process.

Please,,,somebody enlight me with the way of vanishing this button..

 

Thank you.

Share this post


Link to post
Share on other sites

in the install instructions for fec 3.2 is asks to find in checkout_confirmation.php -

 

 if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL'));
 }

 

 

i dont have this line only this -

 

 if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL'));
 }

 

this difference is - FILENAME_CHECKOUT_SHIPPING is not in that line

 

my code has - FILENAME_CHECKOUT_PAYMENT

 

is this an error in the install files , my checkout_confirmation.php has never been edited and is standard.

 

is it safe to go ahead and add the line ?

Share this post


Link to post
Share on other sites

I'm using CRE Loaded 6.2 and I'm trying to get create_account3.php integrated with create_account.tpl.php.

 

Can anyone post their version of create_account.tpl.php please?

Share this post


Link to post
Share on other sites

Installed FEC 3.2, followed all the directions and for some resson during the checkout process after entering all the info nothing happens. I am not recieving any error message. The next page just never loads.

 

Is there something I am missing?

 

Any Ideas?

Share this post


Link to post
Share on other sites

Being new to all this I hope someone can help. Added FEC and after part one got this message:

 

Warning: main(includes/languages/english/fast_account.php) [function.main]: failed to open stream: No such file or directory in /home/basics2/public_html/OScart2/checkout_shipping.php on line 15

 

Probably something simple, it seems to be saying I have not added some file but don't know what it means

Can anyone help?

 

Mark

Share this post


Link to post
Share on other sites

try to do the whole install,,I experienced the same,,but after the whole install, it got fixed..Remeber that you have to search the forum, before stating a problem. A lot of problems are allready solved in the forum..

Share this post


Link to post
Share on other sites
IS it possible to make the password option required ONLY if the create an account box is ticked?

Thanks

 

Is there a solution to this?

 

I just installed FEC and tested it and couldn't understand why I needed to put in a password when I didn't want to create an account

 

Can someone let me know if this can be turned off

 

TIA

Share this post


Link to post
Share on other sites
Is there a solution to this?

 

I just installed FEC and tested it and couldn't understand why I needed to put in a password when I didn't want to create an account

 

Can someone let me know if this can be turned off

 

TIA

 

It's ok I fixed it, I didn't do one of the stages :blush:

Share this post


Link to post
Share on other sites

Also having this same problem

Warning: main(includes/languages/english/fast_account.php): failed to open stream: No such file or directory in /home/content/d/r/e/dreamstars/html/catalog/checkout_shipping.php on line 16

 

Warning: main(includes/languages/english/fast_account.php): failed to open stream: No such file or directory in /home/content/d/r/e/dreamstars/html/catalog/checkout_shipping.php on line 16

 

Fatal error: main(): Failed opening required 'includes/languages/english/fast_account.php' (include_path='.:/usr/local/lib/php') in /home/content/d/r/e/dreamstars/html/catalog/checkout_shipping.php on line 16

which I don't understand. I checked and the file includes/languages/english/fast_account.php IS there at that location. I followed the install directions completely as far as I know...

line 16 of checkout_shipping.php reads

require(DIR_WS_LANGUAGES . $language . '/' . 'fast_account.php');

can anyone give me an idea?

Share this post


Link to post
Share on other sites

Has anyone found the solution that works for the ajax get new total button.

 

Any help would be appreciated.

 

Eric


Eric

 

Keep up on osCommerce changes and updates at

Github | Understand osCommerce a little further at OsCommerce Documentation | Copy and paste your error message in Google add "in osCommerce" at the end to get relevant answers to most issues.

Share this post


Link to post
Share on other sites
Hi all - hoping you can help me out as I just installed this contribution and had CCGV up and working. Tthe coupons discounts are working fine, but I had an odd alignment problem. On the checkout_shipping.php page, when I enter the coupon and hit the redeem button, the table gets pushed down and shows the main contents of the page in the left part of the table after tons of white space.

 

For those who have CCGV and have seen an alignment problem after hitting the redeem button for the coupon, I found that there was an extra /table tag in checkout_shipping. Look for this section in checkout_shipping:

 <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice">
	  <tr class="infoBoxNoticeContents">
		<td>
		<table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td>
			<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table>
   </td>
	  </tr>
	</table>

 

And change it to:

		<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice">
	  <tr class="infoBoxNoticeContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			 <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			<td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td>
			<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>			  </tr>
		</table></td>
	  </tr>
	</table></td>
	  </tr>
		<tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>

 

This should fix the alignment problem. Now the issue I am having is that the total on top is not reflecting the coupon discount as pressing get new total button is not working and the error messages for the coupons are not displaying.

 

Any advice would be appreciated!

Share this post


Link to post
Share on other sites

I installed the latest version of the FEC and when someone clicks from the login page to purchase without an account it takes them to the create_account.php page anyway.

 

I need some clarification on these parts of the install:

 

1.

---------------------------------------------------------------------------------------------------------------------------------

in checkout_success.php

around line 16 AFTER

if (!tep_session_is_registered('customer_id')) {

tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

}

****ADD IF YOU WANT TO OFFER SECOND CHANCE ACCOUNT AFTER PURCHASE

 

if(tep_session_is_registered('createaccount')) {tep_redirect(tep_href_link('account_password_new.php','thx=1'));}

DO THIS FOR ALL

around line 81 change

 

<?php

 

if ($global['global_product_notifications'] != '1') {

echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">';

 

$products_displayed = array();

for ($i=0, $n=sizeof($products_array); $i<$n; $i++) {

if (!in_array($products_array[$i]['id'], $products_displayed)) {

echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>';

$products_displayed[] = $products_array[$i]['id'];

}

}

 

echo '</p>';

} else {

echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER;

}

?>

to

<?php

//fast easy checkout start

if(!tep_session_is_registered('createaccount')){

if ($global['global_product_notifications'] != '1') {

echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">';

 

$products_displayed = array();

for ($i=0, $n=sizeof($products_array); $i<$n; $i++) {

if (!in_array($products_array[$i]['id'], $products_displayed)) {

echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>';

$products_displayed[] = $products_array[$i]['id'];

}

}

 

echo '</p>';

} else {

echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER;

}

}

//fast easy checkout end

?>

 

What does "DO THIS FOR ALL" refer to and need a better explanation as to what to do here.

 

2.

STEP FIVE

 

to change the create account procedure look on top of checkout_shipping.php and make the changes necessary or change the defenition of FILENAME_CREATE_ACCOUNT in includes/filenames.php

 

first choice removes the create account option totaly from this stage

second choice combines login. and optional create an account

third choice combines login. and optional create an account

also on top of each create account page

uncomment the line based on which file you want to use

// tep_redirect(tep_href_link('create_account1.php', '', 'SSL'));

// tep_redirect(tep_href_link('create_account2.php', '', 'SSL'));

// tep_redirect(tep_href_link('create_account3.php', '', 'SSL'));

 

also all create account files have some configurations on top of the file to help you allow you some flexibility with the login and password fields

 

I am lost on this one. I wanted to use the create_account2.php

 

 

3. What is the includes/languages/english/fast_account.php file for?

 

Thanks for any help you can give.

Edited by modom

Share this post


Link to post
Share on other sites

I have installed fec 3.2 and all is working ok.

 

The only problem I have is,

 

On the create account page when I don't tick create account i get and box popup that’s says

 

Confirm Password Change

Please confirm which user you are changing the password for

 

Then a list of email addresses.

 

Then buttons OK and Cancel

 

 

If I click ether the checkout continues as normal.

 

 

This is happening on Mozilla Firefox, have tried on internet explore and this does not happen.

 

Any one have any ideas.

 

Thanks

Share this post


Link to post
Share on other sites

If anyone has the trick in fixing the ajax get new total button in version 3.2 PLEASE let someone know. If not here is how to safely remove this non working button.

 

In catalog/includes/fec/ajax_shipping.php remove or comment out this line of code it is located near the bottom of the file.

 

<noscript><tr align="right"  class="infoBoxContents" ><td class="main" align="right"></td><td></td><td align="right"><INPUT TYPE="submit" class="button" name="save" value="update total"><?php// echo tep_image_submit('button_update_total.gif', IMAGE_BUTTON_CONTINUE,'name="save" value="update total"onmouseover="loadXMLDoc(this.value);"');  ?></td></tr></noscript> <tr> <td class="main" align="right"></td><td></td><td align="right"><script type="text/javascript">
<!--//document.write('<input type=button  class=button "value=" <?php echo  IMAGE_BUTTON_GET_TOTAL;?>" onclick="ajaxLoader(\'checkout_2confirmation.php?tip=\'+ zprice+\'&cb=\'+submitter+\'&zship=\'+zhipper+\'&osCsid=\'+Csid,\'contentLYR\')" name="CLEARBUTTON">');//-->
</script>

 

Again if you know the fix for it please post it some of us would like to use this feature.

 

Eric


Eric

 

Keep up on osCommerce changes and updates at

Github | Understand osCommerce a little further at OsCommerce Documentation | Copy and paste your error message in Google add "in osCommerce" at the end to get relevant answers to most issues.

Share this post


Link to post
Share on other sites
If anyone has the trick in fixing the ajax get new total button in version 3.2 PLEASE let someone know. If not here is how to safely remove this non working button.

 

In catalog/includes/fec/ajax_shipping.php remove or comment out this line of code it is located near the bottom of the file.

 

<noscript><tr align="right"  class="infoBoxContents" ><td class="main" align="right"></td><td></td><td align="right"><INPUT TYPE="submit" class="button" name="save" value="update total"><?php// echo tep_image_submit('button_update_total.gif', IMAGE_BUTTON_CONTINUE,'name="save" value="update total"onmouseover="loadXMLDoc(this.value);"');  ?></td></tr></noscript> <tr> <td class="main" align="right"></td><td></td><td align="right"><script type="text/javascript">
<!--//document.write('<input type=button  class=button "value=" <?php echo  IMAGE_BUTTON_GET_TOTAL;?>" onclick="ajaxLoader(\'checkout_2confirmation.php?tip=\'+ zprice+\'&cb=\'+submitter+\'&zship=\'+zhipper+\'&osCsid=\'+Csid,\'contentLYR\')" name="CLEARBUTTON">');//-->
</script>

 

Again if you know the fix for it please post it some of us would like to use this feature.

 

Eric

 

Bump

Share this post


Link to post
Share on other sites

Please help!

 

I installed FEC and MVS, I've managed to get them both working together except when a customer clicks Buy Now, it goes to the "new" payment screen with the shipping info integrated just as FEC is supposed to but when the user clicks the Continue button, it goes to the old payment screen again and only after that does it go forward to the confirmation (basically adding an extra useless step)

 

I'm thinking that maybe the checkout_process.php file is somehow messed up.

 

Does anyone have ideas where to start to look for the possible cause for this?

 

Thanks!!

 

-thomp

Share this post


Link to post
Share on other sites

can anyone help, my customers can't get past the checkout page. They can add products to their basket and when it's gets to the page where they choose how to pay it won't go any further

 

has anyone else had this problem and tell me how to fix it please

 

many thanks

Share this post


Link to post
Share on other sites

I see a lot of people here getting errors in their checkout_shipping referring to fast_account.php. Well, I don't have any problems with my FEC; so no questions to pose. I just thought I'd post my checkout_shipping for you all just in case it may help. Oh, and as with all files, please make sure there's no whitespace before the initial <?php and after the ending ?>. Here's my checkout_shipping:

 

<?php

 

/*

 

$Id: checkout_shipping_express.php,v 1.16 2003/06/09 23:03:53 hpdl Exp $

 

redone by nana

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright © 2003 osCommerce

 

 

 

Released under the GNU General Public License

 

 

 

*/

 

require('includes/application_top.php');

 

require('includes/classes/http_client.php');

 

 

 

require(DIR_WS_LANGUAGES . $language . '/' . 'fast_account.php');

 

 

 

 

 

 

 

// if no shipping destination address was selected, use the customers own address as default

 

if (!tep_session_is_registered('sendto')) {

 

tep_session_register('sendto');

 

$sendto = $customer_default_address_id;

 

} else {

 

// verify the selected shipping address

 

$check_address_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$sendto . "'");

 

$check_address = tep_db_fetch_array($check_address_query);

 

 

 

if ($check_address['total'] != '1') {

 

$sendto = $customer_default_address_id;

 

if (tep_session_is_registered('shipping')) tep_session_unregister('shipping');

 

}

 

}

 

// if no billing destination address was selected, use the customers own address as default

 

if (!tep_session_is_registered('billto')) {

 

tep_session_register('billto');

 

$billto = $customer_default_address_id;

 

} else {

 

// verify the selected billing address

 

$check_address_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$billto . "'");

 

$check_address = tep_db_fetch_array($check_address_query);

 

 

 

if ($check_address['total'] != '1') {

 

$billto = $customer_default_address_id;

 

if (tep_session_is_registered('payment')) tep_session_unregister('payment');

 

}

 

}

 

 

 

 

 

//the next 4 lines are for ccgv

 

require(DIR_WS_CLASSES . 'order_total.php');

 

 

 

$order_total_modules = new order_total;

 

/*$order_total_modules->collect_posts();

 

$order_total_modules->pre_confirmation_check(); */

 

// if the customer is not logged on, redirect them to the login page

 

if (!tep_session_is_registered('customer_id')) {

 

$navigation->set_snapshot();

 

// tep_redirect(tep_href_link('create_account1.php', '', 'SSL'));

 

// tep_redirect(tep_href_link('create_account2.php', '', 'SSL'));

 

// tep_redirect(tep_href_link('create_account3.php', '', 'SSL'));

 

tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));

 

}

 

require(DIR_WS_CLASSES . 'order.php');

 

$order = new order;

 

require(DIR_WS_CLASSES . 'payment.php');

 

$payment_modules = new payment;

 

 

 

 

 

$total_weight = $cart->show_weight();

 

$total_count = $cart->count_contents();

 

 

 

 

 

require(DIR_WS_CLASSES . 'shipping.php');

 

$shipping_modules = new shipping;

 

// if there is nothing in the customers cart, redirect them to the shopping cart page

 

if ($cart->count_contents() < 1) {

 

tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

 

}

 

 

 

// register a random ID in the session to check throughout the checkout procedure

 

// against alterations in the shopping cart contents

 

if (!tep_session_is_registered('cartID')) tep_session_register('cartID');

 

$cartID = $cart->cartID;

 

 

 

// if the order contains only virtual products, forward the customer to the billing page as

 

// a shipping address is not needed

 

if ($order->content_type == 'virtual') {

 

if (!tep_session_is_registered('shipping')) tep_session_register('shipping');

 

$shipping = false;

 

$sendto = false;

 

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

 

}

 

tep_session_unregister('billing');

 

tep_session_unregister('payment');

 

if (isset($HTTP_POST_VARS['payment'])) $payment = $HTTP_POST_VARS['payment'];

 

if (!tep_session_is_registered('payment')) tep_session_register('payment');

 

 

 

 

 

 

 

if($n==1){

 

 

 

if (isset($_POST['save_x'])){

 

$paynow=3;

 

}

 

if (isset($_POST['preview_x'])){

 

$paynow=5;

 

}

 

 

 

 

 

//i commented this out so payment is not required in this page and total can be accessed

 

/*if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) {

 

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL'));

 

*/

 

tep_session_unregister('payment');

 

$payment_modules->update_status();

 

}

 

if (is_array($payment_modules->modules)) {

 

$payment_modules->pre_confirmation_check();

 

}

 

//}

 

while (list($key, $value) = each($_POST))

 

{

 

tep_session_register($key);

 

}

 

if ( defined('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING') && (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') ) {

 

$pass = false;

 

 

 

switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) {

 

case 'national':

 

if ($order->delivery['country_id'] == STORE_COUNTRY) {

 

$pass = true;

 

}

 

break;

 

case 'international':

 

if ($order->delivery['country_id'] != STORE_COUNTRY) {

 

$pass = true;

 

}

 

break;

 

case 'both':

 

$pass = true;

 

break;

 

}

 

 

 

$free_shipping = false;

 

if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) {

 

$free_shipping = true;

 

 

 

include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_shipping.php');

 

}

 

} else {

 

$free_shipping = false;

 

}

 

 

 

// process the selected shipping method

 

if ( isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') ) {

 

if (!tep_session_is_registered('comments')) tep_session_register('comments');

 

if (tep_not_null($HTTP_POST_VARS['comments'])) {

 

$comments = tep_db_prepare_input($HTTP_POST_VARS['comments']);

 

}

 

 

 

if (!tep_session_is_registered('shipping')) tep_session_register('shipping');

 

 

 

if ( (tep_count_shipping_modules() > 0) || ($free_shipping == true) ) {

 

if ( (isset($HTTP_POST_VARS['shipping'])) && (strpos($HTTP_POST_VARS['shipping'], '_')) ) {

 

$shipping = $HTTP_POST_VARS['shipping'];

 

 

 

list($module, $method) = explode('_', $shipping);

 

if ( is_object($$module) || ($shipping == 'free_free') ) {

 

if ($shipping == 'free_free') {

 

$quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE;

 

$quote[0]['methods'][0]['cost'] = '0';

 

} else {

 

$quote = $shipping_modules->quote($method, $module);

 

}

 

if (isset($quote['error'])) {

 

tep_session_unregister('shipping');

 

} else {

 

if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) {

 

$shipping = array('id' => $shipping,

 

'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),

 

'cost' => $quote[0]['methods'][0]['cost']);

 

 

 

tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION,'paynow='.$paynow, 'SSL'));

 

}

 

}

 

} else {

 

tep_session_unregister('shipping');

 

}

 

}

 

} else {

 

$shipping = false;

 

 

 

tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, 'paynow='.$paynow, 'SSL'));

 

}

 

}

 

 

 

// get all available shipping quotes

 

$quotes = $shipping_modules->quote();

 

 

 

// if no shipping method has been selected, automatically select the cheapest method.

 

// if the modules status was changed when none were available, to save on implementing

 

// a javascript force-selection method, also automatically select the cheapest shipping

 

// method if more than one module is now enabled

 

if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest();

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SHIPPING);

 

require(DIR_WS_LANGUAGES . $language . '/' . 'checkout_payment.php');

 

 

 

 

 

$breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

 

$breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

 

 

 

?>

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

 

<html <?php echo HTML_PARAMS; ?>>

 

<head>

 

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

 

<title><?php echo TITLE; ?></title>

 

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

 

<link rel="stylesheet" type="text/css" href="stylesheet.css">

 

 

 

<?php //echo $payment_modules->javascript_validation(); ?>

 

<script language="javascript"><!--

 

function ajaxLoader(url,id) {

 

 

 

if (document.getElementById) {

 

var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();

 

}

 

if (x) {

 

 

 

x.onreadystatechange = function() {

 

document.getElementById("contentLYR").innerHTML ='<img style="vertical-align:middle" src="images/loading.gif">Loading, please wait...' ;

 

if (x.readyState == 4 && x.status == 200) {

 

el = document.getElementById(id);

 

el.innerHTML ="";

 

el.innerHTML = x.responseText;

 

 

 

}

 

}

 

x.open("GET", url, true);

 

 

 

x.send(null);

 

 

 

}

 

}

 

var selected;

 

 

 

var zhipper='<?php echo $shipping['title']; ?>';

 

var Csid='<?php echo $VisionID; ?>';

 

var zprice='<?php echo $shipping['cost']; ?>';

 

var selected;

 

 

 

function selectRowEffect2(object, buttonSelect) {

 

if (!selected) {

 

if (document.getElementById) {

 

selected = document.getElementById('defaultSelected');

 

} else {

 

selected = document.all['defaultSelected'];

 

}

 

}

 

 

 

if (selected) selected.className = 'moduleRow';

 

object.className = 'moduleRowSelected2';

 

selected = object;

 

 

 

// one button is not an array

 

if (document.checkout_payment.shipping[0]) {

 

document.checkout_payment.shipping[buttonSelect].checked=true;

 

} else {

 

document.checkout_payment.shipping.checked=true;

 

}

 

}

 

 

 

function rowOverEffect(object) {

 

if (object.className == 'moduleRow') object.className = 'moduleRowOver';

 

}

 

 

 

function rowOutEffect(object) {

 

if (object.className == 'moduleRowOver') object.className = 'moduleRow';

 

}

 

//--></script>

 

<script language="javascript"><!--

 

var selected;

 

<?php//rmh M-S_ccgv begin ?>

 

var submitter = null;

 

function submitFunction() {

 

submitter = 1;

 

}

 

<?php//rmh M-S_ccgv end ?>

 

function selectRowEffect(object, buttonSelect) {

 

if (!selected) {

 

if (document.getElementById) {

 

selected = document.getElementById('defaultSelected');

 

} else {

 

selected = document.all['defaultSelected'];

 

}

 

}

 

 

 

if (selected) selected.className = 'moduleRow';

 

object.className = 'moduleRowSelected';

 

selected = object;

 

 

 

// one button is not an array

 

if (document.checkout_payment.payment[0]) {

 

document.checkout_payment.payment[buttonSelect].checked=true;

 

} else {

 

document.checkout_payment.payment.checked=true;

 

}

 

}

 

 

 

function rowOverEffect(object) {

 

if (object.className == 'moduleRow') object.className = 'moduleRowOver';

 

}

 

 

 

function rowOutEffect(object) {

 

if (object.className == 'moduleRowOver') object.className = 'moduleRow';

 

}

 

//--></script>

 

</head>

 

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

 

<!-- header //-->

 

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

 

<!-- header_eof //-->

 

 

 

<!-- body //-->

 

<table border="0" width="100%" cellspacing="3" cellpadding="3">

 

<tr>

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

<!-- left_navigation //-->

 

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

 

<!-- left_navigation_eof //-->

 

</table></td>

 

<!-- body_text //-->

 

<!-- body_text //-->

 

<td width="100%" valign="top"><?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'n=1', 'SSL'), 'post', 'onsubmit="return check_form();"') . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td class="pageHeading"><?php echo HEADING_TITLE;

 

//echo $ZETA; ?></td>

 

<td class="pageHeading" align="right">

 

<!-- GeoTrust QuickSSL [tm] Smart Icon tag. Do not edit. -->

 

<script LANGUAGE="JavaScript" TYPE="text/javascript" SRC="si.js"></SCRIPT>

 

<!-- end GeoTrust Smart Icon tag -->

 

</td>

 

</tr>

 

</table></td>

 

</tr>

 

<tr>

 

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

 

</tr>

 

<?php

 

if (isset($HTTP_GET_VARS['payment_error']) && is_object(${$HTTP_GET_VARS['payment_error']}) && ($error = ${$HTTP_GET_VARS['payment_error']}->get_error())) {

 

?>

 

<tr>

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr>

 

<td class="main"><b><?php echo tep_output_string_protected($error['title']); ?></b></td>

 

</tr>

 

</table></td>

 

</tr>

 

<tr>

 

<td>

 

<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice">

 

<tr class="infoBoxNoticeContents">

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr>

 

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

 

<td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td>

 

<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

 

</tr>

 

</table></td>

 

</tr>

 

</table>

 

</td>

 

</tr>

 

</table>

 

<?php

 

}

 

?>

 

</td>

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr>

 

</tr>

 

</table></td>

 

</tr>

 

<?php require('includes/fec/products_box.php');?>

 

<?php //require('includes/fec/comment_box.php');?>

 

<?php //require('includes/fec/shipping_box.php');?>

 

<?php require('includes/fec/ajax_shipping.php');?>

 

<?php

 

$show_total = tep_db_prepare_input($HTTP_GET_VARS['show_total']);

 

if ($show_total ==1) require('includes/fec/total_box.php');?>

 

<?php

 

// echo $order_total_modules->credit_selection();//rmh M-S_ccgv

 

?>

 

<tr>

 

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

 

</tr><tr cellpadding="2">

 

<td class="infoBox"><font color="#FFFFFF"><div id="contentLYR" align="right" style="margin-right: 10px;"></font>

 

</div></td></tr><noscript>

 

<?php if ($show_total ==1) require('total_box.php');?></noscript>

 

<?php //require('includes/fec/address_box.php');?>

 

<?php require('includes/fec/payment_box.php');?>

 

 

 

<tr>

 

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

 

<tr class="infoBoxContents">

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr>

 

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

 

<td class="main"><b><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></td>

 

<td class="main" align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE,'name="preview" value="preview data"'); ?></td>

 

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

 

</tr>

 

</table></td>

 

</tr>

 

</table></td>

 

</tr>

 

<tr>

 

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

 

</tr>

 

<tr>

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td width="50%" align="right"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td>

 

<td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>

 

</tr>

 

</table></td>

 

<td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>

 

<td><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td>

 

<td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>

 

</tr>

 

</table></td>

 

<td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>

 

<td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>

 

<td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td>

 

</tr>

 

</table></td>

 

</tr>

 

<tr>

 

<td align="center" width="25%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>'; ?></td>

 

<td align="center" width="25%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_PAYMENT; ?></td>

 

<td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td>

 

<td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_FINISHED; ?></td>

 

</tr>

 

</table></td>

 

</tr>

 

</table></form></td>

 

<!-- body_text_eof //-->

 

 

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

<!-- right_navigation //-->

 

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

 

<!-- right_navigation_eof //-->

 

</table></td>

 

</tr>

 

</table>

 

<!-- body_eof //-->

 

 

 

<!-- footer //-->

 

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

 

<!-- footer_eof //-->

 

<br>

 

</body>

 

</html>

 

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Share this post


Link to post
Share on other sites

I left out one detail: In my includes/filenames, I have this altered line:

 

define('FILENAME_CREATE_ACCOUNT', 'create_account1.php');

 

And I do have fast_account.php in my includes/languages/english/ folder.

 

Good luck.


Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Share this post


Link to post
Share on other sites

I was going through this support forum from page 60 and did not find problem that I am facing.

On the checkout_shipping.php after entering credit card info it take you to confirmation page everything is fine till that point but if try to go back and make a change to the credit info credit card number I still there you can change it but after clicking on continue old value is still there on the confirmation page.

Same thing with CCGV.

Anyone is having the same problems?

Share this post


Link to post
Share on other sites

Whenever you solve your own issues, rather than saying "fixed, thanks", or "got it solved, thanks", please share your solution with the OSC community so that the next person who comes along with a similar problem might find help in your post.

 

Thanks,

 

Jason


Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Share this post


Link to post
Share on other sites

I am having a couple of problems with this, not all related to fec :)

 

The first one is that I have added a second block of code so I can have a second address for delivery if different to the billing address but cant figure out how to remove the 'required input' bits. I have checked the code for sections that are required and for sections that aren't but they seem the same to me :) Can anyone tell me how to do this ?

Edited by itsgraham

Share this post


Link to post
Share on other sites
I am having a couple of problems with this, not all related to fec :)

 

The first one is that I have added a second block of code so I can have a second address for delivery if different to the billing address but cant figure out how to remove the 'required input' bits. I have checked the code for sections that are required and for sections that aren't but they seem the same to me :) Can anyone tell me how to do this ?

 

Ok :) forget that, I just realised I can get the same thing by using checkout 3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×