News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#21
General Questions / Re: Issues with add to Cart . ...
Last post by hotrod - June 21, 2026, 12:21:02 PM
I really Can't at this time..  All my sites were built With Rocket theme.. And gantry 5..  They are working on a plugin to make the RT templates compatible w J5..  For now.. the J4 sites are ok..  at some point I need to change servers to be able to run J5..   Getting the J4 site up is just temporary... It's 99.9% there...   Prob need to update it..  I have a ticket in to buy the update..  We'll see..
#22
General Questions / Re: Issues with add to Cart . ...
Last post by iWim - June 19, 2026, 15:41:32 PM
J4 is old too.

I recomend to install your webshop locally on WAMPserver or MAMP.
Use Akeeba Backup + Kickstart.

On this testsite, update it to J5 and VM 4.6.8. See if that fixes the issue. (VM4.6.8 uses jquery-ui.min.js?vmver=1.13.2)

When you update on a testsite first you can test changes and you'll get familiar with the update process.
#23
As of today, this is the law.

It is mandatory for webshops selling in the EU to clearly display an option for customers to undo a sale.

Shop owners risk fines if they don't comply.

VM needs to implement this yesterday.
#24
General Questions / Re: Issues with add to Cart . ...
Last post by hotrod - June 19, 2026, 15:15:42 PM
This has been sporadic.. I am moving away from this and going back to the updated J4 site... I never finished..
#25
General Questions / Issues with add to Cart . ( Be...
Last post by hotrod - June 17, 2026, 21:50:09 PM
VirtueMart 3.8.8 10472
Joomla 3
PHP 7.4.33

I don't now where to start..  Customers are adding to cart and nothing happens.  or when add to cart we get a notice " Product Removed..  Had this site for almost 15 years.  Got a lot of help here.  Upgrading Joomla and VM  is a tall task.   I don't see it happen often in FF  but I see it in Chrome and EXPLore...  Nothing has been updated to cause an Issue..   Don't know where to look to find the conflict.

These are the setting I have been using For years..

See this..
jquery-ui.min.js?vmver=1.9.2:6
 Uncaught ReferenceError: jQuery is not defined
    at jquery-ui.min.js?vmver=1.9.2:6:4498

#26
Product creation / Create Facebook Event Button f...
Last post by MAD King - June 17, 2026, 14:15:14 PM
Hello,

does anyone know how to create an purchase event button for Facebook?
I only can point to e.g. "Add to Cart" but I think it actually requires the link for the thank you page.

Anyone who can help?

Thank you.
#27
General Questions / Re: Deprecated: file_exists()
Last post by scottstreet - June 17, 2026, 00:39:22 AM
I found this and  it fixed the appearance problem: Now an icon does appear, not a correct one, but a placeholder at least and not an error message:

he quick fix in most cases is to use the null coalescing operator to provide a default value as appropriate, so you don't need a long null check around every use. For instance, htmlspecialchars($something) can be replaced with htmlspecialchars($something ?? '')

that worked on line 690 of mediahandler.php in the file: administrator/components/com_virtuemart/helpers/mediahandler.php
#28
Development & Testing / Re: VM 4.6.8: Product Details ...
Last post by Milbo - June 16, 2026, 15:48:56 PM
Great, I directly added it to the core. Looks just like a smart fix.
#29
Development & Testing / VM 4.6.8: Product Details menu...
Last post by Georgios Kolomvos - June 14, 2026, 11:26:47 AM
Environment
- Joomla 5.4.6
- VirtueMart 4.6.8 build 11258
- Multilingual site (EL, EN, FR, ES)
- Product Details Layout menu items associated across languages

Problem
When a Product Details menu item exists and is associated with corresponding menu items in other languages, VirtueMart appends the product slug to the generated multilingual URL although the menu item already uniquely identifies the product.

Example
Expected URL:  /en/product-menu-item
Generated URL: /en/product-menu-item/product-slug
The appended product slug is unnecessary and causes incorrect hreflang and language-switch URLs.

Investigation
After debugging router.php, I found that Product Details menu items are correctly detected using the $ismenue flag. However, the product slug is appended unconditionally:

if($virtuemart_product_id)
    $segments[] = self::getProductName($virtuemart_product_id);
This code executes even when a matching Product Details menu item has already been found.

Suggested fix
Replace:
if($virtuemart_product_id)
    $segments[] = self::getProductName($virtuemart_product_id);
with:
if(!$ismenue && $virtuemart_product_id)
    $segments[] = self::getProductName($virtuemart_product_id);

After applying the patch:
- hreflang URLs are correct
- language-switch URLs are correct
- no unnecessary product slug is appended
- products without Product Details menu items continue to work normally
#30
General Questions / Re: Deprecated: file_exists()
Last post by scottstreet - June 12, 2026, 20:03:13 PM
site still working. biotechequipmentsales.com

Product pages are OK.

But the deprecated file_exists() Passing null error appears in many places.