Hi, Unregistered.

T-Shirt Forums
User Name
Password

Need to Register?

Forgot Your Password?

Site Navigation


More Info

+   T-Shirt Forums > T-Shirt Selling > Ecommerce Site Design


Register for T-ShirtForums.com Today! Register for T-ShirtForums.com Today! Register for T-ShirtForums.com Today! Register for T-ShirtForums.com Today!

Discuss website design for ecommerce sites, useability, navigation and other development considerations

need some site help



 
LinkBack Thread Tools
Old May 20th, 2008 May 20, 2008 10:43:55 AM -   #1 (permalink)
T-Shirt Lover
T-Shirt Fan

3mrhythm's Avatar
 
Member Since: Apr 2008
Posts: 61
Thanks: 2
Thanked 0 Times in 0 Posts


Default need some site help

i just launched my site couple days back and have been tweaking it ever since.. (see sig for site)

The only thing i want to tweak now is to remove the browse by brand drop down.. Since we only offer our brand clothing.

I was thinking maybe leaving the drop down and making it chose by category.. anyone know how to do that?

here is the code for the drop down from my index page

Quote:
<? // ---- MANUFACTURERS




$manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name");
if ($number_of_rows = tep_db_num_rows($manufacturers_query)) {

echo ' <table cellspacing=0 cellpadding=0>'.
tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get')
.'<tr><td background=images/m19.gif width=229 height=36 class=bc> &nbsp; &nbsp; &nbsp; &nbsp; <b>Browse by Brand:</b></td></tr>
<tr><td>
<table cellspacing=0 cellpadding=0 width=195 align=center>
<tr><td colspan=2 height=20></td></tr>
<tr><td align=right>
';

$manufacturers_array = array();
while ($manufacturers = tep_db_fetch_array($manufacturers_query)) {
$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN) . '..' : $manufacturers['manufacturers_name']);
$manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'],
'text' => $manufacturers_name);
}

echo tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($HTTP_GET_VARS['manufacturers_id']) ? $HTTP_GET_VARS['manufacturers_id'] : ''), 'onChange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" class=se') . tep_hide_session_id();
echo ' </td><td align=left valign=top>&nbsp;<input type=image src=images/m23.gif width=34 height=19></td></tr>
<tr><td colspan=2 height=20></td></tr>
</table>
</td></tr>
</form>
</table>
';


}
?>
 
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old May 20th, 2008 May 20, 2008 11:27:00 AM -   #2 (permalink)
T-Shirt Lover
T-Shirt Aficionado

SeasonEnds's Avatar
 
You can call me: Eric
Member Since: Sep 2007
Location: Cincinnati, Ohio
Posts: 278
Thanks: 3
Thanked 13 Times in 12 Posts


Default Re: need some site help

Right now, the form "manufacturers" just sends you to the index.php page. You need to get rid of that action and add other values that link to the category you want.

Check out this article
Lisa Wollin : Creating a drop-down list that links to other pages

Good luck!
 
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old May 20th, 2008 May 20, 2008 11:34:04 AM -   #3 (permalink)
T-Shirt Lover
T-Shirt Fan
Thread Starter

3mrhythm's Avatar
 
Member Since: Apr 2008
Posts: 61
Thanks: 2
Thanked 0 Times in 0 Posts


Default Re: need some site help

thanks ..i'll look at it
 
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati


This is a discussion about need some site help that was posted in the Ecommerce Site Design section of the forums.

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Site Map/Site Search/Newletter Builders tshirtnewbie Ecommerce Site Design 0 October 5th, 2007 03:00 PM
On-site shopping cart but keep site design intact? shopredsox.com Ecommerce Site Design 8 February 13th, 2006 05:06 AM


All times are GMT -8. The time now is 10:26 PM.


Copyright 2004-2008 T-ShirtForums.com. All rights reserved.