Hi,

Apologies if this is elsewhere, I couldn't see it.

I need to display prices inclusive of VAT for general retail customers and exclusive of VAT for resellers, and they will have different prices. The cart will remain the same as it now, it displays well already for what I want.

I understand that Ryan is making a price-per-role method in the discount alt module which will solve the role price problem, but do you know how this module will play nice with it? (I saw the uc_price_per_role too, but I guess its not going to be ported and if discount_alt does it...).

After that, I have two possible methods I think would work;

A. It would also be useful to have a different setting in uc_vat that allows you to choose the display method per role not just overall (entry is a different thing - not bothered if I enter inc or exc vat). I understand that prices are stored pre-tax, so I assume it should be relatively easy? An additional feature could be instead of saying "Add "including tax" to displayed prices." it displayed "exc VAT" or "inc VAT" depending on the role also.

B. Is it possible to have a uc_currency_format($node->sell_price[0]['inc']) & uc_currency_format($node->sell_price[0]['exc']) thing and then this could be done in theming by just choosing which to display based on role (sorry, I know this isnt right syntax but shows what I mean). Using this method means you could display both inc/exc at the same time or show list price inc vat but sale price exc vat (so wholesalers know how much something should retail for).

Anyhow, this is new to me so I apologise if this is stupid - if it does make sense, I am willing to put some cash up to get this done quickly.

Thanks,
Paul.

Comments

techypaul’s picture

Link to issue showing static price per role is coming - http://drupal.org/node/441632.

longwave’s picture

Status: Active » Postponed

uc_price_per_role will be ported to Drupal 6 sooner or later, but for your scenario uc_vat will also need a new permission to determine whether to add VAT or not. This is planned for a future addition to the module as part of the B2B VAT support, though I have not yet had any time to work on this - offers of sponsorship or patches are welcome.

longwave’s picture

Status: Postponed » Fixed

I've implemented option A that you listed, adding a new permission which you can give to users who should see prices without VAT, and suffixing prices displayed for these users accordingly. I did it this way round as I figured, in general, most stores would want to display prices to anonymous and authenticated users and only display ex-VAT prices to a specific subset of users.

uc_price_per_role for D6 should work with uc_vat, except entering role-specific prices must be done exclusive of VAT at present.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.