View Full Version : Inventory List: Sorting the list by price, date, property type, status of sale

09-26-2001, 12:50 PM
One of the easiest ways to link from your website to your tours is to place a link on your site to your inventory list of tours.  In that way, each time you add or remove a tour, there is no need to update your website since the inventory list remains updated automatically.

This memo will show you how to sort that inventory list by price, date, status of the sale, or property type.

To see specific inventory list links you can copy and paste, log into your VisualTour.com account, and after clicking &quot;My Tours,&quot; click the LINK button next to any tour, but a normal link to your inventory would point to:<br><a href="http://www.visualtour.com/inventory.asp?u=2296"><b>http://www.visualtour.com/inventory.asp?u=2296</b></a><br>(although the 2296 at the end would be replaced with your own account number).

This link would bring up a list of all your tours sorted by date in descending order (newest tours first).&nbsp; You may add one or more of the following parameters to the link (or any link you copy/paste) to sort the list as you wish.

<b>Sorting Parameters</b> <br>a = ascending, d = descending u = your user id <br><br>s= [a|d] 1=Price, 2=Date (Default), 3=Status, 4=PropertyType <br>s2= [a|d] 1=Price, 2=Date (Default), 3=Status, 4=PropertyType <br>s3= [a|d] 1=Price, 2=Date (Default), 3=Status, 4=PropertyType

Placing an &quot;a&quot; or &quot;d&quot; after each number determines whether the list will sort in ascending or descending order for that parameter.&nbsp; If no letter is specified, the sorting will be in descending order.

<b>Examples:</b><br><br><a href="http://VisualTour.com/inventory.asp?u=2296&amp;s=1d" target="_blank"><b>http://VisualTour.com/inventory.asp?u=2296&amp;s=1d</b></a> will sort by price descending.<br><a href="http://VisualTour.com/inventory.asp?u=2296&amp;s=2d" target="_blank"><b>http://VisualTour.com/inventory.asp?u=2296&amp;s=2d</b></a> will sort by date descending.<br><a href="http://VisualTour.com/inventory.asp?u=2296&amp;s=3d" target="_blank"><b>http://VisualTour.com/inventory.asp?u=2296&amp;s=3d</b></a> will sort by status descending.<br><a href="http://VisualTour.com/inventory.asp?u=2296&amp;s=4d" target="_blank"><b>http://VisualTour.com/inventory.asp?u=2296&amp;s=4d</b></a> will sort by property type descending.<br><a href="http://VisualTour.com/inventory.asp?u=2296&amp;s=1d&amp;s2=4a" target="_blank"><b>http://VisualTour.com/inventory.asp?u=2296&amp;s=1d&amp;s2=4a</b></a> will sort by price descending THEN by property type ascending.<br><a href="http://VisualTour.com/inventory.asp?u=2296&s=2a&s2=3d&s3=1d" target="_blank"><b>http://VisualTour.com/inventory.asp?u=2296&amp;s=2a&amp;s2=3d&amp;s3=1d</b></a> will sort by date ascending THEN by status descending THEN price descending.</p><p><b>Bonus Information:</b><br>In addition to sorting the inventory list, you can also filter it in numerous ways. &nbsp; By filtering it, you can specify the list to display only properties in certain price ranges, of a minimum size, of only certain property types (so you could have separate lists for single family homes vs. condos), and many other criteria.&nbsp; <a href="http://forums.visualtour.com/showthread.php?s=&threadid=127"><b>Click Here</b></a> to view the complete list of ways to filter your tour inventory list.<br><br>Be sure to also read our <a href="http://forums.visualtour.com/showthread.php?postid=41&t=6006#post41"><b>Customizing the Inventory List</b></a> memo for information on altering the color scheme of the inventory list as well as adding background and header graphics.