Hello,
I have succesfully modified my templates to call up a series of customvars.
I have laid them out in a nice table eg
Depth: CUSTOMVAR: DEPTH
Height: CUSTOMVAR: HEIGHT
The problem is, these properties are not appropriate for all products, but I am stuck with the hardcoded "Weight:" etc on every page.
In order to make them disappear when null, I thought I might be able to reference
CUSTOMVAR:HEIGHT.Name
or
CUSTOMNAME:HEIGHT
etc
But I can't seem to do this (Maybe I am missing something?)
The only option I can think of at the minute is to make two sets of custom properties for each value - so I would have
CUSTOMVAR:HEIGHTTITLE (which would display "Height:" or null)
CUSTOMVAR:HEIGHTVALUE (which would display "650mm" or null)
It seems a bit complicated, especially as under the Custom Properties there is already a "human name" for each property, alongside the Uppercase-nospace version ....?
Is there a better way/Am I being stupid?
Thanks :-)
Thirzah
I have succesfully modified my templates to call up a series of customvars.
I have laid them out in a nice table eg
Depth: CUSTOMVAR: DEPTH
Height: CUSTOMVAR: HEIGHT
The problem is, these properties are not appropriate for all products, but I am stuck with the hardcoded "Weight:" etc on every page.
In order to make them disappear when null, I thought I might be able to reference
CUSTOMVAR:HEIGHT.Name
or
CUSTOMNAME:HEIGHT
etc
But I can't seem to do this (Maybe I am missing something?)
The only option I can think of at the minute is to make two sets of custom properties for each value - so I would have
CUSTOMVAR:HEIGHTTITLE (which would display "Height:" or null)
CUSTOMVAR:HEIGHTVALUE (which would display "650mm" or null)
It seems a bit complicated, especially as under the Custom Properties there is already a "human name" for each property, alongside the Uppercase-nospace version ....?
Is there a better way/Am I being stupid?
Thanks :-)
Thirzah
Comment