With the new code base in the WebSphere Commerce Aurora starter store it is even easier to modify things like the Home page. If you have not seen the Aurora store front you can check out a three minute YouTube video I posted showing the slick new look here. Basically all of the store “templates” are now abstracted out into a single folder and are individual JSP pages. If you want to learn how to create a new template for a page “type” you should check out this great article by Drew Harvey. In Aurora, there are several different template types out of the box:
You can have as many page templates for a specific category as you would like. This way you can have different extended sites or categories in a single site have their own look and feel/layout.
In the developer version the page templates are located in this directory:
What I want to do is instead of actually creating an alternative layout, I just want to modify the existing template. I want to get rid of the banner ad on the home page:
So what I am going to do is remove this particular eSpot. I could blank it out using a web activity but I want to make sure there is little to no space between the category navigation and search bar and the next advertisement and I also don’t want a business user from putting content there. So I will modify the file HomePage.jsp in the directory above and remove the following block of code:
<!-- Start Double E-Spot Container --> .... ALL CODE IN BETWEEN <!-- End Double E-Spot Container --->
This will then have a home page look and feel like so: