News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#11
Coding Central / Search results varies accordin...
Last post by razor7 - March 31, 2026, 21:33:23 PM
Hi! I have this issue in VM, if I search IE: "Safety Helmet" it matches the results of products with "Safety Helmet" keywords, but if I change the order of the search keyword to "Helmet Safety" it won't match anything. According to joomla debug log, it seems to be the SQL used by VM to perform the search with *LIKE*. In that case I suggest some changes to the actual query

Actual query
SELECT SQL_CALC_FOUND_ROWS p.virtuemart_product_id, l.product_name, l.product_s_desc, l.product_desc
FROM w2f9n3p4_virtuemart_products as p
LEFT JOIN w2f9n3p4_virtuemart_products_es_es as l ON l.virtuemart_product_id = p.virtuemart_product_id
LEFT JOIN w2f9n3p4_virtuemart_product_shoppergroups as ps ON p.virtuemart_product_id = ps.virtuemart_product_id
LEFT JOIN w2f9n3p4_virtuemart_product_categories as pc ON p.virtuemart_product_id = pc.virtuemart_product_id
LEFT JOIN w2f9n3p4_virtuemart_categories as c ON c.virtuemart_category_id = pc.virtuemart_category_id
LEFT JOIN w2f9n3p4_virtuemart_categories_es_es as cl ON cl.virtuemart_category_id = pc.virtuemart_category_id
WHERE (
  (
    l.product_name LIKE "%Safety%Helmet%"
    OR p.product_sku LIKE "%Safety%Helmet%"
    OR l.product_s_desc LIKE "%Safety%Helmet%"
    OR l.product_desc LIKE "%Safety%Helmet%"
    OR category_name LIKE "%Safety%Helmet%"
    OR category_description LIKE "%Safety%Helmet%"
  )
  AND c.published = 1
  AND (
    ps.virtuemart_shoppergroup_id= "1"
    OR ps.virtuemart_shoppergroup_id IS NULL
  )
  AND p.published="1"
)
group by p.virtuemart_product_id
ORDER BY p.product_sku ASC, p.virtuemart_product_id ASC
LIMIT 20

Maybe use:
WHERE MATCH(l.product_name, l.product_s_desc, l.product_desc, category_name, category_description)
      AGAINST ('+Safety +Helmet' IN BOOLEAN MODE)

Or option 2, tokenize the search words then create each word as a search where

$terms = explode(' ', $search);
foreach ($terms as $t) {
  $where .= " OR (l.product_name LIKE '%$t%' OR ... )";
}

Also maybe a config option to enable this by keyword search method where the default is full phrase search.

What do you think?
#12
Are you talking about this Stripe plugin: https://www.virtueplanet.com/extensions/stripe-checkout
If yes, try reinstalling it. If that doesn't work, then write to the Virtueplanet developer in their support forum :)
#13
Could someone help me?
Thanks and regards
#14
Done! Quick fix:

in file: /administrator/components/com_virtuemart/helpers/vmpagination.php
change this: if($str = vRequest::getCmd('keyword',false) and !empty($str) ){
to this: if($str = vRequest::getString('keyword',false) and !empty($str) ){

and

in file: /administrator/components/com_virtuemart/helpers/vmuri.php
change this: $get = vRequest::getGet(FILTER_SANITIZE_URL);
to this: $get = vRequest::getGet(FILTER_UNSAFE_RAW);
#15
Installation, Migration & Upgrade / class does not exist Plgvmcust...
Last post by webgobe - March 27, 2026, 18:00:15 PM
After removing the Stockable Custom Fields plugin and upgrading to VM4/J5 in SOME pages I got this error.
vmError: VmPlugin function createPlugin, class does not exist Plgvmcustomstockablecustomfields vmcustom stockablecustomfieldsI suspect that somewhere in the database some traces of the removed plugin are still around, but was unsuccessful in tracking down the respective records. There are no files left, and nothing remained in the extensions table either. It is a big shop, with tens of thousands of products, and more, than 300 VM custom fields set up, so checking one-by-one the entries is out of question.
How I can locate the wrong records? Any help is greatly appreciated.
#16
About VirtueMart - not for support posts / Re: Joomla 6
Last post by balai - March 26, 2026, 16:20:14 PM
Is there any news on that?
#17
Hi, i've installed plugin Stripe for VirtueMart.
when i create a New Payment in Shop->Payment Method, I fill out the Payment Method Information and Configuration
and click the Save button. I get this error:

0 Too few arguments to function vmPSPlugin::onStoreInstallPluginTable(), 0 passed in /home/customer/www/amicisulserio.it/public_html/plugins/vmpayment/vmstripe/vmstripe.php on line 396 and at least 1 expected,

even though the data is saved correctly.

When I enable the payment method and test it on the site, add the product to the cart, select the payment method, and finalize the purchase, I get the following error:

Table 'virtuemart_payment_plg_vmstripe' doesn't exist

Could you help me? Thanks in advance and regards

My versions of Joomla, VirtueMart, and PHP meet the plugin's minimum requirements
Joomla! 3.9.22
VirtueMart 3.8.4 10335
#19
Same here. All works under J5. But we don't know nothing about the future of this project :( Last version from date 12/15/2025 and repository https://dev.virtuemart.net/projects/virtuemart/repository down to see updates/fixes...
#20
I use J5 no problems at all.


I have lots of customs on my site, shipping plugins, estimated delivery, product plugins etc.