
AShop V User Guide32
AShop Software © Copyright 2002 - 2010
Category Tree below.
Search Box Options
· $search = "off"; The search box does not appear in the page.
Example:
<?php
$search = "off"; $categories = "off"; $catalog = "shop.html"; include "catalogue.php";
?>
· $search = "find.html"; The search box is activated and it appears above the product listings. Use
this same include method to create a second page where the search results will appear. The search
results page can be a copy of the catalog page with a different file name or it may be a different
design, but it must exist and it must have this catalogue.php include in the page. In the example file
that is included with the AShop V new installation file package, find.html is simply a copy of the shop.
html page and the file name has been changed.
· $search = "shop.html"; The search box is activated and it appears above the product listings. In this
case, the search results page is same as the catalog= page so that the search results will appear in
the same page. (Change the filename to match the actual file in your site.)
IMPORTANT! For search results to appear in the same catalog page, an if statement must be
added in the php code.
<?php
$search="shop.html"; $categories = "off"; $catalog = "shop.html"; if (!$searchstring) include
"catalogue.php"; else include "search.php";
?>
Include the Category Tree
Include Category Tree In Catalog Page
Include the category tree in the same page where catalogue.php is included by inserting this PHP tag
into the page.
<?php
include "includes/categories.inc.php";
?>
Include Category Tree In Site Navigation
The category tree may be included in site navigation by adding a catalogue.php="shop.html" parameter.
This parameter points to the page where the product listings are to appear. For example, when the
category tree is in a page that does not have any way to show products and a category is selected, the
product listings for that category need a place to appear in a page. In these examples the product listing
page is shop.html. Change this to match the actual product listing page(s) in your site.
Insert the following php statement to include the category tree in a page where the catalogue.php include
is NOT present in the same page. IMPORTANT! The $catalog variable must precede the categories.inc.
php include in this php statement.
<?php $catalog = "shop.html"; include "includes/categories.inc.php"; ?>
This example will make all links in the category list open in the shop.html page. Change the $catalog=
variable to match the actual page in the site. The page that the catalog= variable points to must either be
urenrjrjkvnm
Med
Hello! Crazy discounts, hurry up! We are Drop Dead Studio and our goal is to help companies achieve impressive sales results through automated marketing. I. We sell fresh databases for GSA Search Engine Ranker. • The databases are updated monthly through 24/7 parsing and by connecting purchased databases from other sources. • You have the option to purchase a one-time fresh database or pay for a lifetime subscription for updates. ATTENTION! 40% discount only until 04/10/2024! When ap
Want to improve your SEO rankings and save time? Our premium databases for XRumer and GSA Search Engine Ranker are just what you need! What do our databases include? • Active links: Get access to constantly updated lists of active links from profiles, posts, forums, guestbooks, blogs, and more. No more wasting time on dead links! • Verified and identified links: Our premium databases for GSA Search Engine Ranker include verified and identified links, categorized by search engines. This mea