Anyone who’s setup an online store with Virtuemart will know about the “Ask a question about this product” page being spammed. Opinion is divided between introducing a CAPTCHA system (requires a lot of core hacks), or removing the link all together. This is my solution which is somewhere between the two.
If the ”Ask a question” page is visited, this code alteration will ask the user to login,...
Read more