• VirtueMart 4.2 including new PayPal Checkout

    Yes a new mayor sub version as it would be sub number 24 already. On the other hand, this version works now very well on Joomla 3 and of course Joomla 4.3 and PHP8.2. So most things have settled in 4.0.22 and compared to last autumn we had almost no bugs to fix. So this stability should also be reflected in the version number and therefore 4.2!Some have already noticed, after years of maintaining our root server on our own, our developer server went down. But thanks to our members, we can...

    Read More …

Please consider the following changes in the layouts or API of VirtueMart 2

From VM 2.0.4 To 2.0.6

In the VirtueMart configuration, in the checkout tab, check the box "Display modal popup upon 'Add to cart'", if you want your website to behave as before.

If you use another template then the default one provided, please adapt it to those changes :

1) components/com_virtuemart/views/askquestion/tmpl/form.php
line 21 / 22

$min = VmConfig::get('vm_asks_minimum_comment_length', 50); 
$max = VmConfig::get('vm_asks_maximum_comment_length', 2000) ;

to

$min = VmConfig::get('asks_minimum_comment_length', 50);
$max = VmConfig::get('asks_maximum_comment_length', 2000);

2) /components/com_virtuemart/views/cart/tmpl/default_pricelist.php
- line 150, an echo was missing

Old code:

 

Change to

 

 

- line 339

Old code

 currencyDisplay->createPriceDiv('totalInPaymentCurrency','', $this->totalInPaymentCurrency,false); ?>

Change to

 totalInPaymentCurrency;   ?>



3) components/com_virtuemart/views/invoice/tmpl/invoice_items.php
line 163 and 175 same as number 2 in case you use a form there

4) components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php

remove all lines and replace with

$oldlayout=$this->getLayout(); 
 $this->setLayout('invoice'); 
 echo $this->loadTemplate('items'); 
 $this->setLayout($oldlayout);

5) components/com_virtuemart/views/user/tmpl/edit_address.php
line 147

Old code

 
  

 

From VM 2.0.2 To 2.0.4

If you use another template then the default one provided, please adapt it to those changes :

1) The calls for creating the prices have been changed
The display:

$prow->subtotal_tax_amount

has been changed to

$this->currencyDisplay->createPriceDiv('taxAmount','', $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity)

The reason for this change is that the prices are not stored anylonger in the cart to keep the session clean, so that more products can be added to the cart.
The file affected by these change is :
- all price layouts in the cart
=> /components/com_virtuemart/views/cart/tmpl/default_pricelist.php

2) The function priceDisplay has changed

Before:

echo $this->currency->priceDisplay( $item->product_basePriceWithTax)

Now:

echo  $this->currency->priceDisplay( $item->product_basePriceWithTax ,0, $qtt)

Files affected are:

=> /components/com_virtuemart/views/invoice/tmpl/invoice_items.php
=> /components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php
=> /components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php

3) display of the single items in the cart, mails, invoice and orders
Furthermore we changed the display of the single items in the cart, mails, invoice and orders.
When you used overwrites consider to start with the new layout and add your changes again,
it may be faster and cleaner.

 

Subscribe to our News

Delivered by FeedBurner

See it live!

 

Demo

Documentation

Testimonial

I just wanted to let you know how impressed I am with Virtuemart now. I had toyed around with Virtuemart earlier in 2008 and it is amazing at the difference between there and now. You people are doing great work!