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

#1
Mkay... I created an empty vm-bs5-common.css in my templates css folder...

Sure my css is no longer overwritten by VM, but now there's always an empty file loaded!
If we only had an option that can enable/disable loading of VM CSS files... [sarcasm OFF]

Anyhow, before we go around in circles, this will do (for now).

Any plans for VM5 to use Joomla's asset manager (joomla.asset.json)?
So I can use $wa->disableStyle(); in my templates to disable the unwanted VM style.
#2
General Questions / Re: Multi-upload does not acce...
Last post by iWim - Today at 11:19:59 AM
Check in Joomla's Media options if jpeg is listed in Allowed extension and Legal Image Extensions (File types).
#3
Hello  :P

 I have Joomla version 4.4.14 and VirtueMart version 4.6.11214.
Everything was working fine.
I received a notification for an update to version 4.6.2, which I installed.
 Then another notification appeared: version 4.6.4. So far, so good.
 On Wednesday at 3 PM, sales were going smoothly, no problems.
But then, strangely, yesterday at 6:40 PM, I got an "Invalid Token Cart" error.
 And it keeps happening.
 I tried changing the PHP code and setting limits, but to no avail.
I reinstalled version 4.6.4, but the problem persists.
I read Milbo's message, applied the token plugin, but nothing changed.
I also applied the command line in the template, but nothing changed. And all four suggested solutions failed.
Impossible.
I had to revert to version 4.6.11214.
And everything has been fine since then.

What's so strange about this, considering it worked for only 24 hours?

Please guide us in resolving this, because I'm sure I'm not the only one.

Thanks for all in advance
David

#4
General Questions / Re: Multi-upload does not acce...
Last post by Ghost - Yesterday at 10:33:37 AM
Nothing to do with GD. jpeg and jpg files are exactly the same - JPEG images. You can rename your jpeg files to use jpg extension and they'll work just fine. But any code handling JPEG images should handle both extensions so this should be fixed in VM. in sublayouts/image_upload.php file try adding jpeg to this list:

allowedTypes:'gif,jpg,png,wbmp,webp,svg,doc,pdf,zip',
#5
Development & Testing / Re: search by categories in mo...
Last post by Milbo - Yesterday at 08:08:16 AM
Thank you, added.
#6
General Questions / Re: VirtueMart 4.4.x – Checkou...
Last post by psm - November 12, 2025, 16:13:41 PM
I tried also new installation of joomla and virtuemart but still the same. I do not understand it. It is on two different joomla systems on localhost and also on my hosting and different version of VM and Joomla. :-\  :-\  :-\
#7
Virtuemart Development and bug reports / Re: Coupon code not working pr...
Last post by Kuubs - November 12, 2025, 09:37:58 AM
I made a small plugin that fixes this issue. I added this to my ajax cart plugin so thats why its called the way it is.

plugins/system/vmcartajax

vmcartajax.php
<?php
defined
('_JEXEC') or die;

use 
Joomla\CMS\Factory;
use 
Joomla\CMS\Plugin\CMSPlugin;

class 
PlgSystemVmCartAjax extends CMSPlugin
{

    public function 
__construct(&$subject$config = array())
    {
        
parent::__construct($subject$config);

        if (
version_compare(JVERSION'4.0.0''ge') && method_exists($this'registerLegacyListener')) {
            
$this->registerLegacyListener('plgVmOnUpdateCart');
        }
    }

    public function 
plgVmOnUpdateCart(&$cart, &$force, &$html)
    {
        
// Reindex cart products to ensure sequential keys starting from 0
        
if (isset($cart->products) && is_array($cart->products)) {
            
$cart->products array_values($cart->products);
        }
    }

    public function 
onAfterInitialise()
    {
       
    }

    


}

vmcartajax.xml
<?xml version="1.0" encoding="UTF-8"?>
<extension version="3.9" type="plugin" group="system" method="upgrade">
    <name>VirtueMart Ajax Cart / Reindexer plugin</name>
    <author>YUZI</author>
    <creationDate>2025-10-28</creationDate>
    <copyright>(C) 2025 yuzi. All rights reserved.</copyright>
    <license>GNU General Public License version 3 or later</license>
    <authorEmail>info@yuzi.nl</authorEmail>
    <authorUrl>www.yuzi.nl</authorUrl>
    <version>1.0.0</version>
    <description>Gets Ajax Cart and reindexes cart contents.</description>
   
    <files>
        <filename plugin="vmcartajax">vmcartajax.php</filename>
    </files>
   
    <config>
       
    </config>
</extension>


#8
Same problem : Coupon code not operate since upadate.
I just created a discount code in a category. When items are added to the cart and the coupon is added, the popup bar spins indefinitely. The Chrome console shows a 303 error (looping redirect). I disabled admintools just in case, but the problem persists.
#9
General Questions / Re: No more sales after URL ch...
Last post by ThijsE6 - November 11, 2025, 18:55:28 PM
Hi,

Thanks for your response. The products are divided into categories such as "men/men-winter-caps/classic-men-winter-caps" and "women/women-caps/...". Even though these were on the first level, I was still able to add "/webshop" in front of /women and /men using a 301 redirect. This worked, and the products have now been approved by Google Merchant Center.

I'm also in contact with Google, and they advised me to give it about a week so all changes can be properly processed.

I'll keep you updated.

Thijs
#10
General Questions / Re: VirtueMart 4.4.x – Checkou...
Last post by psm - November 11, 2025, 15:23:25 PM
Hello Milbo,
when I disable "Use current shop template overrides", it still behaves the same.

When I click for example on the "Same as Billing" button, I can see this in the console:

POST ../cart?tmpl=component&task=checkout&redirect=0

and then the whole page refreshes again instead of updating via AJAX.