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
  #11  
Old 11-05-2003, 05:18 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Yeah I Love It... I just wonder why it wasn't that way to start with
__________________
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
  #12  
Old 11-05-2003, 05:19 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

I agree.
Reply With Quote
  #13  
Old 11-05-2003, 07:21 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

I sell dvds, I just put genre or year name in description and it shows up perfect in search engine.

But you may also want to try boomer's product sort mode, you can use extra field and put up manufacture name in it. and in product list you will have option in dropdown box to sort it by manufacture, price, free shipping, popular, ratings..
Reply With Quote
  #14  
Old 11-07-2003, 08:02 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Ok, here's what I came up with. Add this code (your modified version) using links as DogByteMan illistrated (and already in the code below) to your skin1/customer/categories.tpl. Add it toward the very bottom between the
and {/capture} tags.

This is the code to add:

Code:
<p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#CC0000">Manufacturer Search</font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt"> <a href="http://www.yoursite.com/xcart/customer/search.php?substring=safariland"> Safariland</a></font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt"> <a href="http://www.yoursite.com/xcart/customer/search.php?substring=bianchi"> Bianchi</a></font></p>

So the whole file should look like this:

Code:
{* $Id: categories.tpl,v 1.18 2003/02/25 08:58:46 olga Exp $ *} {capture name=menu} {if $config.General.root_categories eq "Y"} {section name=cat_num loop=$categories} <font class=CategoriesList>{ $categories[cat_num].category_name|escape }</font> {/section} {else} {section name=cat_num loop=$subcategories} <font class=CategoriesList>{ $subcategories[cat_num].category_name|escape }</font> {/section} {/if} <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt" color="#CC0000">Manufacturer Search</font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt"> <a href="http://www.yoursite.com/xcart/customer/search.php?substring=safariland"> Safariland</a></font></p> <p style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" style="font-size: 9pt"> <a href="http://www.yoursite.com/xcart/customer/search.php?substring=bianchi"> Bianchi</a></font></p> {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }

This will enable you to add a drop down menu if you like as well. You can see what it looks like here: http://store.realpolice.net

One other thing: I added the manufacturer name to each title of every product which will obviously help in the searches.
Reply With Quote
  #15  
Old 11-07-2003, 08:16 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Like I've said before....

What's next bluecat???

Good Job
__________________
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
  #16  
Old 11-07-2003, 08:31 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

lol, but honestly, the head.tpl.
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 08:00 PM.

   

 
X-Cart forums © 2001-2020