Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We have a simple Velocity if statement asking the cart object if it contains the "fancy_teacup" item.  If it does then we want to output a block of HTML.  The block of HTML is simply a div that spans the entire page properly.  For more information on why the div is formatted this way, please see the article Adding instructional text to the checkout.

Now we'll need to position it properly within the template.  You can see we've placed it just above the output of the cart itself and clicked save.

...