Hi,
I have recently started my first site
http://www.midlandimports.com using the modx framework and am very impressed
I just have a query regarding friendly urls and my snippet.
The snippet queries an oscommerce (shopping cart) database and pulls back products into Modx depending on a specific Category ID (Template Variable).
The Snippet Call is:
[!OscGetProducts ?CategoryID=`[*categoryID*]` !]
At the minute all returned products are passed to products.html in the form
<a href="/products.html/?product=[+rnProduct+]&id=[+rnID+]>Click Here for Products<a/>
E.g
http://www.midlandimports.com/products.html/?product=Flag&id=29
For SEO reasons, I would however like the productname to be in the the url e.g Flag/product.html. But I do not want to import a thousand products into the database when I could just query them and use product.html to output them.
Any ideas on how to make this work?
Many Thanks
Marcus