patronbutiken LiteCart Fan From Sweden Member since Apr 2019 patronbutiken Nov 5 2022 11:51 PM Hello, I have a problem that i want some help with, on my site www.patronbutiken.se i have the sitemenu that says HEM BROTHER CANON and so on that links to an category i need to link the manufactureslogos that shows on the mainpage with the same link as above. Any thoughs /ideas about that? best regards Peter
tim Founder From Sweden Member since May 2013 tim Nov 6 2022 12:36 AM Do you want a link in the site menu to the manufacturer logotypes on the start page?
patronbutiken LiteCart Fan From Sweden Member since Apr 2019 patronbutiken Nov 6 2022 10:49 AM Hey tim. no, the manufactures logo should have the same link as the sitemenu. As i my case the Brother logo should link to https://www.patronbutiken.se/brother-c-1 and not https://www.patronbutiken.se/brother-m-4/ as the logo link do. Regards Peter
tim Founder From Sweden Member since May 2013 tim Nov 7 2022 12:40 AM Categories are categories, and Manufacturers are manufacturers. box_manufacturer_logotypes.inc.php fetches the manufacturers from the manufacturers table and displays the link with the accoarding manufacturer id. There is no way manufacturers would output a category link unless you modified the script to match manufacturer name with category name or similar. I think your best solution is to simply include box_categories.inc.php on your first page and make sure each category have an image. <?php include vmod::check(FS_DIR_APP . 'includes/box_categories.inc.php'); ?>
patronbutiken LiteCart Fan From Sweden Member since Apr 2019 patronbutiken Nov 7 2022 11:16 AM I was into that function also but its has som drawback as i have about 15 categories and only want to display some of the. but will se how i could manage that. Thanks tim
tim Founder From Sweden Member since May 2013 tim Nov 7 2022 03:28 PM Did you consider hardcoding the links?