Hi everyone,
I'm running Joomla 4.4.9 with VirtueMart 4.4.x on localhost (XAMPP).
I'm trying to make the checkout work correctly — especially the "Same as Billing" checkbox. Now when I click on "Same as Billing" checkbox then whole form is cleared, because whole page is loaded.
Here's what happens:
When I click "Same as Billing", the POST request
cart.html?tmpl=component&task=checkout&redirect=0 is sent correctly (200 OK).
However, no subsequent GET request to
index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json
is made — so the page never updates dynamically.
On the official VirtueMart demo site, this GET request is always triggered right after the POST.
What I've already checked:
SEF URLs and URL Rewriting are enabled in Joomla.
.htaccess and RewriteBase are configured properly (SEF works).
Hidden menu with virtuemart and cart aliases exists.
"Use VirtueMart jQuery", "Use VirtueMart JavaScript", "Use Ajax to add/update cart", and "Enable Fancy Checkout" are all enabled.
The files vm2front.js and jquery.vmtrigger.js are missing from the Network tab (they do not load).
Plugin System – VirtueMart is enabled.
No caching or JS optimization plugins are active.
So far everything works (POST goes through), but since those JS files are not loaded, the second AJAX (GET viewJS) never happens.
Could this be caused by a missing script include, or a configuration issue in VirtueMart 4.4.x?
Any advice on what controls loading of vm2front.js and jquery.vmtrigger.js would be greatly appreciated.
Thanks a lot,