?
Solved

Magento, how to make a simple SEO footer?

Posted on 2010-01-05
4
Medium Priority
?
427 Views
Last Modified: 2013-11-18
Here's what I want to do to my Magento product pages:
I want a big block of text and images that displays below each product, but the trick is that I want the text and images to be relative to the product.

Here's an example...

echo="<p>The $product_name is an excellent product.  It exists in the $category category.</p>"

So all I'm doing is just repeating SEO friendly words in my paragraph of junk text.  

I need to know how to call these variables like $product_name, $manufacturer and the current category, the previous category would be good too...

I also need to know what file to create or edit to properly insert this above the footer somewhere.


Thanks!
0
Comment
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
CSecurity earned 2000 total points
ID: 26183332
See this example:

<?php
echo $_product->getAttributeText('manufacturer');
?>


It's all. Change manufacturer to other properties you want and echo them in your footer.
0
 

Author Comment

by:www_puertoricoautoforo_com
ID: 26185212
Perfect, which file should I edit in order to insert that below a product, is there a certain way to do this that's more upgradable than another, like by using a hook, or should I just override the footer?
0
 
LVL 17

Assisted Solution

by:CSecurity
CSecurity earned 2000 total points
ID: 26185469
Do it in footer file as you like, it will work
0
 

Author Closing Comment

by:www_puertoricoautoforo_com
ID: 31673085
Great, thanks for the help! I have another recent question posted about magento thumbnails, maybe you know the answer to that one too.

Thanks for the help on this.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
Do online retailers and e-commerce sites even need to bother with the season? Is it lucrative to update and prepare your site for Black Friday and Cyber Monday shoppers? We'll find out now.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month16 days, 12 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question