I don't understand how (and if?) I can access a DataObject's properties inside the controller.
I've got a shopping cart page and products that have a property "Price". I can populate the shopping cart and read the product's "Price"-property in the template, that's no problem. But how do I add the prices of the different products? I have to do that inside the controller and none of these work:
I also tried writing a getPrice-function into the DataObject, but that doesn't work either. Does anybody know what I'm doing wrong?
Thanks for your help!