News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[BUG] Every tax_id is "0" in cart object

Started by j_vovus, March 01, 2012, 13:07:09 PM

Previous topic - Next topic

j_vovus

Hi
If you'll look on $cart object in plgVmConfirmedOrder method you'll see that every tax_id element is zero, although in $method objects for every plugin tax_id is correct.
This happens because in /administrator/components/com_virtuemart/plugins/vmpsplugin.php::onSelectedCalculatePrice zero assigned to $cart_prices[$this->_psType . "_tax_id"]
It should be $cart_prices[$this->_psType . "_tax_id"] = $method->tax_id;

j_vovus