Hi,
I think there's a problem here : prices are VAT exclusive in Views blocks.
As I have read in the uc_vat_price_handler_alter function, these cases should be covered by the switch... Maybe a wrong context name?
For Upsell, doesn't work either, but works well in dev version.
cfab
Comments
Comment #1
tahiticlic commentedI answer myself as I found the problem cause : there's no "type" attribute in the $values array produced by views... Instead, there's a "node_type" attribute, so the switch becomes for views case :
Comment #2
longwaveThanks for spotting this, fixed in CVS. I modified your patch to load the full node data, as the type itself isn't enough - we also need the "shippable" setting and the product data in the case that the node is a product kit.