The only way that I am aware of to do this easily would be to edit a copy of the category sidebox code adding the code from the manufacturers sidebox to itOriginally Posted by vito
The only way that I am aware of to do this easily would be to edit a copy of the category sidebox code adding the code from the manufacturers sidebox to itOriginally Posted by vito
Zen-Venom Get Bitten
Thanks, I think that makes sense. I've been trying to do that for the past hour but can't seem to get it right. Am I correct in assuming that I need to take some code from includes/modules/sideboxes/manufacturers.php and adding it to includes/modules/sideboxes/categories.php (of course, in my CUSTOM folder), or am I hacking the wrong file?
Vito
Try looking for the core tpl files in
includes/templates/template_default/sideboxes
The tpl's are the "display" files while the module files are the functional files
Zen-Venom Get Bitten
Thanks kobra. Only problem is that when looking at those tpl files, I am totally lost on what code I should copy paste over to tpl_categories.php. I tried a couple of times but totally screwed it up and had to start over. Can you tell me what code from tpl_manufacturers.php needs to be copied over?
Vito
After thinking about what you might be seeking it might be easier for you to rearrange your products by manufacturer and then link them to you existing categories
You might need a 3rd party module to get the arrangement you desire such as categories dressing??
https://www.zen-cart.com/tutorials/i...hp?article=216
Zen-Venom Get Bitten
Depending on your site's design, and how resistant you might be to changing it, one thing I have done many times is making two or more boxes appear to be one box by removing the header and border, if any, of the lower one and move it up under the other with margin and padding.
As HERE with the Documents and Categories box.
#documentcategories {border-bottom:none;}
#categoriesHeading {display:none;}
#categories {border-top:none; margin-top:-9px;}
As long as you don't need the different sideboxes' content to be mixed together (like manufacturers between categories), this method is by far the easiest and most sensible.
Even if you have fancy rounded corners or background graphics, with a bit of CSS work you can tweak the individual sideboxes to blend together.