SysDataNet.com   Guided Tour
  SDNStore for DotNetNuke  
  Main Menu
             
Custom Fields Module to implement an Estate Agency
This module allows to customise the names of some product fields and making a search by those fields.
This document will show how to use them to implement an Estate Agency (it needs SDN Store 02.02.25 or higher).
First of all, you need to add the SDN Custom Search and the SDN Custom Results modules on the same page.
Then, go to the Product Admin page to create a new Listing and setting up the Custom Fields (SDN Store Admin --> SysDataNet Store: Products --> SysDataNet Store: Products Admin):
Click on the 'Add New / Edit Category' to create a new category called 'Buying'
Click on the 'Add New / Edit Category' to create a new product.
Click on the little pencil icon to edit the new product. In this example we have set up only: Model Name, Unit Price, Model Number and Long Description, where Model Name and Description will be shown on the Product List Page, Long Description will be shown on the Product Details Page while all the others product properties will be ignored.
To edit the custom fields click on the little wizard icon.
On this page, click on the Edit Labels to rename the custom fields: Money1, Money2, and so on. In this example we renamed Money1 to 'sale price', Money2 to 'rent per month', Numeric1 to 'bedrooms', Text1 to 'location', Text2 to 'property type', Text3 to 'furnishing'.
Click on the 'Edit this List' link to add the options, for example for bedrooms, add 1,2,3,4,5,6,7; for property type: house, flat and so on. These values will be shown on the Custom Search as criteria to filter the search.
In the Custom Search, rename the custom fields in the same order you did in the Product Admin by clicking on the little yellow star icon. Select the category Buying (so the Custom Search will search only on this category), make visible only those custom fields you need, set up an order and then click on 'Save Setting'
In Admin mode all the custom fields are visible, while in guess mode only those whose Visible field is ticked. Also the search will consider only the visible fields.
Now, custom the Custom Result Page showing only the Small Picture, Model Name and Description and the Product Details Page to show only the Long Description and Back link.
Now, the same logic applies if we want to add listing for the Renting section: we need to create a new category called Renting, set the rent per month into the Custom Field called rent per month, set up new custom fields if required, create a new page where to add the Custom Search and Custom Results modules, making visible only the custom fields needed and select the Renting category which it guarantees that in the listing from Buying and Renting will not be mixed up in the search.
  ©2002-2008 SysDataNet.com - All Rights Reserved.