Announcement

Collapse
No announcement yet.

Blockif test for Checkout??

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

    Blockif test for Checkout??

    I have a section scoped custom variable that shows different text on the section pages. The variable is placed in the sidebar of the outer layout and the external outer layout is used for all pages.

    I want to expand on this and test if it is a checkout page and then place different text in the same location. What (blockif) test can I use to test that it is a checkout or cart page? (Such isCartPage or isCheckoutPage)

    (I don't want to have to manage another outer layout specifically for the cart and checkout)

    #2
    Duncan,

    You could make use of the 'PageType' variable. So you design the content you want to just appear in the checkout pages and surround it with the following condition:

    (<actinic:variable name="PageType" /> == 'Checkout Page 0') OR (<actinic:variable name="PageType" /> == 'Checkout Page 1') OR (<actinic:variable name="PageType" /> == 'Checkout Page 2') OR (<actinic:variable name="PageType" /> == 'Checkout Page 3') OR (<actinic:variable name="PageType" /> == 'Receipt') OR (<actinic:variable name="PageType" /> == 'PSP Bounce Page') OR (<actinic:variable name="PageType" /> == 'Signature')

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Just what I was after - much appreciated Bruce.

      Comment

      Working...
      X