VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: snap on November 02, 2012, 08:04:41 AM

Title: Solution for product variation?
Post by: snap on November 02, 2012, 08:04:41 AM
Hi,
on the way trying to find a solution in Virtuemart (2) to creat multiple product variations, I found an example ...

http://www.absperrtechnik24.de/Gefahrstelle+Nr+101,w1351839506-2926.htm

::) Does anybody know how to creat such tables for one product or is it a software solution? May be somebody can help me with knowledge or "software"...

Thanks snap  8)
Title: Re: Solution for product variation?
Post by: balai on November 02, 2012, 09:02:02 AM
I think that it can be done with custom fields.
But you have to edit the output to be like this.

Another option is to use the Product Builder. http://breakdesigns.net/extensions/vm-product-builder/
In this case each variation should be 1 product in your Virtumart shop.
Title: Re: Solution for product variation?
Post by: snap on November 02, 2012, 10:09:57 AM
Thanks for fast answer! As we don't need stockable variants I prefer first solution. The "output" can be generated with custom field "editor"?
Title: Re: Solution for product variation?
Post by: balai on November 02, 2012, 13:34:16 PM
I think that you should assign your custom fields in a specific position of the product details page and then edit the output from the file:
components\com_virtuemart\views\productdetails\tmpl\default_addtocart.php

There is the code for the output of the custom fields which are "Cart Variants" i.e. selectable
Title: Re: Solution for product variation?
Post by: PolishedGeek on November 02, 2012, 16:11:38 PM
You also could do this with an embedded custom form instead of standard VM2 custom fields, since you don't need to track inventory by option.

Depends on whether you feel comfortable building out your own form, and if you have the budget to buy the necessary extensions to use an embedded form approach.