VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Henrynor on March 23, 2012, 14:19:51 PM

Title: Ask a question min and max lengths
Post by: Henrynor on March 23, 2012, 14:19:51 PM
I have been trying for some time to change the min length of 50 to a much lower value of 5 characters. I have followed the suggestions by changing the values in the form.php but all it does is change the wording. When I send the form it still gives errors, if I type in 50 characters then it works 100%.

Please I would appreciate if some one could help me.

Joomla 2.5 and Virtuemart 2.0.2

Thank you
Title: Re: Ask a question min and max lengths
Post by: Henrynor on March 24, 2012, 08:52:26 AM
Hi Everyone

I am sorry to be a pain but my site is going live today and I really need help with this problem. I have changed the text of "Ask a question about this product" to "Request a quote on this product" but having a minimun of 50 characters is way to much, I need to change it to a minimun of 5 characters, but I am really battling.

Can someone give me some ideas please
Title: Re: Ask a question min and max lengths
Post by: Biggreuda on March 24, 2012, 10:17:46 AM
Same problem at our site.
If the customer just want's to know "does it also come in blue?" he shouldn't have to write a poem about that.
I just can't figure out where else the system needs to be changed :(
Title: Re: Ask a question min and max lengths
Post by: Henrynor on March 24, 2012, 16:23:26 PM
7 hours and still cant get it right - I am ready to toss 3 weeks of site building because of min and max values. Does no one care to help or does no one know ?
Title: Re: Ask a question min and max lengths
Post by: jenkinhill on March 24, 2012, 17:29:53 PM
Please allow for different time zones etc when awaiting a reply. remember that some people only visit this forum once every few days. It could also take longer at the moment because the European VM devs and many others are at the JoomlaDay France (http://community.joomla.org/events/joomla-days/1550-joomladay-france-2012.html) weekend.

I'm pretty sure that you need to look at components/com_virtuemart/controllers/productdetails.php where the mailing functions are set.
Title: Re: Ask a question min and max lengths
Post by: Henrynor on March 24, 2012, 17:44:47 PM
Jenkinhill - you have become my hero !!!

My problem has been solved ... thank you

:)
Title: Re: Ask a question min and max lengths
Post by: Biggreuda on March 28, 2012, 13:57:40 PM
Wohoo, one more point of my list marked as "fixed" now! :D
Many thanks!
Title: Re: Ask a question min and max lengths
Post by: Vian on June 01, 2012, 15:54:38 PM
Thank you guys, just solved the same issue with this topic.  ;)