@Phil,
You may also want to check the KB guide about decoration here:
http://kb.x-cart.com/display/XDD/Step+3+-+applying+logic+changes
If you still have questions after reading and watching, do not be confused and just ask us here. I will be glad to explain the concept in more details if needed.
Tony