List price & VAT

Posts: 85
Joined: 02/14/2008
Bug FinderGetting busy with the Ubercode.Internationalizationizer

Hi gabble,

I don't use uc_taxes_price anymore, so please forgive me if I should miss something. The easiest way IMO is to add support for taxed List price in uc_taxes_price. As far as I remember there are just 3 places with 2 lines where you find code like (they are not exactly the same, so copy each!)

        $sell_price = $node->sell_price + ($node->sell_price * _uc_product_taxes_calculate($node));
        $node->sell_price = round($sell_price, 2);

Search with your editor for "sell_price", copy the lines and in the copy replace "sell_price" through "list_price", so the result is that List and Sell price have again the same tax conditions.

Hope this helps, Al

Sell price striked through when less than list price By: gabble (9 replies) Wed, 04/23/2008 - 12:03