Hello, I want to make a blockif in a product layout which tests to see if the product's price is 123456789 so I can do something special if that's the price.
Something like this:
<block if: price != 123456789>
Price Layout As Normal
<end block>
<block if: price == 123456789>
Please call us for the real price.
<end block>
But when I try to use the price variable it always seems to print out "{£21.28}" with the curly braces and always that price no matter what the real price for the product is.
So am I using the wrong price variable or something?
I also tried using the TaxExclusivePrice variable. When I print that out in the design it looks like £1,234,567.89 but if I try to equate that variable to that string, the block doesn't seem to return true (nothing inside the block is printed) even on products with that price.
Has anyone got any tips?
Cheers, Toby
Something like this:
<block if: price != 123456789>
Price Layout As Normal
<end block>
<block if: price == 123456789>
Please call us for the real price.
<end block>
But when I try to use the price variable it always seems to print out "{£21.28}" with the curly braces and always that price no matter what the real price for the product is.
So am I using the wrong price variable or something?
I also tried using the TaxExclusivePrice variable. When I print that out in the design it looks like £1,234,567.89 but if I try to equate that variable to that string, the block doesn't seem to return true (nothing inside the block is printed) even on products with that price.
Has anyone got any tips?
Cheers, Toby
Comment