Ok, i’ve been researching all night. So much to learn, I’ve never worked with an MVC platform before.
One main question I have is:
where in the heck does the ‘core_url_rewrite’ table in the database get queried? I am trying to figure out how a url gets converted from the seo version to the mvc version. In /core/model/url/rewrite.php I found references to a ‘getTargetPath’ function, however I couldn’t find this function anywhere grepping through code.
At any rate, here is my current plan of action. Any thoughts on weather or not it will work (or any comments at all, really) would be much appreciated:
- add catalog_product_viewAjax element to catalog.xml layout file, setting the template to a blank one (so nothing but the product content is returned)
- add viewAjaxAction function to the ProductController.php file
The last one is what gets me. What should be in this function? Is it needed?
Please comment if you have done anything remotely similar to this before, or if it looks like it will work, or I am forgetting anything. Thanks!