You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I have added a custom shipping method based on price (not the standard price-based one) because I have almost 400 products and I do not have the time to enter the dimentions, weight, etc into the realtime shipping fields. I made sure this was input into every products' custom shipping field. But when I check out there is absolutely no mention of shipping charges whatsoever. I cant just ship everything for free, so what's going on???
What am I doing wrong???
and
Why cant I deselect realtime shipping?
Offline
Under each product, make sure the Delivery Method field is set to 'Custom Shipping'. And if you still don't get the shipping charges showing up, post your custom script and we can see if it has any bugs.
Offline
I checked and they are all set to custom. Below is the custom script...
# Created by the Roundridge Custom Shipping Script Generator on Tue Sep 19 11:10:42 2006
# http://www.roundridge.com/ssg/
# Send bug reports to ssg@roundridge.com
$custom_code_result = "";
my $match = "";
my %countries = (
'united states' => "match",
);
if (lc($countries{$fd_trackitem_shipcountry} eq "match")) {
$match = "true";
my $ship_meth_name_1 = "";
my $ship_total_1 = "";
my $ship_display_1 = "";
$ship_meth_name_1 = "UPS Ground Shipping";
if ($item_total_cost > 0 && $item_total_cost <= 10.00 ) {
$ship_total_1 = "3.00";
} elsif ( $item_total_cost > 10.00 && $item_total_cost <= 20.00 ) {
$ship_total_1 = "6.00";
} elsif ( $item_total_cost > 20.00 && $item_total_cost <= 30.00 ) {
$ship_total_1 = "6.00";
} elsif ( $item_total_cost > 30.00 && $item_total_cost <= 40.00 ) {
$ship_total_1 = "8.00";
} elsif ( $item_total_cost > 40.00 && $item_total_cost <= 50.00 ) {
$ship_total_1 = "8.00";
} elsif ( $item_total_cost > 50.00 && $item_total_cost <= 75.00 ) {
$ship_total_1 = "10.00";
} elsif ( $item_total_cost > 75.00 && $item_total_cost <= 100.00 ) {
$ship_total_1 = "15.00";
} elsif ( $item_total_cost > 100.00 && $item_total_cost <= 149.99 ) {
$ship_total_1 = "20.00";
} else {
$ship_total_1 = "0.00";
}
if ($ship_total_1 eq "0.00") {
$ship_display_1 = "Free Shipping";
} elsif ($ship_total_1 ne "") {
$ship_total_1 = sprintf("%.2f", $ship_total_1);
$ship_display_1 = "$ship_meth_name_1 \- $currency_symbol$ship_total_1";
} # End logic for ship method 1
if ($ship_display_1 ne "") {
$custom_code_result .= <<ENDOFTEXT;
<INPUT TYPE="RADIO" NAME="shipinfo-$shipid" VALUE="$ship_meth_name_1:$ship_total_1" CHECKED> <FONT FACE="$html_base_font_face" SIZE="$html_base_font_size" COLOR="$html_base_font_color"> $ship_display_1<br /></FONT>
ENDOFTEXT
} # End ship method 1
}
Offline
I have a feeling that your various problems may be combined.
Offline
These are the only two problems I'm experiencing... Any ideas on how to fix them? I've got people putting in orders and (a) they credit cards are being denied & (b) their order totals dont reflect shipping costs at all.
Does the script look alright?
Offline
It's actually a bug in my ship gen script...sorry!!
Just change
my %countries = (
'united states' => "match",
);
to
my %countries = (
'United States' => "match",
);
and it should work.
I will update the ship generator asap to correct this! Sorry it was overlooked in Beta testing.
Dave Alders
Roundridge Technologies
Offline
On which page of the shopping cart and/or checkout do shipping charges normally appear?
Offline
Page 2 of the checkout
Last edited by rachaelseven (09-19-2006 19:38:01)
Offline
Dave,
Does this look right now?
# Created by the Roundridge Custom Shipping Script Generator on Tue Sep 19 11:10:42 2006
# http://www.roundridge.com/ssg/
# Send bug reports to ssg@roundridge.com
$custom_code_result = "";
my $match = "";
my %countries = (
'United States' => "match",
);
if (lc($countries{$fd_trackitem_shipcountry} eq "match")) {
$match = "true";
my $ship_meth_name_1 = "";
my $ship_total_1 = "";
my $ship_display_1 = "";
$ship_meth_name_1 = "UPS Ground Shipping";
if ($item_total_cost > 0 && $item_total_cost <= 10.00 ) {
$ship_total_1 = "3.00";
} elsif ( $item_total_cost > 10.00 && $item_total_cost <= 20.00 ) {
$ship_total_1 = "6.00";
} elsif ( $item_total_cost > 20.00 && $item_total_cost <= 30.00 ) {
$ship_total_1 = "6.00";
} elsif ( $item_total_cost > 30.00 && $item_total_cost <= 40.00 ) {
$ship_total_1 = "8.00";
} elsif ( $item_total_cost > 40.00 && $item_total_cost <= 50.00 ) {
$ship_total_1 = "8.00";
} elsif ( $item_total_cost > 50.00 && $item_total_cost <= 75.00 ) {
$ship_total_1 = "10.00";
} elsif ( $item_total_cost > 75.00 && $item_total_cost <= 100.00 ) {
$ship_total_1 = "15.00";
} elsif ( $item_total_cost > 100.00 && $item_total_cost <= 149.99 ) {
$ship_total_1 = "20.00";
} else {
$ship_total_1 = "0.00";
}
if ($ship_total_1 eq "0.00") {
$ship_display_1 = "Free Shipping";
} elsif ($ship_total_1 ne "") {
$ship_total_1 = sprintf("%.2f", $ship_total_1);
$ship_display_1 = "$ship_meth_name_1 \- $currency_symbol$ship_total_1";
} # End logic for ship method 1
if ($ship_display_1 ne "") {
$custom_code_result .= <<ENDOFTEXT;
<INPUT TYPE="RADIO" NAME="shipinfo-$shipid" VALUE="$ship_meth_name_1:$ship_total_1" CHECKED> <FONT FACE="$html_base_font_face" SIZE="$html_base_font_size" COLOR="$html_base_font_color"> $ship_display_1<br /></FONT>
ENDOFTEXT
} # End ship method 1
}
Offline
Rachel---On this page where you enter your billing info???:
__________________________________________________________________
Checkout
Item Subtotal $8.00
Total $8.00
If you have a customer account, or would like to create one, please click the link below. Customer accounts are used to store your information online to save you time when returning to the Rovers All Over web site to place an order.
Click here to create or login to a customer account.
Please complete the fields below to checkout. Once all of the required fields are complete, click the 'Submit' button to continue.
* - Denotes a required field.
Billing Information
First Name *
Last Name *
Company Name
Address Line 1 *
Address Line 2
City *
State/Province *
Country *
Zip/Postal Code *
Residential/Commercial *
Telephone Number *
Fax Number
Email Address *
Shipping Information
If you select to use your billing information in the 'Shipping Information Selection' field below, you do not need to complete the shipping information in this section.
Shipping Information Selection *
Use the billing information above
Use the shipping information below
First Name *
Last Name *
Company Name
Address Line 1 *
Address Line 2
City *
State/Province *
Country *
Zip/Postal Code *
Residential/Commercial *
Comment
Additional Information
If you have a discount code for a discount, coupon, store credit, or gift certificate, please enter the code in the box below to redeem the discount.
If you would like to subscribe to our mail list to receive updates periodically, check the box below.
Subscribe to our mail list
Select Payment Method
Please select how you would like to make your purchase from the choices presented below.
Payment Method
Purchase using your credit card
Offline
I think your script as modified will work. Let me know if you have problems and I will fix it!
I updated the shipping script generator(s) and they should work correctly now. Please report any bugs to ssg@roundridge.com.
Thanks!
Dave
Last edited by dtwg (09-19-2006 20:24:56)
Offline
Yeah.. i changed it but the shipping charges are still not working. You can go to my site and check you out want... I'll PM you both my website. I'd really appreciate any help I can get in this matter! Thanks.
Offline
ellehazen wrote:
Rachel---On this page where you enter your billing info???:
No, the shipping charges appear on the page after that. The cart can't calculate shipping charges until it knows the destination.
Offline
Hmmmm... OK, now a shipping screen is coming up after the tweak, but the only option coming up now is FREE SHIPPING?
-------------------------------------------------------------
Select Shipping Method
Item(s) Shipping Information
Item: Roasted Chicken Madness Dog Treats
Quantity: 1
Item: Presto Paw-Print Dog Lead
Quantity: 1
Item: Zip-a-Dee Dog Collar in Lipstick Red
Quantity: 1
test tiki
123 test lane
atlanta, Georgia 30333
United States
Shipping Method *
* Free Shipping
Offline
And what was the product total on that order? If it was over $149, then everything worked exactly as it should for the script you have.
Last edited by rachaelseven (09-19-2006 21:32:36)
Offline
I tried it with two totals under $150. The first was $8, and the second time it was $68. Both times the free shipping option came up, and I cant figure out why?
Offline
Hi,
Arrgh. Sorry!
$item_total_cost should be changed to $item_subtotal
You can change that in your script and I will update the cost-based shipping script generator to work correctly.
Sorry about the problems. All my fault.
dave
Offline
do i need to change it everywhere?
Offline
Hmmm... changed it everywhere, but now I'm getting a $4 shipping charge on a $68 when it should be $10 according to the script?? Any ideas?
Offline
I think i found the problem, and it seems to be working now. thanks
Offline