VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: fomlackner on January 23, 2014, 12:33:01 PM

Title: Product Variations (Custom Field) as Checkboxes or List
Post by: fomlackner on January 23, 2014, 12:33:01 PM
Hello,

I need help with the product details page in VirtueMart.
We have added Product Varations to products. This works fine. Now there are dropdown fields at this products.
But we want create something like buttons for this (simple links in a list). I can't find a way to change the creation of this dropdown field.
In the file defauld_customfields.php the line which creates this dropdown field is only the following:

<span class="product-field-display"><?php echo $field->display ?></span>

But I can't find the file where this dropdown is generated.

Can you help me here? Which file I have to change?
Title: Re: Product Variations (Custom Field) as Checkboxes or List
Post by: balai on January 23, 2014, 16:29:41 PM
Hi

I don't know if you want to use a commercial solution.
If you do check the "custom fields for all"

http://breakdesigns.net/extensions/customfields-for-all

Title: Re: Product Variations (Custom Field) as Checkboxes or List
Post by: fomlackner on January 24, 2014, 09:58:54 AM
Hi balai,

thanks for the link.
This would be a option, yes. But can i use this also for product variations? It seems to be only useable for attributes ...
Title: Re: Product Variations (Custom Field) as Checkboxes or List
Post by: balai on January 24, 2014, 10:07:48 AM
What you mean as "product variations"?
Title: Re: Product Variations (Custom Field) as Checkboxes or List
Post by: fomlackner on January 24, 2014, 11:16:57 AM
OH ... sorry I translated the german word directly into english. Sorry!
I mean child products.
Title: Re: Product Variations (Custom Field) as Checkboxes or List
Post by: balai on January 24, 2014, 16:40:47 PM
The only way to have stock control for the variants is to use the "stockable variants" plug-in