VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: stefanoirves on February 24, 2018, 18:51:05 PM

Title: Help Please - Ask a question
Post by: stefanoirves on February 24, 2018, 18:51:05 PM
Hello everyone, I have a problem that I can not solve and I'm going crazy !!

I set virtuemart as a catalog, I disabled the fancybox because I do not need it, I set a custom String field. So when I go to see the page of my product, I see my custom field and the ask a question button. When I click on the button, it moves me to a new page, giving me the name of the product, the photo and the description. I would also like to add my choice of custom field to the ask a question page.

Example.

Product page:

Name: T-shirt
Description: White
Custom Field Name: Size (radio button: XS S M L XL)
Ask a question button

Now if I select the size S and click on the ask a question button, I would like to be able to display, in addition to the name and description, the size I chose.

Can someone help me? Thanks a lot for the collaboration

VM version: 3.2.12
Joomla version: 3.8.1
PHP:  PHP 5.6.33
MYSQL: MySQLi 5.7.19
Title: Re: Help Please - Ask a question
Post by: Jörgen on February 24, 2018, 20:30:03 PM
https://forum.virtuemart.net/index.php?topic=79799.0 (https://forum.virtuemart.net/index.php?topic=79799.0)

Jörgen @ Kreativ Fotografi
Title: Re: Help Please - Ask a question
Post by: Studio 42 on February 25, 2018, 14:01:20 PM
You cannot use Core Ask question to do this, because ask question do not check for customfields.
If you need this, contact a developer. The task and code is too long to explain and verify.
You can contact me or any developer in this forum using pm.
Regards,
Patrick