News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Different ask a question feature

Started by pm4698, October 21, 2013, 15:27:17 PM

Previous topic - Next topic

pm4698

Hello there,

I am new to virtuemart. I just installed it and try to see how it works. I need to use it as a product catalogue (without the cart). I also need to have custom dropdown fields like Color and Size. So, the user at front-end can select a color from Color drop down field and a size from Size drop down field.

My question is this: Can the user, when selects size and color from custom fields, to click on Ask a question button and when he sends the form, the administrator to know not only the product that the customer is interested in but also his selection.

For example: I am a customer and i see a Vase. I select from Color field the  Red value and from size field the Medium value. Then click ask a question, i fill in my name, phone etc and click send. Then the admin sees that i am interested in this vase with red color and medium size. Can i do this somehow?I don't mind if the user selects the color and the size from the product or the ask a question form. I mean that it could be easier for the customer to select the values inside the ask a question form.

Can i do this somehow?

Thank you in advance

pm4698

Ok, i found a piece of code where the one who wrote it wanted also Product SKU info etc.

The code is this:

<tr>
<p>Product SKU: <?php echo$this->product->product_sku ?>
</p>
<p>Product short description: <?php echo $this->product->product_s_desc ?>
</p>
<p>Link: <a href="<?php echo juri::root()?>/index.php?tmpl=component&option=com_virtuemart&view=productdetails&virtuemart_product_id=<?php echo $this->product->virtuemart_product_id ?>" title="<?php echo$this->product->product_name ?>"><?php echo$this->product->product_name ?></a>
</p>
</tr>


Do you think that i could use a quite similar piece of code in order to receive the user's selections from custom fields from frontpage?