News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#1
Same issue.
VM 4.2.10 11010
Joomla 3.10.12

Drag and drop functionality and arrow keys to reorder products are not working.
There are no JavaScript errors in the browser console.

With Firefox, I can see a hand cursor when hovering over to drag.
With Chromium (based on Chrome), there is no drag icon or change in cursor.


#2
General Questions / Re: Order sometimes shows all ...
Last post by modernmagic - Today at 17:53:46 PM
ok, I have revised the config per your suggestion.  Thank you!

We will monitor to see if this happens again.
#3
General Questions / Re: vDispatcher::trigger dont ...
Last post by vdweb.cz - Today at 12:37:09 PM
Hi, but joomla plugin dont handle this triger plgVmConfirmedOrder

because in J4 trigers must start with "on" plgVmConfirmedOrder -> onplgVmConfirmedOrder


But this is about Virtuemart developers to fix that and rename all names:



They use this trigger in:
administrator/components/com_virtuemart/helpers/vdispatcher.php

static function trigger ($name, $params){

if(self::$dispatcher === null){
if(JVM_VERSION<4){
self::$dispatcher = JEventDispatcher::getInstance();
} else {
self::$dispatcher = JFactory::getApplication();
}
}

if(JVM_VERSION<4){
return self::$dispatcher->trigger($name, $params);
} else {
return self::$dispatcher->triggerEvent($name, $params);
}
}


$dispatcher->triggerEvent($name, $params); is valid php in J4 but problem is in name plgVmConfirmedOrder joomla dont start this triger withou prefix "on"

Do you understand?
#4
General Questions / Re: vDispatcher::trigger dont ...
Last post by Ghost - Today at 09:13:51 AM
You should either extend vmPlugin or manually register listeners in your plugin.
#5
General Questions / Re: Order sometimes shows all ...
Last post by fotonio - Today at 00:53:51 AM
The prices enter when you add the custom fields in the products details page.
#6
General Questions / Re: Order sometimes shows all ...
Last post by modernmagic - Yesterday at 19:49:50 PM
Quote from: fotonio on Yesterday at 19:18:54 PMHi,
In the custom field configuration in the Default value insert the colors separated with ;
white;black;red

and Is a list? select As admin list


If I change it to white;black;red how will I charge a custom price for certain colors?
#7
General Questions / Re: Order sometimes shows all ...
Last post by fotonio - Yesterday at 19:18:54 PM
Hi,
In the custom field configuration in the Default value insert the colors separated with ;
white;black;red

and Is a list? select As admin list

#8
Quote from: GJC Web Design on March 12, 2024, 12:56:42 PMtemp fix till this is in the core:

components\com_virtuemart\helpers\shopfunctionsf.php  ~ line 1256

currently

$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required'));
change to

$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required',null,null,null));

I tried this. The error goes away but now there is a text input box on the end of the form saying "recaptcha dynamic_" that will be confusing for the visitors.
#9
As Milbo wrote on November
QuoteBtw all Select. must be select. So just lowercase

So for VM 4.2.4 to work with Joomla 5.1 you have to replace using a text editor like Notepad++ 'Select.genericlist' with 'select.genericlist' in all files inside the virtuemart component files and vmadmin files.

No joomla core files need to be changed.
#10
General Questions / vDispatcher::trigger dont work...
Last post by vdweb.cz - Yesterday at 18:21:03 PM
Hi,
J: ‎4.4.4
VM: 4.2.8 11000


Plugins from folder plugins/system/* dont work with trigers

for example my plugin in J3 and VM 3.8 use this trigger function plgVmConfirmedOrder:

class plgSystemVD_matomo extends JPlugin {
function plgVmConfirmedOrder($cart, $order) {
//do something



in file:
components/com_virtuemart/helpers/cart.php
you have this:
$returnValues = vDispatcher::trigger('plgVmConfirmedOrder', array(&$this, $orderDetails));


but joomla J4 need system plugin triggers name start with "on"
soo if i want use plgVmConfirmedOrder in my plugin
correct name for this trigger must be: onplgVmConfirmedOrder

After that
you mast replace
$returnValues = vDispatcher::trigger('onplgVmConfirmedOrder', array(&$this, $orderDetails));

and in plugin use this
class plgSystemVD_matomo extends JPlugin {
function onplgVmConfirmedOrder($cart, $order) {
//do something


And after that triggers are called


Do you know about this incompatibility with Joomla?


Sorry for my english ;-)