Post by Brook » Tue Sep 28, 2010 12:58 am

I have OpenCart v149.1 installed.

The "Featured Products" module currently shows the "Featured Products"
with Product Name and then Product Price under the Product Name

Example:
Product Name
Product Price

How do I add Product.Model to display under the Product Name?

Example:
Product Name
Product Model
Product Price

Currently the Latest Products Home Module lists the products (this is what I am looking for):
Product Name
Product Model
Product Price

Active Member

Posts

Joined
Wed Feb 24, 2010 12:15 am

Post by WhiteBirch » Tue Sep 28, 2010 2:18 am

In your themes template/module/featured.php just add

Code: Select all

<?php echo $product['model']; ?>
within a <span> tag between the name and price lines. Put in some <br> tags or whatever you need to lay it out how you need it.

WhiteBirch - Premium OpenCart Templates on ThemeForest
Skylight - Our first OpenCart 1.4.9.1 template!
Darkwood - Stylish new OpenCart 1.4.9.1 template!


User avatar
New member

Posts

Joined
Wed Sep 15, 2010 3:06 pm
Location - UK

Post by Brook » Tue Sep 28, 2010 2:35 am

Thank you for your reply. Your solution worked.

Active Member

Posts

Joined
Wed Feb 24, 2010 12:15 am
Who is online

Users browsing this forum: No registered users and 2 guests