The website is based on Joomla 3.10.10 and VM 4.0.6 Recently I noticed that the Button "Ask question" in Product details is no longer working. Nothing has changed in the VM settings. Hovering with the cursor over the button shows the button points to....../askquestion?tmpl=component
Please advice.
might need the next update .. I know any routing from a form POST got broken by the J4 router and there could be problems also with J3 as VM4 has been chasing it's tail trying to remain compatible with J4.
I know this routing problem is fixed (in J4/VM4) with the latest dev version
Hopefully this next update will be available soon, as it is an important feature on the website. Upgrade to J4 will not take place in the near future.
Can someone propose a work-around, as the feature is critical for us.
revert to 4.0.2 maybe the routing works on this one .. or try the router from 4.0.2 in your install
Thanks for the advice. The problem is solved for the time-being :)
Has the problem been solved in the upcoming 4.07 update of Virtuemart?
Ask question works OK for VM 4.0.7 10720 on J3.10.11 (I don't use J4)
Not for me with the samen Joomla version. I had once more to return to VM 4.0.2
Just a thought, have you got "Allow non logged-in to send a recommendation or ask a question" turned on?
Sure, otherwise VM 4.0.2 would not work either.
In the meantime I migrated my (test)website to Joomla 4.2.4. The"Ask question" is not resolved in combination with Virtuemart in version 4.0.6. So once more I had to return to 4.0.2 :(
It works for me on j3 with this https://dev.virtuemart.net/attachments/1340/com_virtuemart.4.0.7.10732_package_or_extract.zip
Not for me, neither on J3 as on J4. I had to return to 4.0.2
Still not working for me. Link to manufacturer products stopped work as well. Link not opens in pop up but it opens if you choose "Open in new tab" from context menu. Tried 4.0.7 and now 4.0.8 problem not solved. Tried router from 4.0.2 it returns 404 on product detail page. Is it any solution yet?
Did you test with vm4.0.12 ? https://dev.virtuemart.net/projects/virtuemart/files
Yes, I did. Both on a Joomla 3 and a Joomla 4 website. Both were unsuccesful and I had to return to 4.0.2
Still working OK for me, VirtueMart 4.0.12 10777 Joomla 3.10.11 PHP 8.0.25
Does recommend to a friend not work for you either?
This function has never been implemented. At your request I selected this option in the Configuration. In VM 4.0.2 it works but in 4.0.12 the envelop icon shows up on the product page, but that 's it. Identical to the earlier indicated problem with "Ask question".
In the meantime I used my membership to download VM 4.0.16 10812. Unfortunately "Ask question" still not working!! Help!!
In the meantime I downloaded VM 4.0.20. "Ask Question" still not working >:(. Is this topic still under consideration?
I just checked VM4.0.20 on VM J 4.3.1 - ask a question and recommend to a friend work just fine.
I should add that ask & recommend work also with VM 4.0.20 on J 3.10.11 but only if the user is logged in.
I assume you are referring to Joomla 4.3.1. I use the same release and as concluded earlier, I still have the problem. VM 4.0.2 is the "golden" release that not has this problem.
In the meantime I installed VM 4.0.22 in my test environment with Joomla 4.3.2. "Ask question" still not working. This is an essential function and without I cannot migrate the website of the Historical Society from Joomla 3 to Joomla 4.
For those interested in this problem, please visit http://www.dedecanije.nl/beeld/foto-s/scholen-en-schoolfotos/medlerschool-1/f562001-detail and try the button: "Stel een vraag".
Please HELP.
Browser console shows JavaScript errors on the page, jquery related. What stands out is "Uncaught TypeError: $.facebox is not a function" - you should be using Fancybox to dive the popup for the ask question link. Make sure it is turned on in VM configuration/Templates
Fancybox has been on all the time. As repeatedly stated: VM 4.0.2 is the golden standaard. In this version "Ask question" works, both for Joomla 3 and Joomla 4.
Does your VM4.0.2 give JS errors in the console on the product pages? On my current test site of VirtueMart 4.0.22 on Joomla 4.3.1 there are no errors on product pages.
Actually, on a closer look, there seems to be a conflict with ARKeditor - maybe try disabling that plugin?
Disabling the Arkeditor does not lead to any improvement.
Uncaught TypeError: $.facebox is not a function
at HTMLAnchorElement.<anonymous> (f562001-detail:706:11)
at HTMLAnchorElement.dispatch (jquery.min.js?3.6.3:2:43336)
at y.handle (jquery.min.js?3.6.3:2:41320)
Please enable fancybox. It should solve your problem
Fancybox has been enabled all the time. See attachment.
You have perhaps an error in your template override?
$.facebox javascript should not be in your product details page
This code
echo shopFunctionsF::renderVmSubLayout('askrecomjs',array('product'=>$this->product));
Load components\com_virtuemart\sublayouts\askrecomjs.php
And should autoload the right script
Because function loadPopUpLib detect from config
if($fancy = VmConfig::get('usefancy',1)){
self::fancybox();
} else {
vmJsApi::addJScript( 'facebox', false, true, false, false, '' );
vmJsApi::css( 'facebox' );
}
I have the same issue here on this shop: https://www.skladoleju.cz/index.php/obchod/agip-arnica-s-46-biologicky-odbouratelny-olej-20l-detail.html (dotaz na product right bellow 24H image)
Disabling fancybox will solve the issue (not completely tho, I will be able to send a message, but I won`t be able to return back). I have no template overrides for virtuemart. My version is Virtuemart 4.0.12 and I am running Joomla 4.3.3
This issue has been going on for over a year now.
J4 and VM ver 4 still does not work.!!
Surly there is a fix for this by now.!!!
Getting really frustrated with VM
Ask a question is still working fine for me.
Joomla 4.3.4 VirtueMart 4.2.4 10922
(https://i.ibb.co/ryXt78c/askquestion.png) (https://ibb.co/SvZxsYd)
Is a paid membership the only way we can get access to VM ver. 4.2.4??
If so it is fine. I would say that most of us in the Joomla community would be more than willing to pay for this......... it would just be nice to know what the deal is.!!!
Dud, see the VirtueMart news items, starting with https://virtuemart.net/news/511-effective-and-sustainable-funding-with-a-virtuemart-membership
Ok 'Dud"
Among all the bla-bla in the news item I can see that VM simply worked itself into a financial corner.
I have been using VM for years and could not understand why it was free.!! It should never have been so....... If you give someone something for free it will never be appreciated.... additionally, if you do something well never do it for free.
I will certainly be signing up for a membership as I am a real fan of VM. It is easy to create your own views and product detail pages... and the like.
Thanks for responding.
I have purchased a VM Membership and installed VirtueMart 4.2.4 10922
My system is running Joomla 4.3.4 VirtueMart 4.2.4 10922 and php 8.1.22
The Ask a Question form is still not posting.!
The reason may be the site template.
My template had "The Ask a Question form" from an old version of VM and errors appeared in the form fields.
After replacing the old form with the form from VM 4.2.4 10922 everything worked.