View Single Post
  #12  
Old 12-03-2008, 06:12 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: changing template

As for search
HTML Code:
<form name="productsearchform" action="your_domain/pathtoyourstore/search.php" method="post"> <input type="hidden" value="Y" name="simple_search"/> <input type="hidden" value="search" name="mode"/> <input type="hidden" value="Y" name="posted_data[by_title]"/> <input type="hidden" value="Y" name="posted_data[by_shortdescr]"/> <input type="hidden" value="Y" name="posted_data[by_fulldescr]"/> <input type="hidden" value="all" name="posted_data[including]"/> <input type="text" value="" name="posted_data[substring]"/> <input type="submit" /> </form>

Featured products is a little bit complex.
PHP Code:
require ("/pathtostore/auth.php");
include (
"/pathtostore/featured_products.php"

and array $products will contains featured products.
Surely you should change your_domain and pathtostore to it's actual values
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote