Rating: Not Rated Yet

Finalize Order plugin

Rating: Not Rated Yet
Sales price: $15.00
Sales price: $15.00

  • 25
  • 30
  • vm2.0
  • vm3.0
  • language
  • plugin

Since Virtuemart 2.0, a pending order cannot be finalized as it used to be in Virtuemart 1.1.x

With this plugin, your customers will be able to finalize or cancel an order that was left pending and won't need to order the same products again.

Administrator can filter the payment methods that are available when finalizing an order.

Combine it with the free Pending order module for even better user experience ! 


VersionRelease notesDate
3.0.1- Fixed an issue when loading plugin in order list2015-03-02
3.0.0- Now compatible with Joomla 3 and Virtuemart 32015-02-13
2.9.2- Fix a blank page on some Joomla configurations2014-12-09
2.9.1- Ensure Virtuemart config is loaded in some configurations.2014-11-26
2.9.0- Added Joomla 3 and VM 3 compatibility2014-11-10
1.3.9- Fixed issue with assigned templates2014-08-28
1.3.8- Fixed compatibility issue with Rupostel OPC.2014-05-05
1.3.7- Order number will now be taken from url if not set in the tag2014-03-13
1.3.6- Added support to orders created with guest checkout2013-10-31
1.3.5- Changed the finalize order link to a button.2013-10-16
1.3.4- Compatibility with Virtuemart 2.0.222013-09-06
1.3.3- Fixed issue with payment method minimum amount2013-09-03
1.3.2- Added version history information2013-08-19
1.3.1- bug fix2013-08-05
1.3.0- Added order status filter to display the cancel button
- Fixed a bug with filtered methods to display
1.2.1- removed php warnings
- Load translation and style even if outside Virtuemart context
- Fixed a bug where multiple payment methods tied to the same plugin were not displayed correctly (only one was displayed)
1.2.0- Added a parameter to select a payment method by default
- Added a parameter to filter the payment methods accepted to finalize the order
- Buttons and text are now translatable
1.1.5- Version checker update2013-06-06
1.1.4- Version checker update2013-06-05
1.1.3- Button css fix2013-05-24
1.1.2- Plugin now updates the order with the newly selected payment method2013-02-28
1.1.1- Changed editor type field to text area to prevent issues2013-02-03
1.1.0- Added option to cancel a pending order2013-01-30
1.0.0- Initial release2013-01-29

Help - Finalize Order Plugin

By default, Finalize order plugin will add a button on the order details page only but cal also parse some custom tags that you can add to articles, modules, or even templates files.
To insert a button in an article or a module, add the following code :
{finalizeorder orderid=XXXX}
//Where XXXX is the order number you want to clone.
You can also override the default plugin settings:
{finalizeorder orderid=XXXX|filterorderstates=P|text=Finalize this}
Separate the different parameters with a pipe (|)
Note that if the orderid parameter is not present but the order_number parameter will be considered.
Here is a list of parameters you can override:
filterorderstatesorder stateEnter the order states to display (P, X, C...)
showtos0/1Show/hide Accept Terms of Service button 
divclasstexta class name to apply to the container div
divstyletextcss style to apply to the container div
pretexttexttext to be shown before the button
texttextthe text of the button
posttexttexttext to be shown after the button
class_sfxtextclass name to apply to the button
btnstyletextcss style to apply to the button
showcancel0/1Should the user cart be reset before adding the items?
canceltexttexttext of the cancel button
cancelclass_sfxtexta class name to be applied on the cancel button
cancelbtnstyletextcss style to be applied on the cancel button


If you want to get a button in the order list you will need to make some changes manually:

Virtuemart 2.x

Virtuemart 2.x now follows Joomla's MVC structure. Therefore you can overload template file without changing the core files.
  1.  Locate file
  2. Copy it to (recreate folder structure if necessary) 
  3. Add an empty column header to the table
  4. Add the button in a new cell for each records:
    <td>{finalizeorder orderid=<?php echo $row->order_number; ?>}</td>

Virtuemart 1.1.x 

it needs a small hack in Virtuemart 1.1.x as the code generating this list is not templated.
  1. Locate the file 
  2. Locate the function
        function list_order($order_status='A', $secure=0 )
  3. Add the following code to the "while" loop 
    <td>{finalizeorder orderid=<?php echo $db->f("order_id"); ?>}</td>


There are yet no reviews for this product.