News:

Looking for documentation? Take a look on our wiki

Main Menu

Multiple custom fields with same name

Started by lemmingzshadow, November 26, 2014, 17:24:35 PM

Previous topic - Next topic

lemmingzshadow

Hello,

I'm using Virtuemart 3.0.0 and Joomla 3.3.6:

My question is the following: Is it somehow possible to use the same title for two custom-fields? (Or would it be possible to implement this?)

Here is why: Unfortunately it is not possible to assign one custom-field to multiple groups. So the only way to to this is to create the same custom-field multiple times and assign it to each group. But in this case you an not use the same title.
So it would be nice to a) Make it possible to assign one custom-field to multiple groups or b) use the same title twice.

Regards
Simon

http://yagendoo.com - Virtuemart Templates & Themes

balai

Quoteis not possible to assign one custom-field to multiple groups
What you mean with group?

lemmingzshadow

Hello,

i mean the "custom group". It's a custom-field type which allows you to group multiple custom-fields.
http://yagendoo.com - Virtuemart Templates & Themes

balai

You can use language constants instead of real names as custom field titles. The you can use the joomla's language overrides to give the same value in that constant.

e.g.

title1: COM_VIRTUEMART_SIZE1

title2: COM_VIRTUEMART_SIZE2

Then create 2 overrides:

COM_VIRTUEMART_SIZE1 > value: Size
COM_VIRTUEMART_SIZE2 > value: Size

For more info about lang overrides look here:
http://www.inmotionhosting.com/support/edu/joomla-25/language/add-new-language-override