There are two new features
A customer was not happy to see is review with is clear name. I noticed, there was no way to edit it. I remembered, we did it that way long, long ago, just to reduce Fakereviews by shopowners. It sounds nice, virtuemart cant be misused, but in fact it was stupid. I doubt any person has a greater trust in a review, just because the shop runs on VirtuMart. So I reconsidered. The new review system should work so, that any customer can post with the given name, and the own name is just suggested. Shopowners can change now also the name and the message in the backend, but not the voting (may come later). So it is simpler to add a note or to change the name if a customer requested that.
The seconed feature is a replacement of the "chosen dropdown js" against the "choices dropdown js". The difference is that "chosen" is outdated and that "choices" works native, without jQuery. Choices is also the "right choice" for joomla 6. But you can relax, ... in vm 4 it is just activated for the backend. You can use a hidden config to use it also in the frontend. So we came to the next topic, this feature was implemented for VirtueMart 5.
DOWNLOAD VirtueMart 4.6.8
NOW (needs Membership)
VirtueMart 5 is already running on Joomla 6. It has also some extra performance features added already.
The current idea is to remove the need of jQuery and to replace the core jQuery stuff by native javascript. It is also planned to use more static functions, which may break some extensions. Just one example, why that makes a lot sense. Images are displayed with the mediahandler. It makes not really sense to write for any image the function displayFileHandler into the RAM. So most of these functions are static now, which means they are written only one time into the RAM. So for templaters, nothing changes, these functions are of course still dynamic. But it can happen, that complexer extensions for example use the function "displayFileHandler" to display the media edit. But in anycase it is very simple to update outdated code.
The Beta for vm5 is available as vm4.9, please test and join our forum and our discord and post your results
New Features:
- Added Choices as replacement for Chosen. Currently only active in the Backend. Added to ajax loaded dropdowns vm-chzn-add to prevent that Choices is initialised twice
- Added edting of ratings in the backend. You cannot edit the vote, but name and message.
Interesting for shopowners
- PayPal checkout, added to the function updateOrderStatus the optional param allowedCurrentStatuses, and added that to two calls
- removed old vm_themeurl which was not correctly implemented anylonger.
- added simple normalizeLangTag function, which helps to set the right language if vm language was wrongly initialised (which happens if some plugin called the vmconfig before the router could set the right language tag).
Interesting for developers
- Created a lower space class map, so that we can spare the lower array key command (Remember our autoload works cAseInseNsiTive)
- Added function trimStrtolower to use the best available to lower function (Please use this function vmText::trimStrtolower)
- CurrencyDisplay added property $_vendor_currency_id
- Renamed variables of my last fix for currencyDisplay. Reverted added _vendorCurrency_id back to _vendorCurrency and added extra a_vendorCurrencyObj
Just Fixes / Enhancements
- Fixed bug that plugin with name xyz is null, happened for unpublished plugins, because JPluginHelper::getPlugin has no param for only published. Vm5 will have an own function for this task
- Small enhancements for model userfields getUserFields, a given query is directly used
- enhancement for routerdebug
- Fix in cart by Kuubs, to ensure right indexes for correct removing products in the cart
- Fix for dropdown of generic child selection
- Prevented notices if prices not given.
- Fixed typo in currencydisplay
- Better debugs