gammada Posted October 8, 2005 Posted October 8, 2005 I would like to know how may I add another field like the manufacturers drop-down to my store. Also, I want to make this field searchable. Any ideas? Thanks in advance.
niknakgroup Posted October 8, 2005 Posted October 8, 2005 theres a contrib called manufacturers2 - it needs tweaking to your own requirements and isn't quite complete, but its a very good starting point - see my site for an example of how it works! Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
gammada Posted October 12, 2005 Author Posted October 12, 2005 theres a contrib called manufacturers2 - it needs tweaking to your own requirements and isn't quite complete, but its a very good starting point - see my site for an example of how it works! Thanks, I'm going to try it. BTW Where's your store?
♥Monika in Germany Posted October 12, 2005 Posted October 12, 2005 Thanks, I'm going to try it. BTW Where's your store? most members show a store in their profile under the home page heading ... as does Tony ;-). Click on his name! :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
gammada Posted November 3, 2005 Author Posted November 3, 2005 most members show a store in their profile under the home page heading ... as does Tony ;-). Click on his name! Hi Monika, Thanks for the tip but the link displayed there is not an osCommerce installation.
♥Monika in Germany Posted November 3, 2005 Posted November 3, 2005 Hi Monika, Thanks for the tip but the link displayed there is not an osCommerce installation. PM him! :thumbsup: :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
DNA10101010 Posted November 23, 2005 Posted November 23, 2005 Have searched and tried for 2 days, seriously need some help. 1. pick from pull-down menu in manufacturers2 info box 2. products listed correctly by manufacturers2 3. filter by pick from the pull down on the top-right 4. I get this 1109 - Unknown table 'm2' in where clause select count(p.products_id) as total from products p, products_description pd, manufacturers2 m, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers2_id = m2.manufacturers2_id and m.manufacturers_id = '19' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '12' Everything working fine. I got header, column, anf footer shown. Thanks
♥Monika in Germany Posted November 23, 2005 Posted November 23, 2005 Have searched and tried for 2 days, seriously need some help. 1. pick from pull-down menu in manufacturers2 info box 2. products listed correctly by manufacturers2 3. filter by pick from the pull down on the top-right 4. I get this 1109 - Unknown table 'm2' in where clause select count(p.products_id) as total from products p, products_description pd, manufacturers2 m, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers2_id = m2.manufacturers2_id and m.manufacturers_id = '19' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '12' Everything working fine. I got header, column, anf footer shown. Thanks you are using a wrong table alias ... change this p.manufacturers2_id = m2.manufacturers2_id to this p.manufacturers2_id = m.manufacturers2_id and you should be set! :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
DNA10101010 Posted November 24, 2005 Posted November 24, 2005 you are using a wrong table alias ... change this p.manufacturers2_id = m2.manufacturers2_id to this p.manufacturers2_id = m.manufacturers2_id and you should be set! Thanks. It happened to have 2x m2 in the same line which I over looked the 2nd one. After I finish my site, I'm gonna rewrite the instruction. The original instruction is missing stuff here and there. Took me a while to install it correctly. Now, who would nice enough to share how to add manufacturers2 in search?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.