Manufacturer Module
This is small Module to show manufactuturer List or manufactuturer Dropdown.
The tpl file have both code for dropdown view and list view. If you want to show the manufacturer as dropdown then you have to remove the code -
<?php foreach ($manufacturers as $manufacturer) { ?>
<?php if ($manufacturer['manufacturer_id'] == $manufacturer_id) { ?>
<a href="<?php echo $manufacturer['href']; ?>" class="list-group-item active"><?php echo $manufacturer['name']; ?></a>
<?php } else { ?>
<a href="<?php echo $manufacturer['href']; ?>" class="list-group-item"><?php echo $manufacturer['name']; ?></a>
<?php } ?>
<?php } ?>
and remove the comment tag and active this code---
<select onchange="gobrandpage(this.value)" class="form-control">
<?php foreach ($manufacturers as $manufacturer) { ?>
<option value="<?php echo $manufacturer['href']; ?>" <?php if ($manufacturer['manufacturer_id'] == $manufacturer_id){ echo "SELECTED"; } ?> class="list-group-item active"><?php echo $manufacturer['name']; ?></option>
<?php } ?>
</select>
Instructions:
Step 1: Backup following files
catalog\controller\module\manufacturer.php
catalog\view\theme\default\template\module\manufacturer.tpl
Step 2: Just copy and paste contents of upload folder to your Root directory.
Note:
If you use custom template copy manufacturer.tpl in catalog\view\theme\[your theme]\template\module
For support : waseem@whcommerce.com / er.waseem123@gmail.com / www.whcommerce.com
For More Extensions visit http://www.opencart.com/index.php?route=extension/extension&filter_username=erwaseem123
Just copy and paste all files to the root folder and install it.
* No File Overwrite
* No VQMOD required
* Please check and comment .
Version | |
Versions | Manufacturer 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0 Manufacturer for old version 1.5.0.1, 1.5.0.2, 1.5.0.3, 1.5.0.4, 1.5.0.5, 1.5.1, 1.5.1.1, 1.5.1.2, 1.5.1.3, 1.5.2, 1.5.2.1, 1.5.3, 1.5.3.1, 1.5.4, 1.5.4.1, 1.5.5, 1.5.5.1, 1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4 Manufacturer with Image & Title 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0 |