Well we are currently recoding parts of modx to do what we need it to do. In this case it’s e-commerce. We’ve added a products bit. The products are linked to the modx pages which use a custom template called "product-category-tpl". So you could have a page called "Living room furniture" and it will link to the relevant product category (ie: product category).
We had to do it this way because of the way a client wanted it to work.
So, as each page acts like a display showing products linked to that page, they all go off to the same generic product page, which has to be renamed from "untitled document" to whatever product you’re on.
I figured out that you can use
$modx->documentObject['pagetitle'] = "HELLO WORLD";
in a snippet to change the page title, but this not affect breadcrumbs as they take their data from the database.
Here, in a text diagram is what I’m trying to do;
"modx created page" (links to ->) a product category (which is a parent of ->) products
The user (not admin) goes to the modx created page, clicks to find out more info and is taken to a generic product page which has all the relevant info for that product and can be added to a cart.
I hope this helps