News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#22
General Questions / Re: VirtueMart 4.4.x – Checkou...
Last post by Milbo - November 10, 2025, 18:21:21 PM
Hello PSM,

indeed, reading the first topic I did not get the point, that any ajax fails.


Quote from: psm on November 06, 2025, 21:51:38 PMThe files vm2front.js and jquery.vmtrigger.js are missing from the Network tab (they do not load).

That is not a core file.

The whole case is strange. What you say reminds me at a broken ajax js. But why it sends the form then, if you do not use the button? That means first, the javascript works.

Hmmm, why do you still have the "enable legacy layouts" activated? What happens if you disable the "use shop overrides" in the "Core css styles and javascripts" section?
#23
General Questions / Re: No more sales after URL ch...
Last post by StefanSTS - November 10, 2025, 18:15:30 PM
Adding a 301 redirect in .htaccess generally helps, but I am not sure how to achieve that, if your products were on the first level.
You cannot set a general rule to redirect everything from / to /webshop.
You might want to add 301s for important products, and all categories.

STS
#24
Coding Central / Re: VirtueMart shipping/paymen...
Last post by Milbo - November 10, 2025, 18:09:50 PM
That sounds great yes. Lets add that for VirtueMart 5
#25
Virtuemart Development and bug reports / Coupon code not working proper...
Last post by Kuubs - November 10, 2025, 12:41:35 PM
I have an issue with the coupon codes. When I add 2 products, add the coupon code, it works great, but the moment you remove the first product from the cart, the code is not being added anymore. Problem is the helper file of the cart.php. On the setCouponCode it works with indexes but when you remove the first product the index is not 0 but 1 for the first product. That needs to be rewritten.

There is a bug with coupon codes. When you use allowed categories, add 2 products to the cart within these 2 categories and then remove the first product (very important to remove the first product) from the cart, teh coupon will not be applied properly. This is because the helper file that sets teh coupon is bugged, see setCouponCode()
This is a bug that is almost as old as 4.2.2 , but on the newer versions the bug is still here. The helper cart file is changed, but it didnt solve the issue
#26
General Questions / No more sales after URL change...
Last post by ThijsE6 - November 10, 2025, 11:22:54 AM
Hi all,

I'm currently managing a VirtueMart webshop at https://beterpet.nl/
and have encountered two important issues that I hope someone can help me with.

Drop in visibility and sales after URL structure change

Recently, the structure of our product URLs had to be changed for technical and performance reasons. All product URLs now include /webshop/. This change was necessary to fix a bandwidth issue previously, all products were loading on the homepage, which caused performance and indexing problems.

After this change, many product URLs indexed by Google became invalid, resulting in broken links and products no longer showing in Google Shopping. We've since:

Created a new sitemap and submitted it in Google Search Console

Re-uploaded the product feed to Google Merchant Center

Confirmed that products are being reindexed and URLs now include /webshop/

However, sales have dropped sharply, and product visibility remains lower than before. I'm unsure whether this is due to reindexing delays, SEO issues, or a configuration problem in VirtueMart. Any advice would be greatly appreciated.

Thanks in advance,

Thijs
#27
General Questions / Re: VirtueMart 4.4.x – Checkou...
Last post by psm - November 09, 2025, 14:31:10 PM
Hello everyone,
I'd like to summarize my issue again, because my previous post was probably too long and unclear.

Problem
When I click anything that should trigger AJAX on checkout (like "Same as billing", "TOS", or quantity update), the whole checkout page reloads instead of updating only the necessary DOM part.

No JS errors in console.
Same issue both on localhost (XAMPP, PHP 8.2.12) and live hosting.

Environment
Joomla 4.4.9
VirtueMart 4.4.9 – 4.4.11 (tested)
Template: Cassiopeia (also tried default VM template)
PHP 8.2.12, MariaDB 10.4.32

Settings (screenshots below)
✅ Joomla SEO – SEF + URL Rewriting enabled
✅ VM Template – Fancybox, jQuery, Ajax for product/category = ON
✅ VM Checkout – One Page Checkout + Ajax for OPC = ON

(see screenshots below for full setup)

Tried already
Switched template (Cassiopeia / default VM
Clean Joomla + VM install – same result
Disabled cache and all extra plugins

Question
Is there any known issue with AJAX in VirtueMart 4.4.x + Joomla 4.4.9?
Could it be related to vm2front.js or jquery.vmtrigger.js not firing correctly?

Any advice or workaround would be appreciated 🙏
#28
Virtuemart Development and bug reports / Problem with customiced fields...
Last post by sign-p - November 09, 2025, 08:13:02 AM
Hello if i create a custom field (string) an set searchable in settings then will be no more products shown in categorie view. if i delete the custom field in product then the products will be show in categorie view

can anyone help me? Thanks Thomas
#30
Frontend Modules / Re: My membership product prob...
Last post by ayrayu - November 08, 2025, 12:45:51 PM
Grreate