- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 7439
croatian coast, Copyright Max Milbers
VirtueMart 4.0.4 contains various bug fixes and improvements. Especially it solves some problems reported to us after the release of the previous version of VirtueMart when it is used along with Joomla 4.1.x.
Fixes and changes and enhancements included in this version are:
Joomla 4
- Fixed saving the sorting of items in j4
- Fixed chosen update for j4, needs another trigger
- New jQuery for j3 (j4 one)
- Updated xmls so they should work for j3 and j4
- Added a missing j4 adjustment to the vmloaderpluginupdate plugin
Developer new technics
- vmJsApi new method to push JHtml execution in a queque like we do with our js already. The queque is executed with writeJS
- sku, gtin, mpn only shown for is_input customs
- updateStatusForOneOrder is only executed if there is a given virtuemart_order_id and if the entry already exists
- vmplugin function storePluginInternalData converts the decimals, too
- Updated state published in the product model, for listing we now use list.published and some other minors in product model
Templater
- New classes for Multivariant dropdowns
- Horme3 removed $app->isAdmin
- Just some better use of existing functions "loadPopUpLib"
Fixes
- Enhanced router using static functions and values (all static) and remanaged it for better debugging
- Fixed initialisation of language in router, if language was not loaded the first time with loadConfig
- The debug of the router was sometimes called without loading the config and failed
- Changed key field_type_searchable_published from unique to key and minors
- GUI, changed maximum input for order status
- Replaced all %1s and %1d to %1$s and %1$d in EN and DE language files due %1s and %1d causing problems
- Found big error which lead to wrong inserts/updates, if the same entry was stored within the same call again.
- Fix for vmView, added parameter for construct and added setting of VmView::$bs in getVmSubLayoutPath
- Replaced deprecated FILTER_SANITIZE_STRING against FILTER_SANITIZE_FULL_SPECIAL_CHARS
Enhancements
- Added a new option in vmloaderpluginupdate to load config with or without language
- Categories do not load anylonger the parents for the breadcrumbs in the Backend for faster listing
- Some work on the languages. If a language is selected, which exists in joomla but not in the vm config, it should show the joomla language and only the vm content stored in tables like product description should use the fallback.
- JPEG images create thumbs with JPG
- Enhanced handling of storing a new custom proto type if type is plugin but no plugin set
- Enhanced vmecho for better measuring time. It sums up the time needed for a particular function, but not the time between calls to the function
- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 30248
We are pleased to release a new VirtueMart generation, which adds compatibility with Joomla 4 and PHP8. VirtueMart 4 comes with a new overridable Bootstrap 3 frontend template (Bootstrap 5 will follow soon) and new backend template. Of course there are also new features for the product presentation, a lot of bugfixes and some new programming techniques. We originally had planned to release this on Christmas, but it was not possible to keep the date due to many changes applied to joomla 4 after it's initial release. We still have to iron out a few minor complications with it, but it already works for a number of early adopters..
The Backend Template
The new backend template uses VMUI-Kit. Unluckily this is not ideal for Joomla 4, but BS5 will be added soon. You can choose between four different color styles and it works well on mobiles. Updaters must install it manually, because it is handled as an installable template and is not part of the VirtueMart core installation package.
New backend features and tools
VirtueMart 4 not only has a new look, but also new functions in the backend. For example, Multivariants with children can now be autogenerated with permutating variants. Customfields can have their own SKU, GTIN, MPN. The order status was previously limited to a single character and is now extended to 3 chars. The category dropdown in the "product.edit" view now also lists unpublished categories. Original language flags (as we have already for other edits) now added to the payment and shipment edit views. RuposTel donated a google like search for products and orders. So for example use sku:mySkuToSearch to let VM search only within the SKUs.
Also there are two new maintenance tools. The first one is a synchronizer consisting of three buttons, which sets country 2, country 3 and country numerical code in the country list correctly according to ISO 3166. The second one is a converter button for changing old utf8mb3 tables to utf8mb4 tables.
New frontend template
Spyros Petrakis has generously donated his Horme3 template for the VirtueMart Core. Another new feature which you will find most useful is the the setting for different Bootstrap layouts, which was not fully implemented yet and therefore useless, ...until now! Selecting the Bootstrap 3 layouts in the configuration will load these layouts from the core. So we can now use any Bootstrap 3 template without overrides, because VirtueMart 4 loads the Horme3 ones. This also gives new users the possibility to use old override techniques. We are planning to extend this technique to modules and css. Work is already in progress to provide the same technique for Bootstrap 5.
The javascript also received a general overhaul, so it is more reliable, should work better on different browsers and is easier to handle for templaters (working relative or with classes instead of ids). The new fancybox 1.3.4.2 is working with the new jQuery version now.
Paybox
The payment plugin Paybox got a general overhaul and works now with 3Dsecure V2
Product Bundles
are a very mighty new feature. It can be used as typical bundle of different products for one price. This was also possible before by just creating a product which listed the included products. But this method required a lot maintenance. The inventory just listed a sold bundle, but did not update the inventory per product. If you sold a bundled product also as a bulk-version, then the system used two different products. If you updated the price of the bulk version, nothing changed on the bundles version. Not any longer! The new product bundles make real bundles of different existing VirtueMart products. They can be included for free or also as variants with an extra price. The prices can be a fixed amount or a percentage. So it can also be used for cross-selling and discounts.
Extra related product groups
are also used for cross-selling or presentation of complementary items. They are basically the same as the default related products, but can have another title and appear somewhere on product details page.
Better search with tags
Enhanced search using the customfield searchable tag system. Searching for more than 1 tag now displays only products fitting to any requested tag..
Keep cart content for guests
Added storing of carts for unregistered users as a cookie. This works only for SSL secured pages.
and more
- really a lot work on caches (internal, external), table indexes and other optimisations.
- additionally general work to please the JED Checker.
- option to display thumbnails to select children of multivariants.
- different email layouts by order status to enhance the customer communication.
- you can create a category menu item which clears the cart by category.
Changes for developers
ATTENTION: Triggers are case sensitive in joomla 4!
Changed triggers:
- plgVmOnStoreProduct($data, $plugin_param) changed to function plgVmOnStoreProduct($data, $plugin_param, $key)
- plgVmonSelectedCalculatePrice to plgVmOnSelectedCalculatePrice (lower to upper case)
- in calculation plgVmOnDisplayEdit to plgVmOnDisplayEditCalc
new triggers
- product and order model, added new trigger plgVmMySortSearchListProductsQuery respectivly plgVmMySortSearchListOrdersQuery in exeSortSearchListQuery which is at begin and can takeover the whole function (for searchplugins)
Plugin Handler
- Added vdispatcher.php as proxy for the joomla dispatcher
- We can use now $results = vDispatcher::trigger('event', array(param1, param2,...));
- the directTrigger can now execute a certain event of a plugin family, too.
- added function reloadPlugins, which loads again the payment/shipment methods of the plugins. The cart unloads them, if they do not fit, 3rd party developer can reload them, that way.
Technics
- setConvertDecimal for plugins, tables
- set datefields for tables
- $this->_genericVendorId = false prevents that the tables sets the virtuemart_vendor_id generically
- added extra parameter to vmuploader so that it works also with other input names
- the product model sortSearchListQuery is now working with an extra parameter, which can override an "Request" variables. So using old vRequests parameters is just used as fallback now.
- function getProductListing is now using request params only for the group "products", not for the other groups like featured, recent, topten, and so on
- vmecho again a bit enhanced, if debug is activated vmInfo are quequed as vmdebug (so the messages appear in the real order)
- field products, added a category filter
- changed ajax js for dynamic page reload, a ready script in the layout is not needed anylonger
- added cart functions getCartWeight and getCartQuantity
- removed the problem that a delivery note created an invoiceNumber
- Time of the calculationHelper considers offset
- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 39407
We know you are all expecting VirtueMart 4 for Joomla 4 to be released soon. We are almost there. Our new version is being tested daily in various test environments and most features are working to our satisfaction. So well, in fact, that the first VM testers are planning to go live with smaller stores soon.
VirtueMart 4 Update Procedure
Upgrade or Migration? Don't worry, the changes in Joomla 4 are substantial in some areas, but we have made sure that you can update from VirtueMart 3 to VirtueMart 4 like a normal update, mostly with just a click of a button. We can provide you with an installation package that is compatible with Joomla 3 and Joomla 4.
VirtueMart 4 loves Testers
Saxonian Swizz Lilienstein, Copyright Max Milbers
Next Release
We will soon provide a new version, even if it is not yet fully perfected for Joomla 4, as we have also made many enhancements for existing VirtueMart stores with Joomla 3.
When to Update?
Joomla 3.10 is officially supported until August 17, 2023. So there is no need to rush to update to Joomla 4 immediately. Joomla 4 is still a new software, so we recommend to wait a bit with live store updates until the community has fully tested Joomla 4. New software always tends to have some bugs that need to be discovered and ironed out in the beginning.
Help Joomla 4 and VirtueMart 4 by testing in your test environments.
We expect that late spring 2022 will be a good time to update the first live stores without any problems.
- Details
- Written by: Valérie Isaksen
- Category: Latest News
- Hits: 32524
Here are some words by the leader of VirtueMart (Max Milbers): These are ambivalent times. On one hand life changed completly for most members, on the other hand it offers new opportunities. In my case, I am currently very busy with the lockdown problems. Literally getting a simple screw is suddenly a big time consuming problem. Politics divide people and business. I got indirect questions, asking if VirtueMart is going to take measures concerning it's 'political correct use'. When I joined VirtueMart, my goal was to create a free shop system for the people. VirtueMart is a free Open source system for anyone. No community member can controll, what you sell with it. It is not our responsibility. Personally I believe in the good will of people and that no one should judge about others without walking in their shoes for a while. We, the VirtueMart communtiy, have members all over the world. Let's keep it that way!
Now back to VirtueMart. We tried already a year ago to create a new admin template. This time our team member Valerie Isaksen of alatak.net broke through the obstacles and lightend a new fire for the new administrator template. The old template will be later merged into the new template and provided as style, or theme (it won't be exactly the same). The new admin template is currently provided as backend template. Updaters should use our package (use the big blue download button) to get the new admin template. You can just install the package over your current installation. It ensures that you get also the latest tcpdf and vmbeez. But you can also extract it and install the vmadmin.zip. This way ensures that the changes in the backend template do not interfere any productive installation.
Updated administrator interface template design
A new administrator template is available for testing which improves mobile and desktop appearance and usability for shop administrators.
Modern icons are used to represent key features and give the interface a cleaner appearance.
Feedback tells us that the rich core features and configuration flexibility remain a core aspect of why VirtueMart is a great choice for Joomla ecommerce.
This is therefore a template UI update and not a complete redesign of administration pages. Shop owners will still find their business information and configurations in the same place.
A small number of configuration screens have had their look slightly modified using icons and give a more consistent alignment of features/fieldnames with input/selection.
DOWNLOAD VM3 NOW
VirtueMart 3 component (core and AIO)
Highlights
- Sidebar
- Cleaner look and feel toggle functionality.
- Is hidden completely and available via slide or overlay toggle in all views - giving more space for information to be displayed
- Mobile/Tablet:
- List displays for the majority of VM administration functions now wrap effectively.
- Function selections (filter/search) are shown correctly.
- Alignment of fieldname with selection/input facilitates easier desktop viewing and significantly improves UI on Mobile/Tablets.
- General
- General improved use of icons.
- Cleaner tab selections for multipage configurations.
- Simple radio yes/no selectors now align with Joomla UI look and feel.
- Image view and upload - small design change improvement for Products/Categories/Manufacturers and Media.
DOWNLOAD VM3 NOW
VirtueMart 3 component (core and AIO)
New features, enhancements, fixes
Enhanced or new
- Skrill payment update
- Removed shop is offline feature. Added instead a link showing better possibilities todo that (Using joomla or catalog mode).
- Restriction for shipment/payment byCoupon
- Extra order note. Just a simple note for orders for internal use.
- Order list searches now also for the customer_note and order_note
- Order list now also filterable by vendor
- New options of storing carts (currently per hidden configuration)
- #CartsDontSave = 0 //dont store carts for logged in shoppers
- #CartsDontSaveByshoppergroup=50 //dont store carts for shoppers in this shoppergroup
- #CartsDontSaveCartFields=1 //dont store cart fields when storing a cart for a shopper
- Order model function getOrder loads now the whole data of an order status (interesting for templaters)
- Multiple category filter for product list in the backend. Disabled by default, currently you can enable it by hidden config AllowMultipleCatsFilter=1
New for developer
- new pattern if an array is given, and we need the first item then we use now reset and not the 0 item.
- New Trigger in storeProductCustomfields, for removed customfields.
- Added "andWhere" function to parameter to VmTableXarray load function, added function loadOrderingCurrentItem
- VmTable cleaned ordering, added function loadOrderingCurrentItem
- PHP 8 compatibility, bugs may still occur.
Fixes
- Ordering for products
- All nasty warnings like "Warning: Parameter 1 to plgVmShipmentWeight_countries::plgVmOnSelectCheckShipment() expected to be a reference, value given in /var/www/vhosts/..../libraries/joomla/event/event.php on line 70"
- time for coupons is from now on not "NOW" but "timestamp_utc"
- Fix for 1054 Unknown column 'Array' in 'where clause after update to 3.8.6 http://forum.virtuemart.net/index.php?topic=145855.30 Fix for ordering of products if products of subcategories shown
- The order detail links in the email consider the case, that neither guest link, nor registered is set
- Feature that registered users must activate themself
- getUserInfoInUserFields getting the right joomla user data per given id
- Missing cart error message in js
- Missing '' for constant VMPATH_ROOT in installer script
- Removed useless \n in Sample shop decription
- getVendorAddressFields when a administrator and vendor edits another vendor.
- category model calls to clearCategoryRelatedCaches
- language of shipment plugin in order view
- added chosenDropDowns in cart default shopperform
- little fix for custom cartlayout
- Copyright years updated, renamed variables and other minors
- fixed a lot warnings of the type "Deprecated: Required parameter $isSite follows optional parameter $selectedCategories in /var/www/vhosts/.../administrator/components/com_virtuemart/helpers/shopfunctions.php on line 652". So we are already prepared for PHP8.
- Details
- Written by: Max Milbers
- Category: Latest News
- Hits: 20955
A new XSS was found by 4N_CURZE (https://www.openbugbounty.org/researchers/4N_CURZE/). It took a while to reproduce it, because it was caused by the manufactuer dropdown, which is not always activated. The problem itself was easy to fix, although the value was whitelisted everywhere else, it was missing for the manufacturer drop-down list.
Since the previous release some features got added. The long desired multicart system got implemented. Multicart means for a multi-vendor shop, that there is an extra cart for each vendor. So when a customer buys products from different vendors he needs to do a checkout for every vendor. This system is very interesting for real marketplaces, which offer products of different vendors.
Another nice new feature are payment/shipment restrictions by coupons. This can be used to offer customers other payment methods over the phone, such as bank transfer for example. Or it can be used for marketing campaigns like "use this coupon to get free shipment".
The textinput plugin can now be used for mandatory text, as we have introduced a required characters check. iStraxx contributed the toggleCartButton.js with MIT license for the required characters check.
StAn of RuposTel has provided a useful overhaul of the VirtueMart recaptcha system. It now works according to the new Joomla standards and works with any joomla captcha plugin. Read more about this on docs.virtuemart.net
DOWNLOAD VM3 NOW
VirtueMart 3 component (core and AIO)
Multivendor:
- Added MultiCart system
- Cart module, replaced link to cart against button, old links should still work
- Vendor dropdown for Categories.
- Added the feature that subvendors can check orders, but only if at least one product of them is on the order.
Extended features
- Added shipment/payment restriction by Coupon
- Added required chars to the textinput plugin
- Added layout orderdone for weight_countries plugin, which can be used to override the standard output
- Added a warning to the vmconfig if the price config is overwritten by shoppergroups.
- Product edit view and model, added filter for published/unpublished, added searching of products in multiple categories
Language:
- Added VM config setting ReInjectJLanguage, which replaces the Joomla JLanguage object with VmLanguage
- Update for the VirtueMart System Plugin, for multilanguage as it may be useful to load the VM config always first
- Replaced $languages = JLanguageHelper::createLanguageList against $JLanguages = JHtml::_('contentlanguage.existing')
Security:
- XSS leak fixed in manufacturer dropdown
- Recaptcha Overhaul by StAn of RuposTel
Payments:
- PayPal refund configuration option to prevent VM generating a request for PayPal refund
- Small paypal enhancement, inspired by RuposTel and written by Quorvia
Development:
- category model added function getChildCategoryListObjectByCachedOption which is now used by getChildCategoryList and getChildCategoryListObjectByCachedOption
- function getSafePathFor can now be used to create any kind of subfolder
- custom model, directTrigger for plgVmDeclarePluginParamsCustomVM3 and plgVmGetTablePluginParams vmplugin.php enhanced function declarePluginParams
- Fixed customfield model cache. We load now always all attributes and cache that. and we use directTrigger for plgVmDeclarePluginParamsCustomVM3
- user model, added cache
- user model, set the function "setId" to deprecated. The use of the internal id as pointer is useless. The function getUser should now be called with id, but usese as fallback the old $this->_id construction
- userfield model added JPluginHelper::importPlugin('user'); to the getUserFieldsFor function
- iStraxx added the toggleCartButton.js with MIT license, need for the textinput required letters.
- Invoice, the product is always reloaded to create the item.
Fixes:
- Small fix for coupons using the correct language
- Fixed that Calculation rules were not including the given end day, because the hours and seconds were not set
- added registration of Vm Controller and View to massxref.php
- vmTable warning if a key of the params is accidently empty
- Added _genericVendorId to vmtable and fallback
- tables/order_items.php added the very important $this->_genericVendorId = false to fix virtuemart_vendor_id of order items.
- Updates for the joomla fullinstaller
- little fix for updatesmigration in case of multivendor store
- little fix for the tableupdater to prevent notice.
- important fix for the backend user view to ensure that the correct addresses are loaded.
- fixes for tcpdf to work on higher php versions
- fixed function updateCategory for the xref data
- fixed tooltip in config (check for existing lang key did not work the old way anylonger)
- mail_raw_pricelist.php replaced $item->product_final_price against $item->product_subtotal_with_tax