Adding More Related Items
The following instructions will work on any version of SiteBuilder:
-
In the related.php page in the /storeadmin/ area, find the line:
for ($getrelcount = 1; $getrelrow = mysql_fetch_row($getrelresult),$getrelcount <= 5; ++$getrelcount)
and change the 5 to the number of related products you want to display.
-
Open the items.php page in the /storeadmin/ folder, and find the line:
for ($count = 1; $count <= 5; ++$count)
and again change the 5 to the same number as in step 1.
-
Open the itemlist.php page in the /storeadmin/ folder, and find the line:
for ($count = 1; $count <= 5; ++$count)
and once more change the 5 to the same number as in step 1.
Important! In version 2.72 or higher, a client can choose to have related items display with images. These products will show horizontally across the page, but will not wrap to the next line. If you add more than 5 related items, this may add a horizontal scroll to a client's page if the related images setting is used.