I would like to alter the way Satchmo's URLs are set up. There is only one category in the store I'm making -- shirts -- so I would like the shirts to be listed under "/shirts/", and each individual one to reside at "/shirts/slug/" (and disable the index of categories).
I'm aware of replace_urlpattern, which can make an existing URL point to a new view, but I haven't been able to find any information about doing the reverse: changing the URLs that lead to existing views. I have set the product slug in the settings to "shirts", which solves the second issue, and used replace_urlpattern to make the category index point to a custom view with raises a 404 error, which solves the third. (It might be a bass-ackwards way of doing things, but at least it does work.) However, I'm still left with "/category/shirts/" instead of just "/ shirts/". Setting the category slug to blank makes it "//shirts/", which is frustratingly close. Am I just missing something obvious here? Any help is appreciated. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
