News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Recent posts

#21
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/.
#22
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

#23
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();
}

#24
Administration & Configuration / Re: Product images ordering n...
Last post by p.barg - September 17, 2026, 12:29:33 PM
I can confirm this bug.
#25
3rd party extension / Re: Multipurpose Responsive Vi...
Last post by waqar@wimoffroad.com - September 17, 2026, 02:04:23 AM
Hi 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.
#26
General Questions / Separate prices for countries ...
Last post by ukfish1 - September 15, 2026, 16:04:08 PM
Hi

Virtuemart 3.4.0

We only offer deliveries to the UK (England, Wales, Scotland and Northern Ireland) but need to be able to set a separate shipping rate for England, Scotland and Wales and one for Northern Ireland.

Is this possible ion this old version of VM.

I believe it is possible to use States rather than Countries but can't seem to find how to enable this.

Thanks

Paul
#27
OP already said it's not yet fixed. Besides RCE is much more serious than missing CSRF tokens. This could be another Sourcerer/Helix/JCE type disaster if not fixed ASAP.
#28
3rd party extension / Re: Responsive Joomla 5 and J...
Last post by Jumbo! - September 15, 2026, 02:09:17 AM
That's great. Thank you for the update.
#29
General Questions / Re: Is VM 4.x in a good state?...
Last post by PRO - September 14, 2026, 17:31:18 PM
I have been using it for a long time.

Install a test domain and work through any changes you need.
#30
this one?

Token validation

    Token checks added to backend controllers and frontend forms. Unauthorized form submissions are now rejected.