Author |
Message |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
 ok i have a couple questions
i cannot get the SBW thing to work at all... where do you put in your UPS login information? i see the spot to the USPS... maybe i am retarded but if someone could walk me through setting this up to work i would greatly appreciate it...
if have SBW off and am trying to use the code for weight based shipping... on a set price per lb. i am having problems... it never shows any shipping when i turn it on... help there? i have to get one working
|
Fri Dec 16, 05 11:32 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
There is no login for UPS...
You will need to set up the custom shipping logic.
What do you have set up in the Shipping Settings of the manager?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Fri Dec 16, 05 12:45 pm |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
In what loop of calculate_final_values do you wish to calculate the shipping? If zero is selected, shipping will never be calculated. If 3 is selected, then the tax is based on the pre-shipping subtotal. Currently, if either 1 or 2 is selected, then the tax is based on the subtotal of merchandise + shipping. Further refinements of this, along with discounts, are setup in the agora.setup.db and agora_order_lib.pl library files. 3
--------------------------------------------------------------------------------
Handling Charge to be added to all orders
--------------------------------------------------------------------------------
Custom Shipping Logic:
Use the custom shipping logic? If yes, you may still use the SBW module (perhaps some items are not appropriate for that module and you desire to handle these differently.) If Custom logic and SBW are both set to "no" then the "shipping" field in the database is the shipping price of the item. Hint: use a library such as custom/custom-lib.pl for extensive code and simply call the appropriate subroutine here. yes
@sc_shipping_logic = ( "UPS|||1|5.50",
"UPS|||2|6.65",
"UPS|||3|7.25",
"UPS|||4|8.25",
"UPS|||5|9.40",
"UPS|||6|10.20",
"UPS|||7|12.40",
"UPS|||8|13.05",
"UPS|||9|14.20",
"UPS|||10-14.99|15.30",
"UPS|||15-19.99|18.00",
"UPS|||20-|22.40");
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
if ($ship_st eq "HI") {
$shipping_price = &format_price($shipping_price /.62);
}
if ($ship_st eq "AK") {
$shipping_price = &format_price($shipping_price /.62);
}
--------------------------------------------------------------------------------
Please enter the SBW (Ship By Weight) Shipping Module Information:
Use the SBW (Ship By Weight for FedEx/UPS/USPS) module? If yes, then the "shipping" field in the database is a shipping weight (instead of shipping price.) yes
Allow Shipments via which services: FedEx: no UPS: yes USPS: no
NOTE: Using the UPS interface requires that you be REGISTERED and accept the LICENSE AGREEMENT.
USPS API URL:
USPS API Userid: USPS API Password:
How do you wish to connect to FedEx/UPS/USPS? If perl is installed in a fairly modern way, then the LWP library should be present. If not, then the http-lib has been included here as a backup. If for some reason perl sockets have not been setup properly, then you should complain to your web hosting company to get with the program! If you get a ridiculous error like "Address Family Not Supported" then there is one last option to try and save the day. The lynx option allows the use ofthe lynx text-based browser to get the answer from UPS/USPS, if lynx is installed on your Unix host. LWP
Max weight per box (lbs.) If zero is entered, each item is shipped it its own box.
FedEx: UPS: 25 USPS:
Origination of shipments:
FedEx ZIP:
UPS ZIP: 77704 UPS Pickup: Customer Counter
USPS ZIP:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Copyright 2001 Steve Kneizys of agoracgi.com, distributed under the GPL.
|
Fri Dec 16, 05 1:00 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Can you please explain exactly how you want your shipping to be calculated including the AK & HI shipping?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Fri Dec 16, 05 1:08 pm |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
acctually i want it to contact UPS with the weight and get a correct estimate... based on start zip end zip and weight... i dont care about anything else
|
Fri Dec 16, 05 2:33 pm |
|
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
oh and on a side note... if i put in a handleing charge... it shows it as part of the shipping... not as a seperate handleing charge... can i fix that?
|
Fri Dec 16, 05 3:00 pm |
|
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
ok i have a handleing charge 3.00 set.....i have the customer logic section turned off.... i have the weight entered for the item i am ordering... i have the SBW turned on and only UPS accepted... i have 25 pounds per box limit set... and everything looks good.... when i place and order this is what i get
Qty Product Cost
1 test item $ 21.95
Order Totals
Item Cost Subtotal: $ 21.95
Shipping: 3.00
Sales Tax: 1.81
Grand Total: $ 26.76
it is not adding a UPS shipping cost
whats up with that? what am i doing wrong?
|
Fri Dec 16, 05 3:07 pm |
|
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
ok here is the email i get when i place an order... i mean i think one of the problems is that it doesnt select any certain shipping type on the order form... the form never asks for it... how do i change this?
Thank you for your order. We appreciate your business and will do everything we can to meet your expectations. Please visit us again soon!
Order Date: Friday, December 16, 2005 at 16:07:09
Gateway: Offline
--PRODUCT INFORMATION--
Quantity: 1
Product: test product ($ 21.95 ea.)
Cost (each): $ 21.95
Item Subtotal: $ 21.95
INVOICE: 1134770394
SUBTOTAL: $ 21.95
SHIPPING: $ 3.00
SHIP VIA:
SALES TAX: 1.81
TOTAL: 26.76
ORDER NOTES -------------------
|
Fri Dec 16, 05 7:00 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Well, if you want to use UPS to get the shipping calculation then you need to turn on the SBW module, turn off custom shipping logic, and set the orgination zip code. AgoraCart will take care of the rest.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Sat Dec 17, 05 6:19 am |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
thats exactly how i have it setup... and its NOT taking care of the rest... is it because when i take an order its not saying ship via: UPS ???
|
Sat Dec 17, 05 8:25 am |
|
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
ok my settings are:
loop 3
3.00 handling charge
NO logic
YES SBW module
no fedex
yes UPS
no USPS
(no address in the usps API url)
(no username in the usps API name slot)
(no password in the usps API pass slot)
LBW
fedex 25
ups 25
usps 25
all the zips are in there
customer counter
and it DOES NOT WORK
what am i doing wrong? how can i find out whats wrong? can you help me?
|
Sat Dec 17, 05 8:32 am |
|
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
this is what i get when i place an order... it just has the handleing charges:
Order Totals
Item Cost Subtotal: $ 21.95
Shipping: 3.00
Sales Tax: 1.81
Grand Total: $ 26.76
do you have any ideas? ANYONE???
|
Sat Dec 17, 05 8:36 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
What is the URL to your store?
Instead of LBW try setting to http-lib...
Do you have the weights set up in the database for each product?
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Sat Dec 17, 05 9:24 am |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
i have 2.35 in the weight of one item... the one i am testing with... i tried http-lib... still doesnt work...
url =
www.dulonus.com/cart/
|
Sat Dec 17, 05 4:00 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
It looks like you may have removed the default index.html file that was in the 'cart' directory. The one that is in there now is the wrong one.
The proper file shoould contain the following:
Code:
<HTML>
<HEAD>
<TITLE> </TITLE>
<meta http-equiv="Refresh" content="0; url=agora.cgi">
</HEAD>
<script language="javascript1.1">
<!-- Hide
location.replace ('agora.cgi');
// end hide -->
</script>
</HTML>
Do you have any shipping methods selected in the payment gateway area of the manager???
What version of the cart do you have? I am not seeing things that I should be seeing. It looks like you don't have an 'cart/html/forms' directory which you should have if you have the current version of the cart...
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Sun Dec 18, 05 12:02 pm |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
ok... this is a customer of mine that moved their site to my hosting service... this site was made a year or more ago... how can i upgrade without loosing information? so i need to upgrade?
|
Sun Dec 18, 05 3:59 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
You would need to back-up your files. Install the current version to a different directory from the current store. Then start to apply the information of the backed up files to the new store.
They do offer an upgrade service at:
http://www.agoracart.com/proshop/agora.cgi?product=Installs_and_Upgrades
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Sun Dec 18, 05 6:07 pm |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
hmm ok but still this module should work...
|
Sun Dec 18, 05 7:59 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Not if the customer cannot select a shipping option on the order form and I am not seeing any shipping options showing on the order form...
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Dec 19, 05 5:11 am |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
how do i add it there?
|
Mon Dec 19, 05 12:01 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
In the payment gateway area of the manager, there is a list of shipping methods to use...
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Dec 19, 05 12:31 pm |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
no there isnt... is there away i could im your or chat with you so you could help me with this...
|
Mon Dec 19, 05 1:55 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
What version of the cart do you have?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Dec 19, 05 2:09 pm |
 |
 |
britten
Newbie - One Blade
Joined: 16 Dec 2005
Posts: 15
|
well did you get it?
|
Mon Dec 19, 05 8:24 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Britten,
Well, it wasn't the shipping settings, it was the order form.
There were no shipping options on the page.
Once the shipping options were added, the shipping was calculated.
You have version 4.0 which is really old and many advancements have been made to AgoraCart since then.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Tue Dec 20, 05 5:41 am |
 |
 |
|