News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#1
Coding Central / Add option to exclude shipment...
Last post by razor7 - Yesterday at 03:13:33 AM
Hi!

I'm proposing a little change in the standard payment plugin order to document the way to be able to exclude shipping from payment discounts.

In a client's website, it asked me to exclude shipment from payment discount so I decided to code the solution in the standard payment plugin in order for other developers to grab the correct code if they want to implement it in their projects.

The new exclude_shipment option on the standard payment plugin makes the fee or charge apply only to the products (and coupons) of the order. setCartPrices zeroes salesPriceShipment before the base calculation and restores it afterwards, so the shipment cost stays untouched in the rest of the checkout. Default off keeps the previous behavior.

Attached is the patch against SVN 11586.


#2
3rd party extension / Re: Mollie for VirtueMart
Last post by NorrNext - October 12, 2026, 10:50:44 AM
Quote from: vmfyelloq19 on February 04, 2026, 12:39:45 PMOne month now, no answer to support ticket at iStraxx / Virtuemart, no reaction from NorrNext here. Very disappointing.

Dear @vmfyelloq19,
We are terribly sorry about this situation. We fully understand how you feel, and your frustration is completely justified.

Unfortunately, we did not receive any notifications about your messages.

1. Forum notifications

I have just checked the settings for this topic, and "Receive emails and alerts" is enabled. However, we have not received any emails from the VirtueMart forum this year, not even in our spam folder.

This is why we did not respond to your forum messages: we never received any email notifications about them. I only noticed your messages by chance.

2. VirtueMart Marketplace ticket system

We expected support requests submitted through the VirtueMart Marketplace ticket system to be forwarded to us by email. Unfortunately, we have not received any such emails either.

This may be related to an email delivery issue affecting notifications from the VirtueMart infrastructure.

What we are doing to resolve this situation:

1. We have reported both issues to the VirtueMart team.
2. We will update our product pages to explain how to contact us directly for support inquiries.
3. We would like to offer you compensation for this inconvenience: we can extend your subscription by an additional year or provide a free one-year subscription to any of our e-commerce products.

If you would like to accept this offer, please contact us at support@norrnext.com

Once again, we sincerely apologize for this situation and thank you for your understanding.
#3
Hello,

Sorry Milbo I completely missed your reply  :-\ I'm still using the fix of HTMLHelper.php but I will try the solution your are mentioning. Is there a lot of file I need to edit?

Thank you and sorry again for the late reply
#4
Virtuemart Development and bug reports / Manufacturer filter not workin...
Last post by Ghost - October 09, 2026, 09:18:53 AM
Filtering top level categories by manufacturer doesn't work with SEO suffix disabled. This is because product model is initialized during routing before manufacturer ID is available:
https://dev.virtuemart.net/projects/virtuemart/repository/virtuemart/revisions/11315/entry/branches/com_virtuemart.4.4/components/com_virtuemart/router.php#L1627.
The model then sets empty/false value for manufacturer ID in populateState() method:
https://dev.virtuemart.net/projects/virtuemart/repository/virtuemart/revisions/11315/entry/branches/com_virtuemart.4.4/administrator/components/com_virtuemart/models/product.php#L196.

Models generally should not be reading input variables. Else the variables need to be reset to actual values. Or they can be passed explicitly, e.g. to sortSearchListQuery() here
https://dev.virtuemart.net/projects/virtuemart/repository/virtuemart/revisions/11315/entry/branches/com_virtuemart.4.4/components/com_virtuemart/views/category/view.html.php#L303

Using VM 4.8.2.11343.
#5
Installation, Migration & Upgrade / Re: Virtuemart 5 and Joomla 6 ...
Last post by iWim - October 06, 2026, 10:18:32 AM
Do not update a production site yet!
VirtueMart 4.9.3 is a beta (from April 2026). You should use betas only for testing.

If you do wish to test VirtueMart 4.9/5, install a copy of your shop locally.

- Use WAMPServer/MAMP to create a local server on your computer.
- Create a backup of your shop with Akeeba Backup.
- Use Akeeba Kickstart + your backup to install your shop locally.
- Do the updates on the local copy.

This way you'll know what to expect during an update and if there are any issues that needs your attention.
And if something does go wrong, reinstall the backup and start over.
Your live webshop will not be touched and continues to work as it does now.

