News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#1
Thank you, Jenkinhill.

I had the exact same issue today, which is 5-13-2024.
Prior to today, I had NOT had the issue and that box was not ticked previously.

I'm sure there is a good reason why, but I have NO idea why it has worked for me for more than a year working on all the quantity pricing I've been doing on one project, and then suddenly today, they disappeared on any new child or parent I created.

I hope Milbo takes a look at this thread. "Something" changed...perhaps while Max was updating he cleaned up some code that allowed that option in configuration to "begin" working...?
#2
I'm a bit late responding, but disabling "Joomla Plugin" did the trick! Thank You.
#3
Hi,

Joomla 4.4.4, VirtueMart 4.2.10 11010, PHP 8.1.27


I'm having a problem with PayPal payment. Confirming the payment the following error is released in FRONTEND (this active debugging on the front-end side is terrible for the customer who purchases!!!)
1 vmdebug createOrder no OrderId Var0:
stdClass Object
(
    [name] => UNPROCESSABLE_ENTITY
    [details] => Array
        (
            [0] => stdClass Object
                (
                    [field] => /purchase_units/@reference_id=='default'/amount/breakdown/tax_total/value
                    [value] => 69.78
                    [issue] => TAX_TOTAL_MISMATCH
                    [description] => Should equal sum of (tax * quantity) across all items for a given purchase_unit
                )

        )

    [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
    [debug_id] => a2cd68df1e418
    [links] => Array
        (
            [0] => stdClass Object
                (
                    [href] => https://developer.paypal.com/docs/api/orders/v2/#error-TAX_TOTAL_MISMATCH
                    [rel] => information_link
                    [method] => GET
                )

        )

)
2 vmdebug Created order here
4 vmdebug vmInfo: Checkout blocked by Payment plugin
5 vmdebug Confirmed order returned false
7 vmdebug findCorrectItemidBySQL use as like en-GB `link` like "index.php?option=com_virtuemart&view=cart%"

Incorrect data has been entered


Can you help me, please?
#4
Hi,
VM with  vmadmin_4.2.10.11010

administrator/templates/vmadmin/html/com_virtuemart/sublayouts/menu.php

When you go to Virtuemart and load for example
administrator/index.php?option=com_virtuemart&view=category

menu on left in VM dont show active menu

line 65:
if ($link['view'] == $currentView) {
$activeParent = "uk-active uk-open";
//break;
}


REPLACE WITH THIS:
if ($link['view'] == $currentView AND $link['task'] == $task) {
$activeParent = "uk-active uk-open";
break;
}



or if there is reason for break; had commented use this after line 70 (add new foreach):


foreach ($item ['items'] as $i => $link) {
if ($link['view'] == $currentView AND $link['task'] == $task) {
$activeParent = "uk-active uk-open";
break;
}
}

After that changes when you click in admin to any pages... menu show you active menu and his childs...




#5
General Questions / Re: vDispatcher::trigger dont ...
Last post by vdweb.cz - Yesterday at 14:33:41 PM
Jumbo! thank you soo much thats what i need...
Big thanks for your help and your fantastic VP One Page Checkout ;-)

Quote from: Jumbo! on Yesterday at 13:47:08 PM....
#6
General Questions / VM Admin Menu
Last post by MAD King - Yesterday at 14:33:08 PM
Why the heck keeps the VM admin menu popping out after the last update when I always close it????
Who comes up with things like that???
#7
General Questions / Re: vDispatcher::trigger dont ...
Last post by Jumbo! - Yesterday at 13:47:08 PM
Quote from: vdweb.cz on Yesterday at 11:58:01 AMGuys, i dont understand what:
"register listeners in your plugin"
or
"extend vmPlugin"


I have clasic joomla system plugin:
class plgSystemVD_matomo extends JPlugin {

and for this plugin i have listener plgVmConfirmedOrder:

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

But joomla dont run this listener.

I speak about plugins from folder plugins/system/*
My plugin is in here: plugins/system/vd_matomo

You need to register custom events in the constructor if you want to use them in a system plugin.

Example:
<?php

defined
('_JEXEC') or die;

class 
PlgSystemVD_matomo extends JPlugin {
  public function 
__construct(&$subject$config)
  {
    
parent::__construct($subject$config);

    
// For Joomla 4 and Joomla 5
    
if (version_compare(JVERSION'4.0.0''ge')) {
      
$this->registerLegacyListener('plgVmConfirmedOrder');
    }
  }

  public function 
plgVmConfirmedOrder($cart$order)
  {
    
// Do whatever you want
  
}
}
#8
3rd party extension / Re: Payments by Shipment for V...
Last post by Jumbo! - Yesterday at 13:34:22 PM
VP Payment by Shipment v3.3 has been released. This update fixes an important compatibility issue with VirtueMart 4.2.6 and above, makes the plugin compatible with Joomla! 5, and includes numerous bug fixes and performance improvements.

We recommend that all users install the update as soon as possible.

Learn more - https://www.virtueplanet.com/extensions/vp-payment-by-shipment
#9
General Questions / Re: vDispatcher::trigger dont ...
Last post by vdweb.cz - Yesterday at 11:58:01 AM
Guys, i dont understand what:
"register listeners in your plugin"
or
"extend vmPlugin"


I have clasic joomla system plugin:
class plgSystemVD_matomo extends JPlugin {

and for this plugin i have listener plgVmConfirmedOrder:

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

But joomla dont run this listener.

I speak about plugins from folder plugins/system/*
My plugin is in here: plugins/system/vd_matomo
#10
In previous versions, the same issue also occurs.
However, <link href="https://www.example.com/category/sub-category/product.html" rel="canonical" /> is added, so I don't think it's a problem for SEO.

What do you think?