VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: pieuzieu on December 27, 2012, 18:59:49 PM

Title: how do i make a new field in "Ask a question about this product"?
Post by: pieuzieu on December 27, 2012, 18:59:49 PM
normally, it has got three fields: Name, Email and messages with min. 50, max. 2000 characters... But, now i want to make a new field, example: Mobile, Y!m... because these fields will provide more methods to support customer better.
Title: Re: how do i make a new field in "Ask a question about this product"?
Post by: walkyrie on January 14, 2013, 16:10:00 PM
answer here : http://forum.joomla.fr/showthread.php?178797-Ajouter-des-champs-dans-formulaire-poser-une-question-sur-ce-produit-virtuemart2
Title: Re: how do i make a new field in "Ask a question about this product"?
Post by: pieuzieu on January 15, 2013, 18:02:58 PM
Thankwalkyrie very much!
But a few days ago, i found another method too. But, config "com_virtuemart/controllers/productdetails.php" in line 111 to line 119, add a field, example: $fromMobile... after, the same config in "com_virtuemart/views/askquestion/tmpl/mail_html_question.php" and "com_virtuemart/views/askquestion/tmpl/form.php".