Announcement

Collapse
No announcement yet.

Blockif Price == '0.00' >>> Change Layout

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

    Blockif Price == '0.00' >>> Change Layout

    Hi

    I wish to have a different layout for products with product price of 0.00

    I was thinking of simply using a BlockIf for 'either/or layout' but <actinic:variable name="TaxInclusivePrice" selectable="false" /> doesn't work in the product layout.

    Has anyone any ideas how this may be accomplished?

    Background: It is a very big site being upgraded - products without prices are used as 'subheaders' in the product list. I really don't wat to go through many dozens of sections changing the layout for these subheader products!

    Thank you!
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    Try using ProductPriceRaw.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Brilliant Norman - Thank you so much.

      Code:
      <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceRaw%22%20%2f%3e%20%3d%3d%200" >
      	Layout 1
      </actinic:block>
      
      <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceRaw%22%20%2f%3e%20%3e%200">
      	Layout 2
      </actinic:block>
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment

      Working...
      X