News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#21
Administration & Configuration / The form cannot be submitted a...
Last post by MAD King - August 20, 2026, 20:48:30 PM
Trying to add Custom Page Title, Meta Keywords, and Meta Description to the Vendor Shop page and getting this error when saving:


QuoteThe form cannot be submitted as it's missing required data. Please correct the marked fields and try again.

There are NO marked fields!!!

What is going on lately with VM?

Joomla 5.4.7
VirtueMart 4.6.4 11226
#22
General Questions / Re: Virtuemart can't produce a...
Last post by hazael - August 10, 2026, 11:35:51 AM
It looks like in the current VirtueMart ecosystem, when it comes to image problems, "real girls" are more likely to help you than anyone from support.  ;D
#23
Administration & Configuration / Re: Stop Custom Field from add...
Last post by hotrod - August 07, 2026, 13:33:18 PM
SOLVED!!!    with hours of work with AI..  I made this change years ago and after updating I lost it... and Of course I didn't document it...

After comparing the old working VirtueMart files against the new version, the behavior change came from administrator/components/com_virtuemart/models/product.php.


Around line 3357 (VirtueMart 4.6.8):

if (VmConfig::get('calculateVariantsOnFreshLoad', true)) {

    $setvirtuemart_custom_id = array();

    foreach ($product->customfields as $customfield) {

        if (!isset($setvirtuemart_custom_id[$customfield->virtuemart_custom_id])) {

            if (empty($customfield->addEmpty)) {

                $product->customPlugin[$customfield->virtuemart_product_id][$customfield->virtuemart_custom_id]
                    = (int)$customfield->virtuemart_customfield_id;

                $setvirtuemart_custom_id[$customfield->virtuemart_custom_id] = 1;
            }
        }
    }
}
The test

I changed:

if (VmConfig::get('calculateVariantsOnFreshLoad', true)) {

to

if (VmConfig::get('calculateVariantsOnFreshLoad', false)) {

(or temporarily if (false) just to verify the behavior).

Result

The product page immediately returned to the old behavior:

✅ Base product price is shown on page load.
✅ Default dropdown option remains selected.
✅ The +$75 is not added to the displayed product price.
✅ After clicking Add to Cart, the +$75 is correctly added to the cart total.
✅ Existing cart calculations continue to work correctly.

Couldn't get help anywhere..  The issues was I have very competitive prices.. others add the fee in shipping I am forced to add as an up-charge.. but with it adding to the total.. google was showing the total with the upcharge which made us look way more expensive..  Posting here for other that would like this option...  and for my records in futur updates..   

Would be useful I think as an option.. for those needed an up-charge attribute on their products...
#24
General Questions / Is VM 4.x in a good state? (mi...
Last post by EvanGR - August 07, 2026, 10:05:33 AM
Hello everyone,

We manage 2 eshops both on VM 3.8 and legacy Joomla/PHP.
They are working fine, and we have adapted to the quirks and have a smooth workflow.

We are planning an upgrade soon (VM 4 / J5 / PHP 8.3+), for security purposes.

Currently, VM 4.6.x is the offered platform... I am wondering if it's been battle tested, and if it's stable enough with no major issues.

Thanks
#25
Templating & Layouts / Re: Can't override sublayouts
Last post by hotrod - August 06, 2026, 12:17:45 PM
Have you tried AI?  Chatgpt has been very helpful in all my upgrade issue..  Pretty amazing!!
#26
Administration & Configuration / Stop Custom Field from adding ...
Last post by hotrod - August 06, 2026, 02:14:22 AM
I had this issue a few years back.. And someone gave me a file to change to stop my custom field from adding into the total seen on the product page. 

I since Subscribed and updated to the latest VM and have lost that setting.   We have an oversize shipping fee on some large parts.  Its a custom Field OverSize Shipping. But it's adding to the product price.. making it seem higher that I should be selling it for. If I uncheck Automatically add empty option..  It doesn't had to the total unless checked.. but then the customer has to select it.. and can elect not to...  I need it to add when added to the cart..  and it then says as it still does. Over size shipping fee added into total.  I know Someone here gave me the file and fix.. just can't find it..

In the image below the cost of the radiator is $675  and over size shipping is $135   I can't have it adding into the price people are looking at...

I put a ticket in but I'm sure max is Busy...


VirtueMart 4.6.8 11258
J 4.4.14
PHP 8.232
#27
Installation, Migration & Upgrade / Re: class does not exist Plgvm...
Last post by balai - August 05, 2026, 13:09:24 PM
What happens if you enable Joomla's System Debug?
Are you getting more info about the source?
#28
Hi,

This looks like a logic bug in frontend keyword search (sortSearchListQuery), not a misconfiguration.

Setup (intentional)

Parent product assigned to a published category
Child products have their own SKUs, are published, and are intentionally not assigned to any category (category only on the parent)
show_uncat_child_products = 1
show_unpub_cat_products = 0
Expected
Searching by the child's SKU must return the child. That is exactly what show_uncat_child_products=1 is for.

Actual
0 results. The SKU match works in SQL, but the product is dropped afterwards by the category filters.
With show_uncat_child_products=1, search correctly builds:

((p.product_parent_id = "0" AND pc.virtuemart_category_id > "0") OR p.product_parent_id > "0")
so uncategorized children are allowed.

But then show_unpub_cat_products=0 unconditionally adds:

`c`.`published` = 1
For an uncategorized child, the LEFT JOIN leaves c.published as NULL, so NULL = 1 fails and the child is excluded.

So show_unpub_cat_products=0 silently cancels show_uncat_child_products=1. That is inconsistent: one setting explicitly allows uncategorized children, the other then rejects them because they have no category row at all (not because they belong to an unpublished category).

Suggested fix
c.published = 1 should only apply when a category is actually joined, e.g.:

(`pc`.`virtuemart_category_id` IS NULL OR `c`.`published` = 1)
Assigning every child to a category is not a valid solution here — the catalog is built on purpose with categories only on parents.

Thanks.
#29
Administration & Configuration / <lastmod> Tag not showing in S...
Last post by MAD King - August 02, 2026, 20:22:32 PM
Hello,

I can't figure out why the <lastmod> Tag is not showing in the sitemap XML.

Anyone has any idea?

Thanks.

VirtueMart 4.6.4 11226
Joomla 5.4.7