News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#51
General Questions / Virtuemart compatible newslett...
Last post by brucezly - April 05, 2024, 13:21:14 PM
Hello, can you recommend a newsletter sending component compatible with Virtuemart 4 and joomla 4?
I use an external SMPT server for it.
Acy mail is no good, they don't fix the problems with virtuemart.
Its features would be just right for me if they worked.
#52
Hi,
We're using the Automated Numbers plugin to modify the order number and invoice numbers. Works fine. Only that since a few weeks (right after we updated VM from 4.2.4 to 4.2.6.) we sometimes notice that orders are created twice, only one minute apart. It has the same items, and one order number will be 2024-03-00015 (which is correct, just as indicated in the settings of the plugin) and the second one will have 2024-03-16 (the leading zeros are missing here??).

Anyone who recognises this issue? Or has a solution? Could the VM update cause the problem?
#53
Do the other methods/functions are triggered correctly in this custom plugin?
#54
Virtuemart Development and bug reports / Re: Slugs in products
Last post by niosme - April 04, 2024, 20:50:57 PM
Can this be inserted please?
Its quite anoying and easy to be fixed in the right way with the code above.

Thanks in advance!
#55
Clean J4 with Cassiopeia
#56
Hi,

I am building a product listing for each specific language I have on my site using combination of JRoute:
$uri = $live_site.'uk/'.JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$product_id.'&virtuemart_category_id='.$product_cat_id));

But every time I get the SEF urls for deafault language.
I tried to add &lang=uk to the Jroute but it is being skipped by router.
How can I set the router for using specific language?

Whole code looks as follows:
efine('_JEXEC', 1);

define('JPATH_BASE', dirname(__DIR__, 4));
require_once JPATH_BASE . '/includes/defines.php';
require_once JPATH_BASE . '/includes/framework.php';
require_once JPATH_BASE . '/plugins/behaviour/compat/src/classmap/classmap.php';

$container = \Joomla\CMS\Factory::getContainer();

$container->alias('session.web', 'session.web.site')
    ->alias('session', 'session.web.site')
    ->alias('JSession', 'session.web.site')
    ->alias(\Joomla\CMS\Session\Session::class, 'session.web.site')
    ->alias(\Joomla\Session\Session::class, 'session.web.site')
    ->alias(\Joomla\Session\SessionInterface::class, 'session.web.site');

$app = $container->get(\Joomla\CMS\Application\SiteApplication::class);
\Joomla\CMS\Factory::$application = $app;
$app->createExtensionNamespaceMap();

use Joomla\CMS\Factory;
use Joomla\CMS\Language\Language;

require(JPATH_ADMINISTRATOR.'/components/com_virtuemart/helpers/config.php');
VmConfig::loadConfig();

VmConfig::set('vmlang', 'uk_ua');//without this I get always default site language
$db = Factory::getContainer()->get('DatabaseDriver');
$vmlang = VmConfig::get('vmlang', 'uk_ua');

$uri = $live_site.'uk/'.JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$product_id.'&virtuemart_category_id='.$product_cat_id));

//sef is from default site language
#57
Frontend Modules / Re: My membership product prob...
Last post by dmaniacala - April 04, 2024, 05:53:59 AM
Try sending another email or calling support directly. I find VM's customer service to be quite enthusiastic.
#58
General Questions / Re: vm css loaded on com conte...
Last post by Jumbo! - April 03, 2024, 17:07:53 PM
Which extension/plugin are you using to load the VirtueMart contents in Joomla articles?
#59
General Questions / vm css loaded on com content p...
Last post by serge-web54 - April 03, 2024, 16:37:52 PM
hello,
my contents (com content) are not displaid as they should because vm-ltr-common.css is loaded on that item page.
It should not be.
I tried with cassiopeia and it is the same
a component css should not be loaded if the component is not called.
( edit : that is the cart module that do that)
#60
Frontend Modules / Re: Search Module - Category f...
Last post by skysailbitts - April 03, 2024, 09:58:30 AM
Quote from: cristina on June 08, 2023, 14:59:43 PMHi,
I updated a site to VM 4.0.22 10864 but the category filter continues to ingnore any selection.
Did someone have the same problem?
Any suggestion?
Thank you for your help
I had the same problem and i still can't fix it. Did you fix this problem yet?