Announcement

Collapse
No announcement yet.

Strikethrough - Block If

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

    Strikethrough - Block If

    Hi,

    I'm getting ready for my summer SALE. So reading through all the threads it seems the best way is to create a new variable (RRP) then add this new price variable to the product description using a Block If statement and strikethrough font.
    All was going well until the Block If statement which I can't seem to get to work. Can someone with better knowledge please hold my hand.

    My variable is called "OldPrice" and I want it basically to display this variable if its greater than 0 (i.e. being used) in Strikethrough font.

    thanks in advance

    mat
    Matthew Wildeman
    www.bigmatts.com
    2XL to 8XL Menswear

    #2
    Show us what you have done Matt, we can then correct that for you and you will understand better where you went wrong. Just paste your code into code tags in here.

    Comment


      #3
      Have you tried

      OldPrice != ""

      .. using the "is not empty" route instead....


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Support tell you that?
        That is what i have also done previously, seems the best way from what i can see.

        Comment


          #5
          Originally posted by jont
          Have you tried

          OldPrice != ""

          .. using the "is not empty" route instead....
          that's what I used (when I was playing last night)
          That's assuming you haven't gone through and made entries of 0 for the rest, of course!
          Tracey

          Comment


            #6
            Working Now

            Thanks

            but got it working now. The condition I set wasn't within the block so was display the Old price all the time.
            Got it now.

            I might be slow but I get there in the end!

            Thanks for the help though

            Mat
            Matthew Wildeman
            www.bigmatts.com
            2XL to 8XL Menswear

            Comment


              #7
              Originally posted by leehack
              Support tell you that?
              That is what i have also done previously, seems the best way from what i can see.
              It's in the AUG page 35,5987,206

              It is the best way as it installs better future proofing IMHO ... never know what is around the e-commerce corner.


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment

              Working...
              X