Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1016955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:37:39+00:00 2026-05-16T10:37:39+00:00

I have create a module which at this point does nothing but exist the

  • 0

I have create a module which at this point does nothing but exist the next step I need to figure out is how to make it does something when someone views the a product at this point I don’t care if it says hello world next to the image

can someone help me I can’t seem to figure out what I need to extend if i need to use and observer or what I seem to be lost …. or drowning

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:37:40+00:00Added an answer on May 16, 2026 at 10:37 am

    Depending on what you want to accomplish, you could go in many different directions from here. If you’re looking for visual feedback, creating a new block and adding it to the product page might be a good direction. Try creating a new block in your module (Yournamespace_Yourmodule_Block_Product_View in the file app/code/local/Yournamespace/Yourmodule/Block/Product/View.php) and define a method toHtml in that block that echos some HTML (say “hello world”). Look at other blocks in the system to see how to set up such a class (what to descend from, etc). Later on, you’ll want to turn this into a proper template, but this approach will help you understand blocks. Check Alan’s other tutorials for how to set up your config.xml to define where blocks are found.

    Now, inside your theme, in /templates/catalog/product/view.php, create an instance of your block and display it’s contents like this:

    <?php print $this->getLayout()->createBlock("yourmodule/product_view")->toHtml(); ?>
    

    This should echo some HTML onto the product view page.

    I want to emphasize that this skips several of the steps to doing it the “right” way, but it should get you quick visual feedback and help you understand how a page is built inside of magento.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 510k
  • Answers 510k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I hope it's the same problem as I had: In… May 16, 2026 at 5:02 pm
  • Editorial Team
    Editorial Team added an answer int intProjectNumber = [[projectNumber stringByTrimmingCharactersInSet:whitespaceCharacterSet] integerValue]; edit: Just to explain… May 16, 2026 at 5:02 pm
  • Editorial Team
    Editorial Team added an answer Nokia distributes lots of Tools and SDK's which you can… May 16, 2026 at 5:02 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have some view which lists my module table entries. What is the most
I have a module which runs standalone in a JVM (no containers) and communicates
I've been trying to map an object to a database using SQLAlchemy but have
I have a somewhat obscure question here. What I need: To determine if the
Unfortunately this is going to be a pretty open-ended question, but I am at
I have a class which inherits from the System.Web.UI.Page class, like mysystem . When
I have a build script where i create a text report file and output
I have just installed a third party app on my Windows Server 2008 server
I would like to be able to dynamically retrieve the current executing module or
I have created a feature in Visual Studio, using WSPBuilder to build the .wsp

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.