I’ve spent a few weeks with the platform, created a very tricked out custom store and essentially ended up building myself a very complicated trap. I was ripping out chunks here, jury-rigging code there and by the time I got done I had a real mess on my hands. The solution was to just do a clean install and try and work in a more “by-the-book” fashion.
My biggest problem is this: I’m still not 100% certain on what the XML does. I know that it regulates the display of “blocks”, but how is that different from the pHTML? The tutorial in the template is to move the cart into the left column- Well, okay. But why didn’t I just do that in the pHTML code?
Is it because the XML acts as a kind of “style-sheet” for the display of blocks, in the same way that CSS regulates the physical orientation of the blocks?
I guess I’m just confused as to where the XML really comes into play.
Also, is there a resource for understanding what controls what? For example, if I’m in the Catalog page, I’m guessing that Catalog.xml is the place to look. But what about when viewing a single product? What XML doc is that controlled by?
Any thoughts/theory/101’s are greatly appreciated.