News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#21
I have found a working solution here in the forum:

https://forum.virtuemart.net/index.php?topic=152434.msg544487#msg544487
#22
Same problem here. The pagination doesn't go back to the first page.

Joomla 5.4.2 and VirtueMart 4.6.6

EDIT: When changing the number of products per page it works once (only the first time going back to page 1) but after the problem appears again.
#23
General Questions / Image uploads: file_title corr...
Last post by Margriet - January 19, 2026, 11:59:30 AM
Hello,
I'm experiencing a systematic image upload issue with VirtueMart 4.6.4 on Joomla 5.4.2, confirmed across multiple independent installations on different servers/hosting providers.
Problem Description:
When uploading product images, the file_title field in the #__virtuemart_medias table gets corrupted by having a random number appended after the file extension.
Examples:

  • EM1B8765-2147x1006.jpg becomes EM1B8765-2147x1006.jpg_16467
  • P9140313.webp becomes P9140313.webp_2251 (media_id 2927)
  • SAM_3458.jpg becomes SAM_3458.jpg_1

Additional Issues:

  • file_is_product_image is incorrectly set to 0 instead of 1 on upload
  • file_url remains correct (no corruption)
  • Thumbnails generate successfully with correct filenames
  • Images display correctly on frontend despite the corruption
  • Backend media list shows the corrupted file_title

Environment:

VirtueMart: 4.6.4 (11226)
Joomla: 5.4.2
PHP: [8.3]
Confirmed on multiple installations, different servers and hosting companies

Database Evidence:
SELECT virtuemart_media_id, file_title, file_url, file_is_product_image
FROM #__virtuemart_medias
WHERE file_type = 'product'
ORDER BY virtuemart_media_id DESC
LIMIT 10;
Results show file_title with incorrect extensions and file_is_product_image = 0.
Temporary Workaround:
Running these queries periodically to fix corrupted records:
Fix file_is_product_image
UPDATE `#__virtuemart_medias`
SET `file_is_product_image` = 1
WHERE `file_type` = 'product'
AND `file_mimetype` LIKE 'image/%'
AND `file_is_product_image` = 0;

-- Fix corrupted file_title
UPDATE `#__virtuemart_medias`
SET `file_title` = REGEXP_REPLACE(`file_title`, '\\.(jpg|jpeg|png|gif|webp)_[0-9]+$', '.$1')
WHERE `file_title` REGEXP '\\.(jpg|jpeg|png|gif|webp)_[0-9]+$'
AND `file_type` = 'product';
Questions:

  • Is this a known issue with VirtueMart 4.6.4 and Joomla 5.4.2?
  • Is there a fix or update planned?
  • What could be causing the random number suffix in file_title?

Any guidance would be greatly appreciated. This affects thousands of product images across multiple stores.
Thanks in advance for your help!
#24
Hi,

I got a strange problem, that also appears on the Virtuemart demo:

https://demo.virtuemart.net/hurlex-shop/t-shirts.html

If you open this page and set the number of shown products to "3", the pagination will be shown. There are 3 products on the first page and 1 on the second page. If you navigate to the second page, the single product will be shown. However, it is not possible to go back to the first page again. The shop stays on the second page permanently.

If you have more pagination items like here

https://www.holz-liebe.de/holz-liebe-shop/miniaturwerkstaetten/malermaurer.html

you can navigate to page 2, 3, 4, etc. and navigate between them properly, but it is not possible to go back to the first page again. It happens in multiple shops, the demo page, etc. A fix would be very appreciated.

I am using Joomla 5.4.2 and VirtueMart 4.6.6.


Kind regards,
Tobias
#25
General Questions / widthdrawal button
Last post by p.barg - January 13, 2026, 15:12:51 PM
Hello,

From June 19, 2026, there will be the new obligation of a withdrawal button in EU shops.
Are there any plans to integrate a solution for this in upcoming Virtuemart versions?

Kind regards,

Petra
#26
Commercial Jobs / Need some help with my VM site
Last post by scottstreet - January 09, 2026, 01:25:47 AM

A recent update did not go well. And my backup is incomplete.

VM 4.4.6 11109
Joomla 5.4.1
PHP 8.1.33
GoDaddy hosting

I'm a neophyte, but have managed this site since 2009 with no problems.

Help!

1scottst at geemail dot commer please.

Scott
#27
Virtuemart Development and bug reports / Re: Coupon code not working pr...
Last post by Milbo - January 08, 2026, 22:34:35 PM
Great work Kuubs. I just added it the vm4 this way
// Reindex cart products to ensure sequential keys starting from 0 by Kuubs
if (isset($cart->products) && is_array($cart->products)) {
$cart->products = array_values($cart->products);
}

vDispatcher::trigger('plgVmOnUpdateCart',array(&$cart, &$force, &$html));

That should work like your plugin. And the info is in the core now and it can be enhanced later. Does that work for you?
#29
Virtuemart Development and bug reports / Re: Comma in alias
Last post by Milbo - January 08, 2026, 22:27:25 PM
Quote from: drejk on December 09, 2021, 11:03:29 AMSolution is to slightly modify a line in administrator/components/com_virtuemart/helpers/vmtable.php:

a) comment out line aroud line 1570 (add // in front) - this fixes links (this line shouldn't be there anyways. Btw. "$unicodeslugs" is practically the opposite of what it is called - it should be called "$transliterate" )
   //if($unicodeslugs)$this->{$slugName} = rawurlencode($this->{$slugName});

b) optional - if you want only alphanumeric characters, dashes and underscores add at next line
       $this->{$slugName} = preg_replace('~[^-a-z0-9_]+~', '', $this->{$slugName});



Do you mean this fix? I did not check it yet.So the problem is that you geht instead of the komma, a 2c? like here?
Get product alias "sample-product%2C-test".

sandomatyas I was not aware that the problme is not fixed.
#30
Virtuemart Development and bug reports / Re: [FIX] Use VirtueMart CSS +...
Last post by Milbo - January 08, 2026, 22:22:30 PM
Yes, that should be part of the new VirtueMart 5. And removing jQuery, it will be kept for extensions, but the core should run without. These are the two main parts left for vm5.