Go Back   FlyerTalk Forums > Miles&Points > Airlines and Mileage Programs > Virgin Australia | Velocity
Sign in using an external account

Reply
 
Thread Tools Search this Thread
Old Apr 2, 12, 8:13 am   #1
 
Join Date: Aug 2007
Location: SYD
Programs: | 1.1MM BIS |
Posts: 1,560
How do I find out what the fare code is?

Hoping someone might be able to help - is there any way to tell on the Virgin Australia booking site what the fare code of a selected fare is? It doesn't seem to be in the details I can see, and I'd like to find out to see if they are eligible for partner miles accrual.

Thanks
Supersonic Swinger is offline   Reply With Quote
Old Apr 2, 12, 1:07 pm   #2
FlyerTalk Evangelist
 
Join Date: Nov 2004
Location: Melbourne
Programs: ►QFWP/LTG ►NZ*G ►VA WP ►HHD ►IHG G
Posts: 16,988
Do a booking and after selecting your flight options you go to the "Guest details & travel extras | Virgin Australia" page.

View the source and about 33 lines from the top you'll see "farefamily". It may be easier to search for this string.

The fare class is then indicated after the '='. e.g. - an "M" class flexi booking MEL-CNS:

Code:
...
var productElement = 'MEL-CNS_M_M';
var fareFamily = 'M';
var catElement ='MEL-CNS';
var priceElement ='329';
var qtyElement ='1'
var storeElement ='1';
...
... or a return in 'saver':
Code:
...
var productElement = 'MEL-CNS_U_U,CNS-MEL_Via-BNE_A_A';
var fareFamily = 'U,A';
var catElement ='MEL-CNS,CNS-MEL_Via-BNE';
var priceElement ='264,285';
var qtyElement ='1,1'
var storeElement ='1';
...

Last edited by serfty; Apr 2, 12 at 1:13 pm.
serfty is offline   Reply With Quote
Old Apr 7, 12, 8:10 am   #3
 
Join Date: Feb 2004
Location: Melbourne, VIC, Australia
Programs: QF Gold, PC/IC Plat
Posts: 3,078
If you want to do it before booking, you will still need to interrogate the HTML, although it is a bit more complicate. Basically you need to identify the cell in the HTML that you are looking at, and look at the value that the radio button will return. An example is below, and the part you are after is "0~S~SZDSVI~1200~~2~X|DJ~ 725~ ~~MEL~06/30/2012 06:25~OOL~06/30/2012 08:30~"


(This is from a Saver (Product class 'SV'))

The S and SZDSVI indicates an S fare.

Code:
<td class="fareCol4" productClass="SV">
  <input class="normalFareInput" id="ControlGroupScheduleSelectView_AvailabilityInputScheduleSelectView_RadioButtonMkt1Fare4" type="radio" name="ControlGroupScheduleSelectView$AvailabilityInputScheduleSelectView$market1" value="0~S~SZDSVI~1200~~2~X|DJ~ 725~ ~~MEL~06/30/2012 06:25~OOL~06/30/2012 08:30~" requiredError="Please select a fare."><span class="normalFareContainer">$239.00</span></td>
perthite is offline   Reply With Quote
Old Apr 7, 12, 5:47 pm   #4
FlyerTalk Evangelist
 
Join Date: Nov 2004
Location: Melbourne
Programs: ►QFWP/LTG ►NZ*G ►VA WP ►HHD ►IHG G
Posts: 16,988
Quote:
Originally Posted by perthite View Post
If you want to do it before booking, ...
That is another way to do it and get the information before selecting a flight and proceeding to the "Guest Detail .." window as described in post #2.

A utility like "Fire Bug" with "Inspect Element" makes this method somewhat easier.
serfty is offline   Reply With Quote
Reply

Bookmarks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 3:35 pm.