Magento, how to make a simple SEO footer?

Posted on 2010-01-05
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.

    LVL 17

    Accepted Solution

    See this example:

    echo $_product->getAttributeText('manufacturer');

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

    Author Comment

    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?
    LVL 17

    Assisted Solution

    Do it in footer file as you like, it will work

    Author Closing Comment

    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.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
    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…
    The viewer will learn how to dynamically set the form action using jQuery.

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now