Announcement

Collapse
No announcement yet.

"IF" clause in templates

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

    "IF" clause in templates

    Could anyone please tell me how I could incorporate the following in my templates...

    If "Can be ordered online" is set to No, put text "TEMPORARILY OUT OF STOCK"
    Else put text "IN STOCK".

    I'm sure it is simple, but I am more simple

    Thanks to anyone who can help.
    Last edited by richardh9999; 21-Sep-2007, 07:35 AM. Reason: mistype
    Richard
    www.worldofenvelopes.com

    #2
    Richard,

    You are in the V7 forum and V7 does not use <blockif> statements. Can you confirm whether you are using V7 or v8?
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    Comment


      #3
      yes, V7 I'm afraid.

      Does that mean I cannot do it?
      Richard
      www.worldofenvelopes.com

      Comment


        #4
        No, it just means you have to do it in javascript and it will only work for those with javascript enabled in their browser.

        there are plenty of previous threads on this. Here's one to get you started:

        http://community.actinic.com/showthread.php?t=20588

        Mike
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment


          #5
          Richard,

          I don't have a copy of V7 here but I would imagine there is a template/area in Design | Text that controls what displays when 'Can be ordered online' is unchecked. No doubt someone will be along soon who can advise, a search in the templates may help though, or you could search through Design | Text for relevant keywords
          Cheers

          David
          Located in Edinburgh UK

          http://twitter.com/mcfinster

          Comment

          Working...
          X