Author |
Topic  |
|
[email protected]
VP-CART New User

149 Posts |
Posted - August 28 2014 : 18:03:57
|
Is there a way to change the order of the fedex results returned? Currently, they are being presented from most expensive to least expensive and I would like the reverse of that.
Does anyone know how?
|
|
g3nnin
VP-CART Super User
 
209 Posts |
Posted - September 11 2014 : 15:26:06
|
Hi,
Have you tried checking DisplayForm routine in fedexrtv8.asp file? This should be the routine that displayed the shipping dropdown menu.
You might also want to check GenerateSelectNV and GenerateSelectRadio routines.
Hope this helps! |
 |
|
diegomilito
VP-CART Expert
  
Argentina
779 Posts |
Posted - September 20 2014 : 05:30:57
|
how about trying on file fedexrtinterface.asp , these functions maybe related :
Sub AddServicePrice (service, price, deliverydate) Sub AddService (scode,sname) Sub SetupShippingMethods
good luck. diego |
 |
|
FCS-Webmaster
VP-CART New User

Canada
120 Posts |
Posted - September 30 2014 : 16:33:37
|
Thanks for your suggestions G3nnin and Diego.
The setupShippingMethods looked very promising but reordering the list didn''t seem to do anything (doing something similar in UPS works though).
Looking at the code the only workable option we see at this point is to look at the GenerateSelectNV sub procedure in the shop$db.asp file and do some sort of massive array sort in there. That may allow us to look at sorting all the shipping options (even between shipping companies) from lowest cost to the highest cost. That should make things easier for the customer who is trying to figure out what the most cost effective shipping option is for there needs.
Tim |
 |
|
diegomilito
VP-CART Expert
  
Argentina
779 Posts |
Posted - October 09 2014 : 04:30:14
|
tim, i want to know your solution if you have done that. can you share me on forum. i am interesting. diego. |
 |
|
FCS-Webmaster
VP-CART New User

Canada
120 Posts |
Posted - February 25 2015 : 20:05:10
|
Tim here... I haven''t had much time to work on this and managed to lose my planed solution, but I think I''m on to something by attacking this from a different angle.
In sub ShopShippingForm inside the shopcustomerform.asp file all the shipping services get combined in this area. Now in this area changing it from each shipping company dumping there quotes into the down menu something in here takes the information and breaks it up to a 2D or 3D array. Using this we then perform a sort on the data to sort by price then spit out the drop down list of shipping options in a sorted form that sorts by price.
What do you think of that possible solution Diego? |
 |
|
diegomilito
VP-CART Expert
  
Argentina
779 Posts |
Posted - February 26 2015 : 21:49:40
|
ur solution maybe will work, but i have just think of something , easier to solve but need to create a new table.. u try to store all the shipping results from different shipping methods (lookup, ups, usps, etc.. ) to a new table.... the data there is temporary and just call sql query to get data from that table , of course SORT BY ASC OR DESC and show the list as drop-down for shipping methods... then clear the data there in the new table....... how about that ??? open discussion diego |
 |
|
|
Topic  |
|