Shape 5

News and Announcements => Extension News => Topic started by: tjuhej on May 27, 2008, 08:40:34 AM



Title: virtuemart s5 column cart - problems
Post by: tjuhej on May 27, 2008, 08:40:34 AM
Fatal error: Call to undefined method: currencydisplay->getrounded() in /customers/kalligrafi.dk/kalligrafi.dk/httpd.www/modules/mod_virtuemart_s5_column_cart.php on line 135

When I have installed it and try to make and order this shows up when I put the first thing in the cart.
Have someone a solution. I use DKK on my shop.

Kind regard
Tina


Title: Re: virtuemart s5 column cart - problems
Post by: jonahh on May 27, 2008, 12:18:33 PM
This is most likely caused by using J 1.0.x with VM 1.1.   We only cater to the releases Joomla makes, we have a Joomla 1.0.x and Joomla 1.5 compatible version of this module available.

Regards,


Title: Re: virtuemart s5 column cart - problems
Post by: kcjicm on November 15, 2008, 11:20:28 AM
This is what you need to do to make it work with VM 1.1:

In modules/mod_virtuemart_s5_column_cart.php change line 135 from:

Code:
$tax_total = $CURRENCY_DISPLAY->getRounded( $order_taxable );

to

Code:
$tax_total = round( $order_taxable );

It worked for me and hopefully anyone else that needs this fix will see this post.