Metadata value vs key


(Eric) #1

Hi everyone.

 

On a metadata screen there is an option to show on the front end value or key. Is there a way to use keyword instead?

 

What I mean is %metadata_fieldname_key% or %metadata_fieldname_value% I have a case where this would be particularly useful, anyone?


(Nic Hubbard) #2

No following you. What exactly are you asking?


(Eric) #3

Metadata select field essentialy stores key=value right? Example Australia = AUD

On the metadata screen there is an option of what to display on the front end so if I say I want to display key, every time I use keyword to call that metadata field Matrix will display key (Australia)

 

What I am wondering if there is a way to output key or value through keyword rather then a switch on metadata page for example: on one listing when I use metadata keyword I want to output key (Australia) on a different page I would like to output that metadata field as AUD when I put a keyword.

 

It would be great if there was a way to form a keyword like this %metadata_fieldname_key% would output Australia and %metadata_fieldname_value% would output AUD

 

Is something like this exists?


(Nic Hubbard) #4

Yep, you can use exactly what you were thinking:

%asset_metadata_select_key% 
%asset_metadata_select_value%

(Eric) #5

Nic to the rescue Thanks!

 

P.S. Next time I'll just try it first :huh: