VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 default shipping method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

17 Posts

Posted - February 17 2005 :  13:02:26  Show Profile  Reply with Quote
This should be a quick & easy one, but I just can not find it anywhere. I have xdefaultshippingmethod set to Yes, and I have 3 shipping types "UPS, USPS & Downloads". "Downloads" is always the default, how can I make USPS the default shipping method?


Edited by - RegisterGuy on February 21 2005 17:31:13

VP-ASP Super User

304 Posts

Posted - March 09 2005 :  14:59:49  Show Profile  Reply with Quote
I had the same problem. One of my shipping methods is "Special Arrangement" and this was getting picked all the time by mistake because it was the default.

It turns out it is somewhat covered in the Developer's manual.
When xdefaultshippingmethod = "Yes" as in your case, "the first one on the list is automatically selected."

So what does this mean? Well, the list of shipping methods is sorted alphabetically, and the first one is chosen by default. In your case, "D" comes before "U" so "Downloads" shows up first and is chosen by default. You may want to choose different names or put something at the start of the name to force a certain sort order. For me, I put "a)" and "b)" at the beginning of my shipping method names to force the sort order.

Go to Top of Page

VP-ASP New User

127 Posts

Posted - March 10 2005 :  07:41:34  Show Profile  Reply with Quote
If you only care about USPS being the first one and the others kept alphabetically, simply put a space in front of USPS in the name. That will sort it above the others like greatphoto said.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000