UPDATE
Please get the "toggle_module_0.4.zip" for updated mod from attachment.
Bug fixed:
- Bug on cart module
Updated:
Deleted old mod file attachment
Warning: Although it is safe to apply this mod, I recommend to do backup or make a copy of the replaced and updated files.
Updated files:
- catalog/view/theme/default/image/box_top.png
Added files:
- catalog/view/theme/javascript/jquery/toggle_module.js
- catalog/view/theme/default/stylesheet/toggle.css
File to be edited:
- catalog/view/theme/default/template/common/header.tpl
Applying this mod step by step:
1. Extract the archieve attached
2. Upload the extracted folder to your main OC installation
3. Open "catalog/view/theme/default/template/common/header.tpl" and find "</head>" (approximately at line 53)
4. Add this code before "</head>":
Code: Select all
<link rel="stylesheet" type="text/css" href="catalog/view/theme/<?php echo $template; ?>/stylesheet/toggle.css" />
6. Add this code before "</body>":
Code: Select all
<script type="text/javascript" src="catalog/view/javascript/jquery/toggle_module.js"></script>
click here for live example -> click the module header
This mod can be downloaded here:
http://www.opencart.com/index.php?route ... ion_id=872
I hope this make a little contribution to this great community.
Cheers