How do I find out what the fare code is?
#1
Original Poster



Join Date: Aug 2007
Location: SYD
Programs: |QF LTG|DL Gold|
Posts: 1,784
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
Thanks
#2
FlyerTalk Evangelist




Join Date: Nov 2004
Location: Melbourne
Programs: ►QFWP/LTG►VA WP►HyattDisc.►HiltonGold►ALL Plat.
Posts: 22,336
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:
... or a return in 'saver':
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'; ...
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, 2012 at 1:13 pm
#3


Join Date: Feb 2004
Location: Perth, WA, Australia
Programs: QF Gold, VA Plat, IHG Plat Amb, LCAH Gold, Hilton Diamond
Posts: 3,934
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.
(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>
#4
FlyerTalk Evangelist




Join Date: Nov 2004
Location: Melbourne
Programs: ►QFWP/LTG►VA WP►HyattDisc.►HiltonGold►ALL Plat.
Posts: 22,336
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.
A utility like "Fire Bug" with "Inspect Element" makes this method somewhat easier.

