Yes you were right. I went and started from scratch and tried to did it all through the interface and the problem was sorted when I redid the add to cart. I only tried it manually because my versions of the interface and DW don't always co-operate. The code looks exactly the same but obviously something else was updated that I was unaware of. Anyway thanks for your help Ray, I really appreciate it.