Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fast easy checkout


nana

Recommended Posts

I'm running fast easy checkout with table rate. But I'm not getting the values to work together. It always comes out to be $0.00 for the tangible item to be shipped with the weight set to 8lb. and for the products that I set to zero lb (so they wouldn't show up) I get the shipping $16.00 added on. It just doesn't make sense. Anyone have some insight on this?

Link to comment
Share on other sites

  • Replies 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

It basically happens everytime I enable the table rate module whether logged in from the start or logged in before payment. I did try to implement those changes on the previous posts but nothing seemed to work. What I've done instead is setup an attribute for shipping for that one product whereas the other 70 are just virtual and don't need any shipping. That works fine for now for this situation but I would like to figure this out for other clients because I think fast and easy checkout is the best contribution I've come into contact. All of my clients I've worked with just want a fast in and out shopping exprerience and this offers that. I think it is probably caused by other contributions I have installed.

 

other contribs:

multiple products selection

autologin

Link to comment
Share on other sites

ben does the values change if you refresh the page?

if so you have to make the above change to the page that loges in

if you want i can give you admin access to the demo shop to see if you can set this up so i can sse it.

i am neither that familiar with the zone shipping or the virtuall products.

i

Edited by nana
Link to comment
Share on other sites

david for your error in create_account.php

replace

if($createaccount=='') $createaccount='Y';

to

if($createaccount==''){ $createaccount='Y'}else{ $createaccount='N'};

for eww error if you can provide a link for me to take a look

Link to comment
Share on other sites

david for your error in create_account.php

replace

if($createaccount=='') $createaccount='Y';

to

if($createaccount==''){ $createaccount='Y'}else{ $createaccount='N'};

 

Thanks,

I take it you meant to write:

 

if($createaccount=='')
{ $createaccount='Y';} 
else 
{ $createaccount='N';}

Link to comment
Share on other sites

nana, i was able to fix my error by adding a } on line 40 in the js script that was causing the error :)

 

 

do you happen to know of a way to completely disable/remove the checkout_confirmation.php?

i have been noticing an alarming rate of click-offs on this page, it seems to turn off and/or confuse many

Link to comment
Share on other sites

that is why i started working on this contribution longer the checkout process more customers leave. check make sure there is not some other thing scaring them off also not having the page might not be a good idea as far as the customers are concern.

skipping checkout confirmation is possible but complicated.

what payment modules are you using

Edited by nana
Link to comment
Share on other sites

nana,

i just added a modification to checkout_shipping.php: points & rewards module, it was only two edits, but they seemed to goof up my shipping rates (i had this problem when i originally installed fast easy checkout)

 

instead of picking up the correct shipping rate, it's pulling the NEXT expensive rate (one up from what it's supposed to be); i use table shipping.

 

here are the edits i added to checkout_shipping.php:

(to make it somewhat easier to understand, i added pieces of the original code that were unmodified, but are near the edits.. just so you get an idea of where they are located) the actual edits are bold

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

/* Points/Rewards Module V1.50 bof*/

function clearText(thefield){

if (thefield.defaultValue==thefield.value)

thefield.value = ""

}

function validate(field) {

var valid = "0123456789.,"

var ok = "yes";

var temp;

for (var i=0; i<field.value.length; i++) {

temp = "" + field.value.substring(i, i+1);

if (valid.indexOf(temp) == "-1") ok = "no";

}

if (ok == "no") {

alert("<?php echo REDEEM_SYSTEM_JS_ERROR; ?>");

field.focus();

field.select();

}

}

var submitter = null;

function submitFunction() {

submitter = 1;

}

/* Points/Rewards Module V1.50 eof*/

var selected;

 

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>

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

?>

 

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

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

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>

 

and last one:

 

</tr>

<!-- Points/Rewards Module V1.50 Redeemption box bof -->

<?php

 

