Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout_Shipping.php Redirecting to itself


stariah

Recommended Posts

Posted

Hello, I have been working with a programmer to build an oscommerce site (www.hardysvitamins.com)for a client that was supposed to have launched today. TWO ISSUES

 

1st: For the last 2 days on the checkout_shipping.php page when you click continue it redirects to itself, and does not move on to the checkout_payment page. If I manually change shipping to payment in the browser I can continue and finish the payment process. PLEASE HELP! My programmer has been unavailble due to LABOUR day and I REALLY need to get it fixed.

VIEW CODE: http://www.hardysvitamins.com/checkout_shipping_code.txt

 

2nd: It is not asking for the customer address in either the create_account or checkout process?

VIEW CODE: http://www.hardysvitamins.com/create_account_code.txt

 

Any Coders out there available on Friday to fix if needed?

Posted

Do you have a payment, module installed, can people select a payment option?

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

#2 Your programmer forgot to include the fields for address, city, state, postal code.

You have the check for the required fields but not the input fields.

Posted
Do you have a payment, module installed, can people select a payment option?

 

They payment method is authorize.net and check / money order, which it alows me to complete the checkout process and gave me a successful test IF after clicking continue I change the URL from checkout_shipping to checkout_payment myself.

Posted
out of interest, have you tried to upload a fresh copy of both files?

That is if its not been modified in any way.

Regards

Nic

 

I have not tried that yet, as to be honest not being a programmer I do not have the original code or know how to get it. As for modification I know that code was added in order to have radio buttons for a charity to be selected, and I had tried inquirying whether or not the may have been part of the issue (and if so remove it), but that was around the time my programmer went MIA (Holiday I think).

Posted
#2 Your programmer forgot to include the fields for address, city, state, postal code.

You have the check for the required fields but not the input fields.

 

Thanks Bryce. I am not used to programming fields in php, but I have attempted based on another site I had done for one of clients and the code for this one to add them. Here is the code I am going to add, would you mind letting me know if it looks ok, and are those fields by default when oscommerce is installed already defined in the database?

 

<tr>

<td class="main"><?php echo ENTRY_STREET_ADDRESS; ?></td>

<td class="main"><?php echo tep_draw_input_field('street_address') . ' ' . (tep_not_null(ENTRY_STREET_ADDRESS_TEXT) ? '<span class="inputRequirement">' . ENTRY_STREET_ADDRESS_TEXT . '</span>': ''); ?></td>

</tr>

<tr>

<td class="main"><?php echo ENTRY_CITY; ?></td>

<td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td>

</tr>

<tr>

<td class="main"><?php echo ENTRY_STATE; ?></td>

<td class="main">

<?php

if ($process == true) {

if ($entry_state_has_zones == true) {

$zones_array = array();

$zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' order by zone_name");

while ($zones_values = tep_db_fetch_array($zones_query)) {

$zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']);

}

echo tep_draw_pull_down_menu('state', $zones_array, 'style="width:250px"');

} else {

echo tep_draw_input_field('state', '', 'size=40');

}

} else {

echo tep_draw_input_field('state', '', 'size=40');

}

 

#if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT;

?>

</td>

</tr>

<tr>

<td><?php echo ENTRY_POST_CODE; ?></td>

<td class="grey" colspan="2"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td>

</tr>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...