Hi

I am trying to use cutom formatters to make text fields take tokens. I dont know if this is supported or if there is another way i can achieve this. i am trying to find a solution to make my ubercart attribute option to take tokens for option names.

Thanks

Comments

Deciphered’s picture

Status: Active » Fixed

If you mean that you wish to have a token that is placed in a text field render out the value, yes, you could do that with a PHP custom formatter, something like:

return token_replace($items[0]['value']);

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.