if ((USE_REDEEM_SYSTEM == 'true') && ($customer_shopping_points = tep_get_shopping_points()) && $customer_shopping_points > 0){

if ((get_redemption_rules($order) == true) && (get_points_rules_discounted($order) == true)){

if ($customer_shopping_points >= POINTS_LIMIT_VALUE){

?>

<tr>

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

</tr>

<tr>

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

<tr>

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

</tr>

</table></td>

</tr>

<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><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main" width="100%" colspan="3"><?php echo TEXT_REDEEM_SYSTEM_START . number_format($customer_shopping_points,2) . TEXT_REDEEM_SYSTEM_MIDDLE . $currencies->format(tep_calc_shopping_pvalue($customer_shopping_points)) . '.'; ?></td>

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

</tr>

<?php

if (POINTS_LIMIT_EXACT == 'true' && $customer_shopping_points >= POINTS_EXACT_VALUE){

if(tep_session_is_registered('customer_shopping_points_spending')) tep_session_unregister('customer_shopping_points_spending');

?>

<tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onClick="submitFunction()">

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

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

<td class="main" align="right"><?php echo tep_draw_checkbox_field('customer_shopping_points_spending', $customer_shopping_points_spending); ?></td>

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

</tr>

<?php

} else {

?>

<tr onClick="submitFunction()">

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

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

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

<td class="main" ><?php echo TEXT_REDEEM_SYSTEM_SPENDING . '  ' .tep_draw_input_field('customer_shopping_points_spending', $customer_shopping_points_spending , 'onBlur="validate(this)" onFocus="clearText(this)" maxlength="7" style="width:70px"'); ?><br><?php echo TEXT_REDEEM_SYSTEM_SPENDING_ALL; ?></td>

<td class="main" align="right"><br><?php echo tep_draw_checkbox_field('customer_shopping_points_spending', $customer_shopping_points); ?></td>

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

</tr>

</table></td>

</tr>

<?php

}

?>

</table></td>

</tr>

</table></td>

</tr>

<?php

}

}

}

?>

<!-- Points/Rewards Module V1.50 Redeemption box eof -->

 

<tr>

 

 

thanks for any help :)

 

that is why i started working on this contribution longer the checkout process more customers leave. check make sure there is not some other thing scaring them off also not having the page might not be a good idea as far as the customers are concern.

skipping checkout confirmation is possible but complicated.

what payment modules are you using

 

i've spent days trying to figure i out, it's mind boggling.

i installed supertracker today, more than half of the customers that even bother going through the checkout process, leave upon checkout_confirmation.php (the fast easy checkout seems to have helped slightly, but the majority don't seem to like the confirmation page that's out-of-the-box with osc)

 

if it's possible, i would like to have their total, subtotal and all of the other useful information to display on checkout_shipping.php (and because i am using the points & rewards module, it would be ideal to offer a "update total" button); even if it were by javascript! most of my users have this enabled, so i don't mind having to use it, if it's easier to get rid of checkout_confirmation.php

 

at the moment, these are the payment modules i use:

- paypal (stock osc)

- money order/check (stock osc)

- cash (this is just a modified "money order" module)

- i intend to seperate the "check" and "money order" in a few days as well, similar to what i did with "cash"

 

