Partners

VirtueMart DoorsWhen a release is just around the corner, we stop adding new features and focus on testing and fixing bugs. So it's a normal reaction of our members to push their wishes after the release. So this new core has an above-average number of new features for a subversion. There are mainly two different groups of features. Some are like furniture. It is quite simple to add them and it is very unlikely that they break something. It may happen that the new table stands in the way of the rarely used door to the basement. But it is simple to fix. Most of the time our testers catch these issues, but sometimes the central heating door was not tested. The new features are all of that kind. The worst which can happen is, that they do not work.

DOWNLOAD VM3 NOW
VirtueMart 3 component (core and AIO)

Bigger, more complex feature changes are done in the major versions such as VirtueMart 3.6. These feature changes are more similar to changing the room layout of a house, or adding an extra floor, or replacing the roof, and so on. These are changes which require much more testing and these are more likely to break other constructions attached to your house. For example, the beautiful balcony (your one-page checkout).

Sometimes we notice that our house is not really comfortable. Displaying the order details below the order list was a good idea, but if the order list was too long then buyers did not see the order details. The order details open now above the list. This way, the logic makes much more sense. If you scroll down in the order details, you can directly select the next order. These and similar changes can be found below in the list of changed behaviors.

One of them even starts with "fixed an issue editing the order...". This one is a very typical problem with the GUI, the graphical user interface. The difference of design and art. It sounds simple, but it is not easy to create a functional GUI. It is quite simple to create a nice looking GUI, but that only counts at first glance. In the long run, a GUI must work functionally. The whole order editing started as plain edit function without any assistance. When you changed a data, the new data was taken. A rough calculation system was added to help with the simple summation.

VirtueMart 3.6 extended the order editing assisting system. The tax change works by drop-down, but this system was not written for discounts. The problem here was to find an elegant GUI. For example, a VAT does not need to be overwritten. If you select a VAT, you expect a fail-proof calculation. But sometimes a discount is granted according to a certain rule or only as a result of a specific trade. As a result, changing a quantity of a discounted item did not change the discount according to the new quantity. The system accepted the discount the old way, as direct input.

The new system now works so, that the discount is always calculated by the given prices and multiplied by the quantity. However, if some of the required prices do not exist (for example, the undiscounted gross price), the discount value is transferred as direct input for the whole position. So you can still overwrite the discount by simply emptying the gross price. The GUI concepts follows the intuitive idea, that an empty price field is calculated by the existing data. So you can of course also just set the gross price and the discount and you will get your net and final price calculated automatically.

Last but not least the bug-fixes. Sometimes it happens that a "furniture feature" turns out to be a roof changer ;-). The feature "automatic thumbnailing of the 'no image set' image" is one of these types. It led to a cascade of changes in the mediahandler.php file. The feature "remote images" remained silent in its corner and only caused problems there. But the simple sounding "automatic thumbnailing of the 'no image set' image" even caused problems when adding a new media because it suddenly behaved as thumbnail "no image set" image.
Sometimes a bugfix aggravates the problem. In German we use the word "verschlimmbessern", from "schlimm" (sad) and "bessern" (to make better). Test users reported that sometimes payment/shipment methods are not correctly selected in the cart, or not visible for selection. The provided fix solved the problem if categories were not set, but created another one. Adding the extra tests for the case 'on empty' lead to a wrongly used pattern and broke the category conditions.

I hope that I gave a good insight how complex it is to deal with new features, bugs, features removing bugs, and bugfixes adding bugs, and so on.

Thanks to our good community - join us at forum.virtuemart.net

List of new features

  • Added placeholders to userfields
  • Added cloning of products with children
  • Added hidden config adminProductListBruttoPrices
  • Added option to user list in backend "show only shoppers"
  • Added vendor drop-down to users list in backend, so that it filters "shoppers of a vendor"
  • Added option to user account view "showUserShopperGrp"

Changed behaviour

  • Remote medias can now also be stored with http/s (is removed automatically)
  • Discontinued products are now only filtered for shoppers (not as managers in FE or BE)
  • Fixed an issue editing the order. Increasing the quantity of an item did not increase the given discount, but used the entered one. More information here http://forum.virtuemart.net/index.php?topic=143888.0
  • Order details are now opened above the order list
  • PayPal does not directly try to validate the data (for certain sub-methods), only when in checkout process
  • When ChangeShopperDeleteCart option is activated, then it also empties of the addresses of the current cart
  • If automatic payment/shipment is set to "none", the triggers are not executed

Enhancements

  • Component aio should work more robust now (some plugins prevented that it loaded the vmconfig correctly)
  • Added database key for product sku
  • Added delay of 400 ms to mediahandler autosearch function

List of fixes

  • Fix for no image display in media edit
  • Fixed category conditions for methods (shipment/payment)
  • Removed a note in router due a vmdebug
  • Fixed logic of storing username, when it is not allowed to change the username
  • Fix for adding new ST address in account maintenance view
  • Fixed typo in handle404 function