How can I put a catalog widget on my home page or any other page?

There are a few simple steps to achieve this. In our example, we'll update the home page of our Sophio store.

1. Open the file index.wws stored in your templates folder. You can do this in the file manager or you can download it via FTP.

2. Scroll to the bottom of the file and look for the tag. Directly above it on a blank line insert this code:

 

3. The script above will hide the 'search' button in the widget. If you wish to have a search button in the widget, change 'sophioIMCVehicle.lcreateSearchButton=false' to 'sophioIMCVehicle.lcreateSearchButton=true'

4. Find the spot in your code where you want the widget to display; insert the code below:


5. An optional thing to do is to remove the 'header' that displays 'shop by vehicle'. To do that, insert the code below directly below the

#imc-defpage-parts-lookup-title {display:none !important}</div> <div>#imc-defpage-parts-lookup-lookup-form {background:transparent !important; border:none !important}</div> <div>

6. The last step is to insert this line of code below the <div><br /></div> <div><% IncludeWidget("SophioAjaxParts.wws","sophio-shared-assets/widgets/") %></div> <div><br /></div> <div>7. A Save the file and refresh the page. A You should be in good shape.</div> <div><br /></div> </p></body>
Was this answer helpful? 0 Users Found This Useful (4 Votes)