Shopping Cart Software

Shopping Cart Software UK Customised Version of ClickCartPro 6
corner image corner image

Mini Online Search All Words


This change will cause the quick search feature to use all of the words that are entered to be searched for.

In admin under:

(UK Version) Home > ClickCartPro (GBU) > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes
(US Version) Home > ClickCartPro > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes

Select Update next to the Mini Search Display. Replace the contents of the Include File Contents field with the code shown below.

<?php 

$app       = $this->globals('khxc_display.app');
$eol       = $this->globals('khxc.eol');
$formid    = $app . '--minisearch';
$strid     = $app . '--prodsearch--string';
$link      = $this->link_namespace($app,'prodsearch',array());
$typeid    = $app . '--prodsearch--type';
$cgi_value = '';

$this->xhtml_quickform_header($formid,$app,'prodsearchp',array());

print '<p class="hidden"><label for="' . $app . '--minisearch--' . $strid . '"';
print '>Search Term</label></p>' . $eol;

print '<p class="inline"><input class="khxc_quickfield" type="text" name="' . $strid;
print '" id="' . $app . '--minisearch--' . $strid . '" value="';
print $cgi_value . '" size="22" maxlength="100" /></p>' . $eol;

print '<p class="hidden"><input class="khxc_quickfield" type="text" name="' . $typeid;
print '" id="' . $app . '--minisearch--' . $typeid . '" value="ALL" /></p>' . $eol;

$this->xhtml_quickform_footer($formid,'Online Store Search',1);

print '<a class="unfancy" href="' . $link . '" title="Advanced Search">Advanced Search</a>' . $eol;
?>


CategoryAdministration

There are no comments on this page. [Add comment]

corner image
Valid XHTML   Valid CSS   w3c wai aa
GreenbarnWeb.com © 2001 - 2009
corner image
Page was generated in 0.0168 seconds