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)
-   -   Manufacturers Module - Option box need it (https://forum.x-cart.com/showthread.php?t=37616)

ADDISON 02-16-2008 06:43 AM

Manufacturers Module - Option box need it
 
Hi Folks,

I have around 30 Brands (Manufacturers) inserted in my store. I have a problem with Manufacturers Module. All the Brands are listed there. The list is very long and takes a lot of space in my layout.

1. Did anyone create a form with an drop down for choosing a Manufacturer? I need a solution with Select button and without select button (automatically selection).

2. I need to have Sort by the Brand (Manufacturer) selector in Categories and Search page. In this moment there are only Product Name, Price, Default. Did anyone find a solution for this issue?

Thanks.

TelaFirma 02-16-2008 07:19 AM

Re: Manufacturers Module - Option box need it
 
Quote:

Originally Posted by am2003

2. I need to have Sort by the Brand (Manufacturer) selector in Categories and Search page. In this moment there are only Product Name, Price, Default. Did anyone find a solution for this issue?

Thanks.


We have a Narrow by Manufacturer module (http://forum.x-cart.com/showthread.php?t=35108)

ADDISON 02-16-2008 07:20 AM

Re: Manufacturers Module - Option box need it
 
Thanks but I am looking for some free stuff.

TelaFirma 02-16-2008 07:27 AM

Re: Manufacturers Module - Option box need it
 
Quote:

Originally Posted by am2003
Thanks but I am looking for some free stuff.


There are some people that have been talking about it in this thread: http://forum.x-cart.com/showthread.php?t=31168

ADDISON 02-16-2008 07:31 AM

Re: Manufacturers Module - Option box need it
 
Thanks for this link.

I checked your website. You have very nice interesting mods. I will think about for the future to buy all/some of them.

twinster 02-20-2008 03:21 AM

Re: Manufacturers Module - Option box need it
 
Hi am2003
have you been able to work out a simple solution as it might help me too.

Thanks
Twinster

ADDISON 12-07-2008 11:22 AM

Re: Manufacturers Module - Option box need it
 
Almost 10 months from my post. As you may already informed Telefirma is gone from the desk.

Anybody made this happened for a noble cause?

JWait 12-09-2008 04:29 AM

Re: Manufacturers Module - Option box need it
 
We have dozens of manufacturers. While not exactly what you want, here is our solution....
skin1/modules/Manufacturers/menu_manufacturers.tpl
Code:

{if $manufacturers_menu ne ''}
{capture name=menu}
<form name="form_manuf" method="get" action="manufacturers.php">
<select size="12" name="manufacturerid" onchange="document.form_manuf.submit()">
{section name=mid loop=$manufacturers_menu}
<option value="{$manufacturers_menu[mid].manufacturerid}">{$manufacturers_menu[mid].manufacturer|truncate:18:"...":true}</option>
{/section}
</select>
</form>
{/capture}
{include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_manufacturers menu_content=$smarty.capture.menu}
{/if}


What it does is makes a "scroll box" that lists your manufacturers.

The <select size="12".. specifies how many manufacturers are displayed at one time. In this case it is 12 manufacturers high.

The {$manufacturers_menu[mid].manufacturer|truncate:18:"...":true} specifies how long the displayed name is (so it will fit in your column and not wrap). In this case it is 18 characters long.

ADDISON 12-12-2008 11:31 AM

Re: Manufacturers Module - Option box need it
 
JWait I have 28 manufacturers and I would like to create a form to chose one of them with one click. Listing all 28 it takes a lot of space. Hope it is clear for you.

Did you solution solve this issue?

jr_halli2 12-12-2008 02:01 PM

Re: Manufacturers Module - Option box need it
 
Jwait - i have a similar issue and would like to see how your solution looks. Can you post a link?


All times are GMT -8. The time now is 04:42 PM.

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