This release is now ready for all our VirtueMart users.

Due to the wide ranging changes we have made to underlying core functions and the removal of old VirtueMart and Joomla compatibility (which was weighing things down and slowing future developments), we have taken more time putting this release together than usual. Initial feedback from our beta testers has shown us that it has been worth the extra effort and time that it took.

Here are some highlights:-

Improved core - VirtueMart core now benefits from using the Joomla classloader providing a more performant and more failproof method for classloading (classes are registered automatically and loaded if need.)

Ready for Joomla 3.9 - The core is ready for Joomla 3.9 and we expect that it will be relatively simple and fast to adapt for Joomla 4

PHP 7.2 - compatible - VirtueMart 3.4 is now php7.2 compatible, users can now benefit from more secure and faster PHP versions.

Javascript updates - We started to rewrite the javascripts to use data-vm instead of classes or ids - fallbacks are provided.

VirtueMart Package improvements - This now automatically installs the VirtueMart Core, AIO, vmBeez3 template and the TCPDF. The installers within the package can still be used individually for those not requiring the full installation.

Next release in progress - Expect to see two new payments, eWay and PayPal's “Smart Buttons”. A new template option which loads for example layouts with a bs4 prefix allows us to develop a completely new frontend template, whilst keeping backward compatibility. We are also planning for a new backend template, for which suggestions are welcome in the forum.

Enhancements

PHP 7.1/2 support

  • Encryption and decryption with openssl for PHP 7.2 compatibility.

Order model changes

  • New trigger plgVmOnUpdateSingleItem.
  • Extra variable $inputOrder to the old triggers plgVmOnUpdateOrderShipment and plgVmOnUpdateOrderPayment.

Products

  • New feature "maximum products", "maximum customers" per vendor and "force product pattern".
  • Product is loaded for an order even when unpublished.
  • New filter for customprototypes in the product listing.
  • Products can be assigned a fixed Canonical Category – useful where a product is in multiple categories and the category name forms part of the product URL - product_canon_category_id.
  • Admin product list - A bulleted list for categories is now shown.  Canonical category is highlighted.
  • Product model, getProduct, customfields are always loaded.
  • For FE search of items - the product model no longer replaces the search character “-“ with “%”.
  • Table change to products_language tables, “product_desc” now set as Datatype “text” (no varchars any longer).

Customfields

  • Admin feature to transform a set default list of "S" customfield to another and updates the values in the products that use the transformed customfield. transformSetStringsList.
  • Customfields can have the same name using a hidden configuration “unique_customfield_titles” to disable “unique names”.
  • New submenu to Joomla to the customfields list.
  • New method to calculate the variant price inside the function "getProductPrice" just using TRUE for the second parameter instead of a float 

Currency handling

  • Calculation of net price rounds final price first (prevents wrong inputs) – calculatorH.
  • CurrencyDisplay roundForDisplay we round first before we multiply by quantity (as in the calculator), but not in Rappenrounding mode.
  • Rounding in CurrencyDisplay uses "round only display config".
  • Small change of rounding in currencydisplay using a different currency.
  • New option shared to currency admin views. (Program logic is maybe not complete).

Image handling

  • Images createThumb is only executed, when file not available. Forcing of thumb creation is done by deletion.
  • Search for unused media in admin.

User switch by admin FE

  • New hidden config switches:
  • ChangeShopperAlsoUseAdminShoppergroups - Add the shoppergroups of the logged in Admin user to the “switched” user’s shoppergroups.
  • ChangeShopperDeleteCart - When a user is chosen by the admin – the cart contents are cleared – prevents accidental inclusion of cart items.

Orders and checkout

  • Cart handling a change of the quantity is included in the popup and as extra warning message in the cart.- checkForQuantities changed vmInfo from vmWarn.
  • The layout ‘padded’ has a small update to show all quantity warnings in the popup.
  • products can use html classes in the cart item row
  • Checkout user data is stored, even when the userfield validation fails (the validation is for the checkout process).
  • Some work on the $cart->orderdoneHtml = $html; thematic (in vmpsplugin.php).
  • Admin Order list, more intuitive sequence for the columns.
  • Order editing will only store a Ship To address when STsameAsBT is empty.  New order variable- STsameAsBT.  With a new checkbox to control the addition of a ST address in order edit.

General

  • Added JRoute to action of the user edit form in FE.
  • Added filter vendors to user list.
  • Captcha for vendor contact form.
  • Shop configuration for FE views "set bootstrap layout version X", which adds a prefix for example bs2- for loaded layouts.
  • Added function "alt" to vmText.

