News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#41
Development & Testing / VM 4.6.8: Product Details menu...
Last post by Georgios Kolomvos - June 14, 2026, 11:26:47 AM
Environment
- Joomla 5.4.6
- VirtueMart 4.6.8 build 11258
- Multilingual site (EL, EN, FR, ES)
- Product Details Layout menu items associated across languages

Problem
When a Product Details menu item exists and is associated with corresponding menu items in other languages, VirtueMart appends the product slug to the generated multilingual URL although the menu item already uniquely identifies the product.

Example
Expected URL:  /en/product-menu-item
Generated URL: /en/product-menu-item/product-slug
The appended product slug is unnecessary and causes incorrect hreflang and language-switch URLs.

Investigation
After debugging router.php, I found that Product Details menu items are correctly detected using the $ismenue flag. However, the product slug is appended unconditionally:

if($virtuemart_product_id)
    $segments[] = self::getProductName($virtuemart_product_id);
This code executes even when a matching Product Details menu item has already been found.

Suggested fix
Replace:
if($virtuemart_product_id)
    $segments[] = self::getProductName($virtuemart_product_id);
with:
if(!$ismenue && $virtuemart_product_id)
    $segments[] = self::getProductName($virtuemart_product_id);

After applying the patch:
- hreflang URLs are correct
- language-switch URLs are correct
- no unnecessary product slug is appended
- products without Product Details menu items continue to work normally
#42
General Questions / Re: Deprecated: file_exists()
Last post by scottstreet - June 12, 2026, 20:03:13 PM
site still working. biotechequipmentsales.com

Product pages are OK.

But the deprecated file_exists() Passing null error appears in many places.

#43
Tell your host, or login to whm and enable them, its that simple
#44
General Questions / Re: Deprecated: file_exists()
Last post by PRO - June 12, 2026, 14:52:17 PM
have you turned off error reporting?

Do you see loss of function?
#45
General Questions / Deprecated: file_exists()
Last post by scottstreet - June 12, 2026, 02:37:34 AM
Joomla 5.4.3 VM 4.4.6 php 8.4.21


Instead of thumbnails, my category pages now display this:


Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /home/beqsaleshost/public_html/administrator/components/com_virtuemart/helpers/mediahandler.php on line 690

LIne 690 of mediahandler.php is

   if (file_exists($file_url_thumb) and !is_dir($this->file_url) ) { // Spiros


Not sure how to proceed.
#46
Hello,

I just updated to Joomla 5.4.6 and VM 4.6.4 11226 and getting this large red error:

QuoteEagle owl
Your SERVER does not support allow_url_fopen, nor cUrl! Registration process stopped. Please enable on your server either allow_url_fopen or cUrl. OpenSSL SSL_read: Connection reset by peer, errno 104

#47
Why in the heck does VM still use an old plugin which is not compatible with the Joomla updates?
I already had the same issue years ago.
Can't update to Joomla 5.4.6 because of this plugin.
#48
General Questions / Conditional Fields in VirtueMa...
Last post by sandomatyas - June 03, 2026, 11:01:50 AM
Hi,

When creating a standard Joomla plugin, form fields can use the `showon` attribute to create conditional fields. This is very useful for organizing settings, because some options are only relevant when another field has a specific value.

For example:

```xml
<field name="mode" type="list" label="Mode">
    <option value="simple">Simple</option>
    <option value="advanced">Advanced</option>
</field>

<field name="advanced_option"
       type="text"
       label="Advanced Option"
       showon="mode:advanced" />
```

In this case, the "Advanced Option" field is only displayed when the mode is set to "Advanced".

However, when creating VirtueMart plugins (for example `vmpayment` or `vmshipment` plugins), the fields defined in <vmconfig> do not seem to support the `showon` attribute.

Would it be possible to add support for Joomla's native `showon` functionality in VirtueMart plugin configuration forms?

I think it would make plugin settings much cleaner and easier to organize, especially for plugins with many configuration options.

Thank you.
#49
General Questions / Re: cancelation button
Last post by jflash - June 01, 2026, 08:04:35 AM
Here https://forum.virtuemart.net/index.php?topic=152528.msg544776#msg544776 is a similar post, but there are no answers yet :(
#50
General Questions / cancelation button
Last post by lotusblut - May 29, 2026, 22:09:53 PM
hi, we need a new eu-cancelation button in order mails and mail-template in order details in customer order link page

we pay it