Quote from: sandomatyas on April 19, 2025, 08:03:40 AMI noticed that changing $cache = true to false in shopFunctionsF::loadOrderLanguages solves the issue.
Quote from: Kuubs on May 16, 2025, 08:32:40 AMIt's not really relevant where of when I want to change it, I just want to change it. Probably beforeRender or something
public function onBeforeRoute()
{
// Register VirtueMart config to Joomla autoloader
\JLoader::register('VmConfig', JPATH_ADMINISTRATOR . '/components/com_virtuemart/helpers/config.php');
// If VirtueMart is not installed, return
if (!class_exists('VmConfig')) {
return;
}
// Load VirtueMart config
\VmConfig::loadConfig(false, false, true, false);
// Set the default product layout
\VmConfig::set('productlayout', 'default');
}
Page created in 0.025 seconds with 11 queries.