Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Search listings by Brand Name?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-04-2003, 10:15 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default Search listings by Brand Name?

I apologize if this was answered, but I wasn't able to find anything on it. I want a customer to be able to search listings by a manufacture. I've set up each title so that it first lists the manufacture first then the description (i.e. Safariland - 38" Belt), so when you enter Safariland in the search, it works perfectly. Is there a way I add navigation to list the brands so it's easier for the customer? Thank you.
Reply With Quote
  #2  
Old 11-05-2003, 04:05 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

How about this; can someone tell me which file to edit to directly edit the "Products" section of links? Thanks.
Reply With Quote
  #3  
Old 11-05-2003, 04:11 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

I think this will work for you bluecat.... It did for me

http://forum.x-cart.com/viewtopic.php?t=5971&postdays=0&postorder=asc&star t=0

If they search the manufacturer they will find em...

Or you can link some searches for them.
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #4  
Old 11-05-2003, 04:30 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Hey thanks DobByteMan, I appreciate it. Actually, that was my idea was to add some links with that linked (with a click) on manufacturer names, because that works perfect; I just want to put it in link form. But I will read through that, thanks again!!
Reply With Quote
  #5  
Old 11-05-2003, 04:40 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

The links would be....

usual stuff/customer/search.php?substring=searchword

or

usual stuff/customer/search.php?substring=searchword1+searchword2


Is that what you wanted???
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #6  
Old 11-05-2003, 04:56 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Well, I meant which template can I add those links to so they'll show up in the "Product" menu as normal links to the customer but they'll really be search links for them. When a customer clicks on one, it will search the manufacture. Is that possible?
Reply With Quote
  #7  
Old 11-05-2003, 04:58 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

I think in menu.tpl but I'd wait to see if someone agrees
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #8  
Old 11-05-2003, 04:59 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Yeah I played with that one and it showed up like 6 times under each category, lol.
Reply With Quote
  #9  
Old 11-05-2003, 05:00 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Yeah, you have to place it perfect or it will do that...
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #10  
Old 11-05-2003, 05:10 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

I'll keep on, lol. But thanks for that link, that code definitely helped my searches; now they can search multiple words and get results.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:39 AM.

   

 
X-Cart forums © 2001-2020