Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 Forum Locked
Author « Topic »  

Vince
Administrator

Spain
42756 Posts

Posted - 06/25/2019 :  04:27:50  
The v7.1.2 updater is now available for ASP / PHP.
The following changes have been made...

Please note that you can upgrade from any previous version to the latest version in just one go! You don't have to install all updaters between your version and the current version.
https://www.ecommercetemplates.com/updaters.asp

Incremental Search

We've now added an Incremental Search feature to the search page, so as your customers type in the search text box, the best matches appear based on what they are typing. This will make it much easier and quicker for your customers to find your products when shopping at your store. This feature is enabled by default but can be disabled if you so wish by using the following parameter in your includes.asp/php file ...
$noautosearch=TRUE;
noautosearch=TRUE
By default the top 14 matches are displayed, but this can be overridden with the parameter...
$maxautosearch=14;
maxautosearch=14
Product ID's, Product Names and SKU's are searched, and closer matches will be displayed at the top of the results.

Vince

CSS / JS Files Changed:
css/ectcart.css
js/ectcart.js

Files changed since previous ASP version:
vsadmin\inc\incfunctions.asp
vsadmin\inc\incsearch.asp
vsadmin\ajaxservice.asp

Files changed since previous PHP version:
vsadmin\inc\incfunctions.php
vsadmin\inc\incsearch.php
vsadmin\ajaxservice.php

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Vince
Administrator

42756 Posts

Posted - 07/02/2019 :  09:48:20  
We've released a Hotfix today to resolve the following issues.

We've updated the Incremental Search code so that it can be used on more than one input on a page. This means you can enable the incremental search in your top navigation search bar as well as having it on the main search page.

Here is an example of how to enable Incremental Search in your top navigation...

All pages that have the Incremental Search should have the ectcart.css and ectcart.js files included.

<form method="post" action="search.php" id="ecttextform">
<input type="hidden" name="posted" value="1">
<div style="position:relative">
<input type="text" maxlength="128" class="search_look" value="" name="stext" id="ecttext" onkeydown="return ectAutoSrchKeydown(this,event,'php')" onblur="ectAutoHideCombo(this)" autocomplete="off" />
</div>
<div class="autosearch" style="position:absolute;display:none" id="selectecttext"></div>
<button class="search_btn" title="Search" type="submit">Search</button>
</form>

The important bits are...
The form which now has the id="ecttextform"
The text input which has the name="stext" BUT id="ecttext"
The text input must be in a div. . . <div style="position:relative">
The actions onkeydown="return ectAutoSrchKeydown(this,event,'php')" onblur="ectAutoHideCombo(this)" (and please note, ectAutoHideCombo now has the parameter "this".
The autosearch DIV . . . <div class="autosearch" style="position:absolute;display:none" id="selectecttext"></div>

You can use any id you like (to have more than two searches on the page) as long as the id you give the text input (ecttext in this case) uses that name with "form" after it for the form (ecttextform) and that name preceeded by "select" for the DIV (selectecttext here).

Files affected:
css/ectcart.css
js/ectcart.js

vsadmin\inc\incfunctions.asp/php
vsadmin\inc\incsearch.asp/php
vsadmin\ajaxservice.asp/php

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
 Forum Locked
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000