even if this is a bit difficult to do, i would be willing to donate a bit of cash for your work :) (won't be much, as my sales have dropped horribly this month), but i will try!

Link to comment
Share on other sites

eww i had to change the name of the fields in the java script since there was two diffrent field with the same name , one for payment and one for shipping,

i do not tknow if this has anything to do with it or not.

i will take a more serious look at removing the confirmation page and will let you know.

Link to comment
Share on other sites

eww,

From what you have said about the payment modules you have installed, that is why people are leaving. It isn't anything to do with the length of the checkout process, it is that you don't have a merchant account and people expect to pay by card. (Some will recognise that you can do this with PayPal but those are probably the minority of user imho.

Link to comment
Share on other sites

i already tried that a few days ago, but a lot of people that were customers from before i had osc were clicking off, this leads me to believe it's a problem with the site and not necessarily the payment modules.

 

i suppose it couldn't hurt separating credit card / paypal into two different modules though..

Link to comment
Share on other sites

eww i had to change the name of the fields in the java script since there was two diffrent field with the same name , one for payment and one for shipping,

i do not tknow if this has anything to do with it or not.

i will take a more serious look at removing the confirmation page and will let you know.

 

 

what should i edit/remove to see if that's the culprit?

 

and i have taken your suggestions and changed PayPal to be different modules.

i now use the following:

Credit Cards

PayPal

Money Order

Check

Cash

:)

Edited by eww
Link to comment
Share on other sites

i meant that if your paypal would say something like creditcard by paypal so visitors know they can pay with paypal. and then monitoring the result.

see if there is anything on the page in your site that would make the customers worried like an overcharge, wrong totals , or anything like that also what were you using before

as far as removing the confirmation

first we have to make sure you can transfer everything to shipping page.

in my contribution in the contribution section of oscommerce i have uploaed a patch to make this a module page

anyhow download the patch. in it there is a file called total box or something like that upload this and include the file in your checkout_shipping.php

see how i do this in the checkout_shipping.php that comes with this patch

once you do this there will be a totalbox in your checkout_shipping.php

once you verified that the box exist

try a test purchase and go all the way to checkout_confirmation.php then use your browser back button to go back to the shipping page. see if the box is updated with your shipping charge and all your credits.

i am trying to see if the box reflects all your modifications

let me know of the results

Edited by nana
Link to comment
Share on other sites

i really do not know how this contribution is designed to interact with your shipping module . maybe if your shipping is by total value it is not considering the value of your discount. this night be because of the order of order_total modules in the admin. I also remmember that i had to use two diffrent name for my javascript since i had both the shipping module and payment modules on the same page.

Edited by nana
Link to comment
Share on other sites

it does this even when the discount module is inactive, so i have to think maybe there's somehing else there?

 

i actually don't think this has anything to do with my original installation of this mod, but there is a part of the discount contribution that goes into javascript, i suspect that may be the culprit, but can you take a look at my code and see if this is the javascript you were talking about?

 

these are the only changes i've made to this page since i originally installed fast easy checkout (just two edits): http://www.oscommerce.com/forums/index.php?sho...=167064&st=420#

Link to comment
Share on other sites

Hey Frank-

 

I'm getting this error when entering in credit card info on checkout_shipping.php:

 

Credit Card Error!
The first four digits of the number entered are: <br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.

 

The user is redirected to checkout_payment.php (that's where the error is displayed) where entering the exact same information works fine.

 

Also, I've seen the "invalid recipient country error again, this time when redirected to checkout_shipping.php directly from the shopping cart (user already logged in).

 

Thanks

Stew

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

eww

i just followed the direction on that contribution and this is what i came up with

<script language="javascript"><!--
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;
/* Points/Rewards Module V1.50 bof*/
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
function validate(field) {
var valid = "0123456789.,"
var ok = "yes";
var temp;
for (var i=0; i<field.value.length; i++) {
temp = "" + field.value.substring(i, i+1);
if (valid.indexOf(temp) == "-1") ok = "no";
}
if (ok == "no") {
alert("<?php echo REDEEM_SYSTEM_JS_ERROR; ?>");
field.focus();
field.select();
}
}
var submitter = null;
function submitFunction() {
submitter = 1;
}
/* Points/Rewards Module V1.50 eof*/
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>

i removed the part i had for ccgv if you are using that follow direction that comes with points and rewards contribution

lets see if this works for you.

 

 

 

stew it sounds to me that you are losing your session variables. check to see if you have any new changes ?

Link to comment
Share on other sites

same thing :(

 

i just noticed this when i was trying to troubleshoot it myself earlier, does it make any sense to you?

 

 

(i have url rewrite, don't know if that has anything to do with it..)

- customer gets on checkout_shipping.html

- selects pay method, shipping, comments, clicks continue

- page refreshes (for no reason! this is the main problem), the url is now checkout_shipping.php?n=1 and everything is correct (shipping prices have dropped to their normal price)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...