Where does variant "from" price field come from?

I’ve edited the code in tpl files to show dual pricing but am now having a problem when using variant products.

<span>[{$currency->sign}]</span>
<span>[{$fPrice/1.23|number_format:2}]</span>
<span>(ex vat)</>

I’ve adjusted $fPrice to show an ex vat price. However this does not work for “from” price generated for variants.

Example of some products showing €0.00 ex vat on site below when my calculation using $fPrice as part of formula fails.

http://www.paperweight.ie/shop/Stationery/Writing-Instruments/Ball-Pens/

Can’t figure out where variant lowest price is generated from.

Sean

The price shown after ‘from’ is just the regular price of the lowest cost variant. If you forget to assign a price to a variant the default is 0 so that will show

I think that’s because oxarticle::getFPrice() adds the “getPriceFromPrefix” to the price so the total formatted price looks like “from 5.00 €”.