What I do recomend for now is to update to VM 4.8.4.
(Maybe do that locally first too: it's always good to test updates first.)

For now wait until the actual release of VM5.
And even when it's released, test the update on your local test site first!
#6
Installation, Migration & Upgrade / Virtuemart 5 and Joomla 6 migr...
Last post by alxgan - October 05, 2026, 20:01:31 PM
Hello,

I will like to migrate both Joomla 5.4.9 with Virtuemart 4.6.8 to Joomla 6 and Virtuemart 5.
Is there an order to this?
Should I just update Virtuemart with com_virtuemart.4.9.3.11254_package_or_extract.zip and after that update Joomla? Or first Joomla and then Virtuemart?!
Any good advises with this process?

Thank you
#7
Quote from: PRO on September 14, 2026, 17:27:53 PMToken checks added to backend controllers and frontend forms. Unauthorized form submissions are now rejected.


No, guys, it is not about token.
Thanks for token implementation, anyway.
Please, provide any information about your core-team affiliation, and i'll share RCE to you
#8
3rd party extension / Re: Multipurpose Responsive Vi...
Last post by Jumbo! - September 22, 2026, 20:51:16 PM
Quote from: waqar@wimoffroad.com on September 17, 2026, 02:04:23 AMHi Jumbo,

I'm in trouble and need your help. I'm currently using the VirtuePlanet Smart Template with VirtueMart 4.4.4 on Joomla 4.

My problem is with the category URL structure. I have created a main menu item and several sub-menu items, and I have linked my VirtueMart categories to these menu items.

However, the problem is that Joomla/VirtueMart is adding the entire menu/category hierarchy to the URL.

For example, my current URL is:

https://www.wimoffroad.com/online/wheels/atv-utv-wheel-brands/msa-atv-utv-wheels.html

Instead, I want the URL to be:

https://www.wimoffroad.com/online/msa-atv-utv-wheels.html

For this reason, I would like to link my VirtueMart categories directly to one main menu item without including all the parent menu/category names in the URL.

Is there a way to achieve this in VirtueMart 4.4.4 with the VirtuePlanet Smart Template and Joomla 4? Or is there another recommended solution?

Basically, what I want is for the URL to show only the final/active category name and the final product name, rather than the entire category hierarchy.

Please let me know the correct settings or configuration I should use.

Thank you.


Your site URLs are not connected to VP Smart or any template. Instead, Joomla and VirtueMart handle them directly. If you prefer not to include categories in your product page URLs, you can disable the "Use full category tree for product links" option in the VirtueMart Configuration.

Additionally, please note that this is not our product support forum. For any questions related to our products, please post in our support forum: https://www.virtueplanet.com/forum/.
#9
Frontend Modules / Re: VirtueMart Search Product ...
Last post by PRO - September 17, 2026, 20:20:35 PM
Search Filter Category to No. setting will do all categories, sel3ecting YES, will do current category only

#10
VirtueMart version: 4.8.2 build 11343
Joomla: Joomla 5.4.8
PHP: 8.2.33
Database: 10.11.18-MariaDB

Problem

In VirtueMart Configuration → Shopfront → Sort & Search, the Available Sort-by fields settings cannot be saved in an all-unchecked state.

I want to disable all customer-facing Sort-by fields.

There are currently five available fields:

Product SKU
Category
Manufacturer name
Product Name
Ordering

If I uncheck all five fields and click Save, the configuration initially appears to save, but after reloading the configuration page, the five fields are checked again.

What I found

The problem appears to be related specifically to the case where all checkboxes are unchecked.

When one or more fields are selected, the checkbox group submits a value for:

browse_orderby_fields

However, when all checkboxes are unchecked, no browse_orderby_fields value is submitted by the form.

The VirtueMart configuration save code then merges the submitted form data with the default configuration from virtuemart.cfg.

The default configuration contains:

browse_orderby_fields=array:\p`.product_sku|category_name|mf_name|product_name|pc.ordering`

Because the checkbox field is absent from the POST data when all boxes are unchecked, the default value remains in the configuration instead of being replaced with an empty array.

Database test

I verified this directly in the #__virtuemart_configs table.

After manually changing:

browse_orderby_fields=["p.product_sku","category_name","mf_name","product_name","pc.ordering"]

to:

browse_orderby_fields=[]

the VirtueMart configuration page correctly displayed all five Sort-by fields as unchecked.

This confirms that VirtueMart can store and use an empty array correctly. The problem appears to be that the configuration Save process does not explicitly clear the setting when the checkbox array is absent from the submitted form.

Version testing

I initially encountered this behavior on VirtueMart 4.8.0.

I subsequently updated the site to VirtueMart 4.8.2 build 11343, but the behavior remains the same.

I also checked the 4.8.2 configuration model and controller. The controller passes the POST data to the configuration model, and the configuration model merges the submitted data with the configuration loaded from virtuemart.cfg.

Expected behavior

If an administrator unchecks all Available Sort-by fields and clicks Save, VirtueMart should save:

browse_orderby_fields=[]

and the five fields should remain unchecked after the configuration page is reloaded.

Actual behavior

If all five fields are unchecked and Save is clicked, the default five fields are restored after saving.

Why this matters

This prevents an administrator from disabling all customer-facing sorting options through the VirtueMart configuration interface.

In my particular case, this also causes VirtueMart category pages to generate sorting URLs such as:

/shop/valves/control-valves/by,product_sku

/shop/valves/control-valves/by,category_name

/shop/valves/control-valves/by,mf_name

/shop/valves/control-valves/by,product_name

/shop/valves/control-valves/by,ordering

These additional URLs were creating unwanted URL variants for the site.

Workaround

The configuration can be manually corrected in the database by setting:

browse_orderby_fields=[]

After doing this, VirtueMart correctly displays all Sort-by fields as unchecked.

However, this should not be necessary. The administrator should be able to save the setting through the normal VirtueMart configuration interface.

Could someone from the VirtueMart development team please confirm whether this is a bug and whether the configuration Save routine should explicitly handle an absent browse_orderby_fields checkbox array as an empty array?

Temporarily Solution

In administrator/components/com_virtuemart/models/config.php

immediately before:

$config->_params = array_merge($config->_params,$data);
this:

if (!array_key_exists('browse_orderby_fields', $data)) {
    $data['browse_orderby_fields'] = array();
}