Modifications

  • Important update for VirtueMart System plugin. It tries to load the configuration file of the installer and not the already installed one.
  • Exchanged hard coded string against vmText.
  • Spaces to Tab and indentation.
  • Replaced all id="vm. with id="vm-
  • Moved the js validation and setting the chosen dropdowns to required in an extra file.
  • Removed double id="reg_text", replaced with “class.
  • Language string change in de-DE.com_virtuemart_config.ini and en-GB.com_virtuemart_config.ini.
  • Removed mootools from vmbeez3 template.
  • Added plugintype vmextended to whitefilter of controllers/plugin.php.
  • Membership checker shows error in ajax request (simpler to debug).
  • Added JRoute to product link in sublayout products.
  • js using data-vm="product-container" instead of classes, fallback provided.
  • js now uses data-vm, all dependencies to classes will be removed soon. Fallbacks provided.
  • vmpsplugin.PHP methods which cannot be selected are now unset from the array of available methods.
  • vmplugin function _getLayoutPath is not public and static.
  • getMyOrderDetails, changed unused 3rd parameter. It sets now if the config should be considered for ordertracking. Some 3rd parties need it.
  • New fallback for product customfields, when the cart is loaded and had no data in the session.
  • Changed reload=1 attribute to data-reload=1 (with fallback in js for the old reload=1).
  • Changed activation text in registration email, when set to "activation by administrator".
  • prepareViewForMail now uses the generic controller, not a specific one (could make trouble with Admin and FE controllers having the same name).
  • Cart helper checkAutomaticSelectedPlug, when no method is available the method_id is set to 0.
  • Files of extensions are directly copied from temp directory to the correct place.
  • Product_name is now handled in the controller as the other special input fields and follows the ACL for writing raw/HTML or just normal text.
  • Added to getInstance of the calculationHelper the parameters vendorId, countryId and stateId.
  • Test for country/state improved. Added differentiation between valid and require.
  • Improve performance of calculationHelper function setCountryState using a new pattern to load the country and state of the registered user.
  • Added hidden feature, "directCheckout", which directly starts the checkout process with redirect

Fixes

  • URL of currency_converter/convertECB.php must use https now.
  • Cart object small fix which prevents overriding of $customProductData, when trigger plgVmOnAddToCartFilter is used.
  • Important fix for correct order status for order history.
  • Important fix for order editing was causing wrong calculation results - replaced product_item_price for product_discountedPriceWithoutTax for calculation of the subtotal.
  • Checkbox cartfields are now correctly stored in the order.
  • Fixed return value of function CreateOrderHead http://forum.virtuemart.net/index.php?topic=140616.0.
  • Added $view->mediaToSend = array(); in function sendVmMail to prevent sending of cached medias in order status update emails.
  • Fix for order_status vs order_status_code.
  • heidelpay, small fixes and changes.
  • PayPal hosted, fixed currency.
  • PayPal hosted payment iframe little catch for EMAILLINK – handles no PayPal response.
  • Standard payment: fix in tmpl.
  • Standard payment: update order status now happens before orderdone view rendering.
  • eway: fix the CVN in case of cart saved fix invoiceDescription.
  • authorize.net plgVmOnShowOrderFEPayment changed to public http://forum.virtuemart.net/index.php?topic=133563.msg492466#msg492466.
  • Fix in config.php typo in JLoader::register, creditcart.php to creditcard.php.
  • Correct storing of customplugins.
  • plgVmOnStoreInstallPluginTable of specification plugin.
  • Links to shoppergroups in ship-/payment methods listing.
  • Text in Virtuemart Search Module doesn't clear  https://forum.virtuemart.net/index.php?topic=139961.0.
  • Small fix in admin product edit, which prevents removing the categories if a product is stored before the category tree was loaded.
  • Problem with not loaded parent categories in product detail.
  • Minor errors and typos (for example a note thrown cloning a product (thx Patrick K.).
  • Category cache.
  • Sublayout customfield used duplicate keys.
  • Corrected small typo in en-GB.mod_virtuemart_product.ini.
  • Fixed some Language translation issues.
  • Updated de-DE.mod_virtuemart_product.ini.
  • replaced JFactory::getLanguage against vmLanguage::getLanguage.

Minors

  • vmstore template foundation.
  • Added deletion of Media synchronization progress, when finished..
  • Removed old VM_VERSION (j2.5 compatibility).
  • Removed more DS, also for paths, added vRequest::filterPath().
  • Joomla Fullinstaller.
  • Removed unused files.
  • Replaced old JError against exception.
  • Added missing license notes.
  • Some old JRaiseError, JREQUEST_ALLOWHTML (also from old comments).
  • Removed unused error reporting(0); in Admin/views/orders/view.raw.php.
  • Removed old if !class_exists require's.
  • Install script.virtuemart.php removed old j1.6 legacy.
  • PayPal updated xml field to vmfile to vmfiles.
  • Updated vmbeez install file using the method "upgrade".
  • AIO installer replaced is_dir against JFolder::exists to prevent false positive error message.
  • Removed some more DS, the remaining DS are meant for realpath, which could be outside of the webfolder.
  • Textinput plugin, removed old trigger.
  • vmuploader, failing the joomla upload filter returns false.
  • Enhanced message when no vendor currency is defined.
  • Removed unnecessary language keys. Languages keys which are used in a special language file should never appear in the default component language file.
  • Package installer: added fallback in vmplugin to get the xml file from the default folder in case the temporary install folder fails.
  • Package installer: added check in updatesmigration.php if xml is available.
  • Use an internal variable html, to display the messages. It is echoed for normal install and put in the Request for package install.
  • Added template to package.
  • Updated js of the template.
  • Vendor list is now sending the form and ordered by name.
  • Changed function getUserList using user_is_vendor instead of is_vendor.

TCPDF

  • Moved tcpdf files to libraries/vendor/tecnickcom/ and libraries/src/Document following the new file structure of Joomla.
  • Now also deletes the old "libraries" folder in the be folder in case it exists.
  • Removed old j2.5, j1.6 stuff and DS.
  • Replaced DS for /.
  • Fixed wrong path in getTCPDFFontsList.
  • Fixed typo in vmpdf.

Work in progress

  • Vendor model another idea to handle a multicurrency store (would mean to create invoices in the user selected currency).
  • Better refund of invoices

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.