I have multiple attributes for a product, and wish to show one of attribute out of the attribute table ... means after product title ... how can I do it?
Example: I have Author, Publisher and Date as attributes to a product.
So, I wish to show Author attribute after product title ...
I think this extension is a good start.
http://www.opencart.com/index.php?route ... on_id=9716
You just need to modify it to show attribute you want. Good luck!
http://www.opencart.com/index.php?route ... on_id=9716
You just need to modify it to show attribute you want. Good luck!
>> Beautiful Opencart Responsive Theme : $35 - $50
>> Hire me for Opencart instant support
In this extension, any clue where should I define the name of that particular group & attribute name?
Code: Select all
<?php foreach ($attribute_groups as $attribute_group) { ?>
<tbody>
<?php foreach ($attribute_group['attribute'] as $attribute) { ?>
<div>
<?php echo "<strong>",$attribute['name'], ":\n</strong>"; ?>
<?php echo $attribute['text']; ?>
</div>
<?php } ?>
Who is online
Users browsing this forum: No registered users and 309 guests