VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Kuubs on April 21, 2022, 17:58:43 PM

Title: Multi variant, show all available fields
Post by: Kuubs on April 21, 2022, 17:58:43 PM
I have a product that has multi variants. Where you can set the color and size of the product. It works great, but I want it to be a bit more clear to the end user. Is it possible to show every option instead of '-- select --'.. See screenshots for example.

(https://i.imgur.com/O7dMGcl.png)
(https://i.imgur.com/bBsH7fS.png)

I want the -- select -- to be gone, because that is redundant. Also I want the sizes to display immediately. I checked the customfields.php sublayout but I am not sure what I nned to change. Someone has an idea?
Title: Re: Multi variant, show all available fields
Post by: pinochico on April 21, 2022, 18:26:39 PM
breakdesign
customfiled for all
customfield pro
stock

demo:
https://www.archivbox.cz/archivni-krabice-cz-r074
Title: Re: Multi variant, show all available fields
Post by: Jörgen on April 21, 2022, 19:23:48 PM
If You assign a "start" choice on the parent item you will get rid off the select option.

Have You checked this. Let the parent be a selectable choice.

Jörgen
Title: Re: Multi variant, show all available fields
Post by: Kuubs on April 21, 2022, 19:44:25 PM
Quote from: pinochico on April 21, 2022, 18:26:39 PM
breakdesign
customfiled for all
customfield pro
stock

demo:
https://www.archivbox.cz/archivni-krabice-cz-r074

That looks pretty good, but I'd like to have the native functionality. Where can I see these plugins?

Quote from: Jörgen on April 21, 2022, 19:23:48 PM
If You assign a "start" choice on the parent item you will get rid off the select option.

Have You checked this. Let the parent be a selectable choice.

Jörgen

That is a perfect solution, but I'd like to have it as a collection product sort to speak. Can I somehow change the customfield.php code to make it work the same as this?
Title: Re: Multi variant, show all available fields
Post by: pinochico on April 21, 2022, 21:06:54 PM
QuoteThat looks pretty good, but I'd like to have the native functionality. Where can I see these plugins?

As I wrote:

https://breakdesigns.net