We have a VirtueMart / Joomla installation where clients might want to ask questions about multiple products as these products are used in combinations.
This would work in a similar manner to adding items to the cart with the exception that instead of going through the billing information / payment process the cart is sent as an email with user comment.
Question: Does VM support this natively, is there a module to add this or is a hack required?
One option is a wishlist module but from what I have seen of these they simply store wishlist items against your profile and don't provide functionality to send as an enquiry. They also require a logon - you cannot submit in guest mode.
The key here is being able to select multiple products for the same enquiry.
The solution we thought about which we didnt finish was use forester's wishlist mod hack
To be honest if the user is going to contact you regarding a product they will provide a username and an email to you for your reply, which can be grabbed and used to register an account automatically so I wouldnt worry about guests needing to register for this feature.
Guests can do it for a single product but for multiple you need to record what products they are interested in and only way is with it being recorded to a username, the bonus is they can login and buy their wishlist so your giving your clients a great service for a simple registration request.
Now the next bit
If you have a look at the code which allows you to send the wishlist to shopping cart when you select various products, you can copy this function, and at the point the function adds to bag after selecting all products simply grab the function code for the "ask us a question" and output the data through it instead. YOu can then add a link on the wishlist mod which is "ask us a question on selected items" o soemthing like that
THis shouldnt be too hard as you have both functions from VM core and the hacked WIshlist mod.
This was our plan when we were going to create this.
It might need a fine tune on the subject email output to add in extra lines for the other products but reeally all you need is for it to grab the product ID, and name and maybe description.
It doesnt need all the details as you will look this up when answering the customers queries
Storm