Developer forum

Forum » Feature requests » Custom/More fields for variants

Custom/More fields for variants

Nuno Aguiar
Reply

Hi,

 

Specially working with colors as variants, we need to set variant ID, variant name, variant hex code.

 

Would be nice if we could do that in the UI.

 

Best Regards,

Nuno


Replies

 
Nicolai Høeg Pedersen
Reply

Use extended variants for this. In this way you can have all the fields you want.

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Either it's a feature I am not aware of, or you did not understand what I am requesting. In attach you can find a quick example.

 

What I am asking for is constant values based on a variant.

 

The idea behind this is; imagine you have a shoe shop. Colors and Sizes are 2 variant groups you have.

  • Color variants have a ERP code as ID: ex: Black = GBLK and Name = Glossy Black
  • Size variants go from 34 to 45
  • To represent the black hexcode (or image) in the frontend, we will need to assign a value to all variant records that have GBLK in the variant combination
    I want set it once on the variant set up and have it applied to all products that have that variant in their variant combinations, but just for a specific color

 

Hope it makes sense.

 

Best Regards,

Nuno

Variants.jpg
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I like this idea; this way we can store meta data on the variant option instead of on each variant product individually.

Imar