Announcement

Collapse
No announcement yet.

referencing customvar property names

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    referencing customvar property names

    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

    #2
    Hi there

    I am guessing that you have inserted the Customvars on the productline template?

    If so, could you not use a productline template that does not have your table and customvars in it for those products that do not require a weight?

    Hope this helps
    Darren

    SellerDeck

    www.sellerdeck.co.uk

    Comment

    Working...
    X