X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Search listings by Brand Name? (https://forum.x-cart.com/showthread.php?t=5081)

DogByteMan 11-05-2003 05:18 PM

Yeah I Love It... I just wonder why it wasn't that way to start with

bluecat 11-05-2003 05:19 PM

I agree. :lol:

jeeya 11-05-2003 07:21 PM

.
 
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..

bluecat 11-07-2003 08:02 AM

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.

DogByteMan 11-07-2003 08:16 AM

Like I've said before....

What's next bluecat???

Good Job =D>

bluecat 11-07-2003 08:31 AM

lol, but honestly, the head.tpl. :)


All times are GMT -8. The time now is 12:56 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.