News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#31
Virtuemart Development and bug reports / ask a question doesn't work, w...
Last post by patbe60 - September 04, 2025, 12:24:43 PM
When recaptcha in "Recommend a product, ask questions " is enabled, the form "ask a question" can't be sent. Nothing happens when clicking on send.
No problem when captcha is disabled.

VM 4.4.8 11111
Joomla 5.3.3

EDIT: It doesn't also not work with the form "Recommend to a friend". Same problem here.
#32
Plugins: Payment, Shipment and others / Stripe plugin: preventing dupl...
Last post by rosydam - September 04, 2025, 06:07:39 AM
Hi all,

I've been testing the Stripe plugin for VirtueMart and noticed a strange behavior related to 3D Secure (SCA) payments.

When a customer completes 3D Secure authentication, Stripe sometimes sends multiple webhook events (e.g., payment_intent.succeeded and then charge.succeeded). The issue is that VirtueMart updates the order status twice:

First to Confirmed after the payment intent

Then again to Confirmed or even Pending after the charge event

This leads to confusion in the order history and, in some cases, triggers duplicate email notifications to customers.

Has anyone implemented a safe way to:

Avoid duplicate status changes when multiple events refer to the same payment?

Ensure that once an order is set to a "final" state (e.g., Shipped or Cancelled), later Stripe events won't overwrite it?

I'm considering adding logic in the webhook handler to check the current status before applying updates, but I'd like to know if there's already a recommended best practice for handling these duplicate/late events in VirtueMart.

Any insights or code snippets would be greatly appreciated!

Thanks,
— []
#33
Product creation / Re: Custom field cart variant
Last post by balai - September 03, 2025, 12:42:45 PM
QuoteI am trying to setup options for products with 3 size options and then I want to add prices for each option/product.
Any custom field type can be a cart variant, if you enable the "Cart Attribute" and "Cart Input" settings.

QuoteAlso tried plugin "Stockable Custom Fields" but cannot get it to work and hasn't been updated for 3 yrs so maybe outdated.
Where did you see that? The last release is in January 2025.
https://breakdesigns.net/downloads
#34
Product creation / Custom field cart variant
Last post by lombiz - September 03, 2025, 09:54:45 AM
Hi,
I am trying to setup options for products with 3 size options and then I want to add prices for each option/product.
I think cart variant is correct but cannot find it in my custom field list.

Also tried plugin "Stockable Custom Fields" but cannot get it to work and hasn't been updated for 3 yrs so maybe outdated.

Can anyone advise please!

Joomla and VM 4

Thanks in advance!
/Peter

#35
I see this topic is already more than 5 years old, but I've just run into the same issue.
We're building a webshop where each product has 3 different parameters, and every combination needs its own SKU and stock, so we're working with child products.

These are not "nice-looking" attributes like with a T-shirt (blue or red), but technical ones such as sheet size, thickness, etc. A single product can easily end up with 200–300 children, and we don't want to give each one a custom name.

I understand that in most cases the 40-child limit is not a problem, but in our case it is. Would it be possible to move this into a hidden configuration option, so it could be increased where necessary? From a development point of view this should be a minimal change.

One more observation: in this case there is no error message, it just says the save was successful.
#36
Plugins: Payment, Shipment and others / Re: PayPal integration on Virt...
Last post by rosydam - September 02, 2025, 13:32:34 PM
Quote from: iWim on September 01, 2025, 10:49:02 AMVM4.2 is 1-2 years old.

Update to VM4.4.10.
Your issue may already have been solved.
Thanks for reminding me! I will try upgrading to VM4.4.10 to see if the situation improves.
#37
General Questions / Bug in search plugin - not sea...
Last post by vmfyelloq19 - September 01, 2025, 13:36:53 PM
Friends,
for plugin/search/virtuemart  the plugin configuration says for IDs of Custom:  "Enter the IDs of the fields you want to search (comma-separated). Leave blank to search all fields."

If I leave the field empty, the plugin will NOT search custom fields.

Either the code or the field description is wrong:
if ($search_customfields) {
    $value = trim($this->params->get('customfields', ""));
    if (!empty($value)){
        // [...]
        } else {
            $search_customfields = false;
        }
#38
Plugins: Payment, Shipment and others / Re: PayPal integration on Virt...
Last post by iWim - September 01, 2025, 10:49:02 AM
VM4.2 is 1-2 years old.

Update to VM4.4.10.
Your issue may already have been solved.
#39
Hello VirtueMart community,

I'm currently working on an online store with Joomla 4.4 and VirtueMart 4.2, and I've run into an issue with the PayPal payment integration.

The PayPal Smart Buttons are displayed correctly on checkout.

Payment is processed successfully on the PayPal side (funds are captured).

However, back in VirtueMart, the order remains stuck in "Pending" instead of moving to "Confirmed" automatically.

IPN/notification is enabled in PayPal, but it seems like VirtueMart isn't receiving or validating it properly.

Server firewall is not blocking callbacks (already tested).

Has anyone here managed to configure PayPal on VM4 so that the order status updates in real time?
Do I need to adjust the plugin settings (sandbox vs. live), or is there a specific requirement for IPN with Joomla 4?

Any insights or best practices would be greatly appreciated.

Thanks in advance!
#40
Virtuemart Development and bug reports / [FIX] Use VirtueMart CSS + Boo...
Last post by iWim - August 27, 2025, 16:10:19 PM
I may have found a solution for a bug in VM where the setting for Use the VirtueMart CSS is ignored when selecting any Bootstrap version.

The solution is a small change to a core file. It would be great if someone can check it and than it could be added to core for the next update.

BEFORE THE FIX
1. Go to VirtueMart Configuration > tab Templates
2. Go to section Templates & Layouts
3. At Layout Bootstrap version select None (Use Legacy)

4. Go to section Core Css Styles & Javascripts (only for experts)
5. Set Use the VirtueMart CSS to Yes or No

Check the frontend code:
/components/com_virtuemart/assets/css/vm-ltr-common.css is loaded or not depending on setting Use the VirtueMart CSS to Yes or No.

6. Go back to #3 and select a Bootstrap version

Re-check the frontend code:
The setting for Use the VirtueMart CSS is ignored and
/components/com_virtuemart/assets/css/vm-bs#-common.css is always loaded.

THE FIX
Open the file ~/administrator/components/com_virtuemart/helpers/vmjsapi.php
(Note: this is a core file!)

At line 897 you'll findif (!VmConfig::get('css', TRUE)) {
  return FALSE;
}
Move these 3 lines up after if ($cssFile) return; on line 879(...)
static $cssSite;
if ($cssSite) return;

  if (!VmConfig::get('css', TRUE)) {
    return FALSE;
  }

  // we load one common css and put styles in there
  (...)

AFTER THE FIX
At Layout Bootstrap version select any option
Set Use the VirtueMart CSS to Yes or No

Re-check the frontend code:
The CSS from any layout is loaded or not depending on the Use the VirtueMart CSS setting.

B/C BREAK
Because before this fix the setting for Use the VirtueMart CSS was ignored, webshops using a Bootstrap layout and have Use the VirtueMart CSS set to No will loose styling after the update.

They will have to set Use the VirtueMart CSS to Yes.