Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Pre-Login Shipping Calculator

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #141  
Old 09-13-2005, 07:28 AM
 
sbtiti sbtiti is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 32
 

Default

How do we get this mod to work with fedex? I followed the instructions in the "Step by Step setup of FedEx" thread ( http://forum.x-cart.com/viewtopic.php?t=21128&highlight= ) and now we get this error:

UPS Realtime shipping rate calculation service returned the following error:
The requested service is unavailable between the selected locations. (errorcode: 111210)
Sorry, there are no available shipping methods for your location.:

before a zipcode is inserted.

Any ideas?
__________________
Version 4.0.9
Reply With Quote
  #142  
Old 10-09-2005, 07:03 PM
 
anime101 anime101 is offline
 

Newbie
  
Join Date: Jul 2005
Posts: 1
 

Default

Newbie here!

I used the MOD on page 5. Every thing works perfectly. However, when one types in their shipping zip code, it gives you the actual cost of shipping not the shipping with markup.

For example: USPS Priority for a 1lb item cost $3.85. The customer sees on the pre-login shipping calculator $3.85 instead of the $4.85 which includes markup.

Anyone have a solution or knows what files to manipulate so that it will show shipping with markup?

Help appreciated. Thanks!
__________________
--
X-Cart v4.0.14 Linux
Reply With Quote
  #143  
Old 10-10-2005, 06:09 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default

Quote:
Originally Posted by anime101
Newbie here!

I used the MOD on page 5. Every thing works perfectly. However, when one types in their shipping zip code, it gives you the actual cost of shipping not the shipping with markup.

For example: USPS Priority for a 1lb item cost $3.85. The customer sees on the pre-login shipping calculator $3.85 instead of the $4.85 which includes markup.

Anyone have a solution or knows what files to manipulate so that it will show shipping with markup?

Help appreciated. Thanks!

By any chance are you using Intershipper? If so, they have a markup section where you can do this. If not, I too would be interested in seeing this...
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #144  
Old 10-12-2005, 10:17 AM
 
jgold723 jgold723 is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 31
 

Default Tried this but got an error

Hi Rackit --

I tried your code on my version (4.0.5) but I got an error ("missing T-STRING on line 57")

That line is: $zipcode_estimate = "";

I also noticed that the block of code you replace doesn't match mine exactly. I have this for the block:


x_session_register("cart");
x_session_register("intershipper_rates");
x_session_register("intershipper_recalc");
x_session_unregister("secure_oid");
x_session_register("extended_userinfo");
x_session_register("anonymous_checkout");
x_session_register("payment_cc_fields");
x_session_register("current_carrier","UPS");

Any suggestions as to what I should be looking for?

Thanks,

John
__________________
John
Xcart version 4.0.5
Reply With Quote
  #145  
Old 10-27-2005, 11:27 PM
 
pavant pavant is offline
 

Advanced Member
  
Join Date: Oct 2004
Location: Chicago, Illinois
Posts: 84
 

Default

Dear RackIt,
I really liked your change so I tried to implement it. But when I press the calculate button nothing happens. It looks like there is a link missing. Can you tell me what it should be?

Many Thanks in advance.

NOTE: Never mind. I asked the question before I realized there were 10 pages of posts. The post by Carrie works great! Thanks anyway.
__________________
X-Cart Gold v 4.1.10
PHP 5.2.4
MySQL 5.0.45 standard
Apache/2.2.6
OS - Linux
Reply With Quote
  #146  
Old 11-15-2005, 03:28 AM
 
pomfret pomfret is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Pomfret Center, CT
Posts: 94
 

Default

Has anyone modified this mod to include tax calculation? Either based on states or zipcode?

Whle the latter would be more work, it would keep the interface for this mod nice and clean (instead of requiring a states drop down plus the zip input field). Also, I was wondering if we'll encounted problems with zip+4, or does X-Cart already handle the +4 part?

I'd like to thank the OP and contributors in this thread for their hard work in producing a nice little S&H calculator. Kudos.

Thanks,

Brian
Reply With Quote
  #147  
Old 11-15-2005, 07:49 PM
 
TJ Stephens TJ Stephens is offline
 

Advanced Member
  
Join Date: May 2005
Location: California
Posts: 94
 

Default

Pomfret, you can find instructions on how to calculate tax based on zipcode on page 6 of this thread. I'm not sure about the zip+4 issue but I don't think the +4 will make a difference when it comes to shipping or tax calculations.
__________________
X-Cart Pro 4.1.11 (Live)
XRMA
XAFF
XAOM
DSEFU Pro
XGift Reg
Firetank Feed Manager
BCSE Shipping Calculator
XcartMod Dynamic Images
Reply With Quote
  #148  
Old 11-16-2005, 03:14 AM
 
pomfret pomfret is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Pomfret Center, CT
Posts: 94
 

Default

Quote:
Originally Posted by TJ Stephens
Pomfret, you can find instructions on how to calculate tax based on zipcode on page 6 of this thread.

Wow, I can't believe I missed that. Thanks for the note!

Brian
Reply With Quote
  #149  
Old 12-04-2005, 08:38 PM
 
Mr Bob Mr Bob is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 199
 

Default

Has anyone been able to add this to the right side box that displays the # of items in your cart? I would like something that has an input box that lets you enter your zip code, and display the shipping rates. It seems like this mod only works while you are actually on the shopping cart page, correct?
__________________
Product: X-Cart Gold
Current version: 4.0.14

Additional Mods: X-Affiliate
Reply With Quote
  #150  
Old 12-13-2005, 01:26 PM
 
yuehan yuehan is offline
 

Advanced Member
  
Join Date: Oct 2005
Posts: 44
 

Default

Quote:
Originally Posted by Mr Bob
Has anyone been able to add this to the right side box that displays the # of items in your cart? I would like something that has an input box that lets you enter your zip code, and display the shipping rates. It seems like this mod only works while you are actually on the shopping cart page, correct?

I pasted in this mod, but couldn't get it to work right away. BCS Engineering came to my rescue and got it working. The box on the right that you are referring to, I believe is known as the "mini-cart." On mine, with the mod working now, the mini-cart does show the total including shipping, but only if you have already gone to the shopping cart and entered your ZIP code. My mini-cart does not show the breakdown of product vs shipping, just a grand total. And you do have to go to the actual cart page to enter the ZIP code.
__________________
John -- USA
X-Cart Gold 4.3.2
Linux CentOS 5
Apache 2.2.15
PHP 5.2.13
MySQL 5.0.91
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:53 AM.

   

 
X-Cart forums © 2001-2020