Patch for Virtuemart ps_order.php
Download
- Description:
-
ThisĀ patch handles updating of stock level and product sales after changing order status in the following way:
- if the order status is changed from any status (except Cancelled (X) or Refunded (R)) to Cancelled or Refunded, stock level is increased and product sales are decreased (to the amount before the order was placed)
- if the order status is changed from Cancelled or Refunded to any status (except Cancelled or Refunded), stock level is decreased and product sales are increased (to the amount before the order was cancelled/refunded)
- any other status changes don't affect stock level and product sales
New in version 1.2:
Global order status changes (i.e. for the whole order) don't affect the status of single items if their sttus has been changed separately before.The following Virtuemart file has to be replaced manually (using FTP):
joomla-root/administrator/components/com_virtuemart/classes/ps_order.php The patch has been tested with Virtuemart 1.1.7 (but might work with other versions too).
- Submitted On:
- 17 Jun 2011
- File Size:
- 9.13 Kb
- Downloads:
- 87
- File Version:
- 1.2
- File Date:
- 22 Mar 2011
- Rating:
- Be the first to comment! Please sign in or register.


