Download & Extend

Wrong prices in conjunction with uc_vat

Project:Ubercart Price Quotes
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

My Catalog shows wrong prices when uc_vat module is used.
Prices at product pages and cart are correct.

Comments

#1

The patch at http://drupal.org/node/492718 looks good. A quick look through this module showed additional twice uc_currency_format() which should be also replaced by uc_price().

#2

But it has to be altered by uc_vat as well, right?
A quick&dirty hack resulted in the same (wrong) prices at catalog pages.
Maybe someone with better ubercart skills could provide a proper patch.

cheers, Ronald

#3

Hi
You need to set extra context information in function uc_product_quotes_table.
Before it does the
if ($enabled['list_price']) {
Add

$context = array(
    'location' => 'product-tapir-table',
    'subject' => array('node' => $node)
);

This fixed my GST issues so should be the same for VAT (they are both similar from what I understand.
nobody click here