| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Category/Price Filter/Search Block | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Product Category/Price Filter/Search Block
Hi,
I am looking to create a block for the left-hand-side column of my website. I want the user to be able to specify the category and price range that they'relooking for and upon submit, the result set is displayed. I have been looking at adapting the advanced search functionality for this, but this requires that you specify a search string. I want to provide a drop-down menu of the categories, the price range fields and a search button only. Can anybody suggest how this could be achieved, or let me know if/where this has been done before? Many thanks in advance for your help and suggestions,
__________________
---------------------------------------- Looking for helpful pointers with his x-cart installation X-Cart version 4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
Re: Product Category/Price Filter/Search Block
Hi - My Solution is as follows. Perhaps this will help others:
I created a template file in my skin (theme) directory and included it where I wanted it. The file contents are: Quote:
I adapted the advanced search and made some of the fields hidden to simplify it basically.
__________________
---------------------------------------- Looking for helpful pointers with his x-cart installation X-Cart version 4.1.8 |
|||||||
#3
|
|||||||
|
|||||||
Re: Product Category/Price Filter/Search Block
A vote of thanks to the 'baron'. Have been looking for this a while now but wasn't sure how to code it. Saved me a lot of head scratching. As I wasn't sure on where to put the file I did the following.
Saved it as gift-finder.tpl directly in the skin1 folder. Modded the home.tpl in the skin1/customer folder to put it under the categories with. {include file="customer/categories.tpl" } <br /> {/if} {include file="gift-finder.tpl" } <br /> And it worked right out of the box. Many thanks |
|||||||
|
|||
X-Cart forums © 2001-2020
|