Magento

eCommerce Software for Online Growth

Magento Forum

From setting up your store to managing your products, pages and promotions to generating detailed reports, the Magento User Guide empowers the user to utilize the platform for all of its vast capacity.
Available in eBook and Print formats – Download Now!!!
   
How to get a list of all promotions in a block
 
Bart00
Jr. Member
 
Total Posts:  3
Joined:  2009-10-05
 

Hi,

I’m completely new to Magento, and really confused on how to do everything I want. I hope it will become clear to me as a get some experience, but so far, I don’t even know where to start, so I hope an answer to my question here can get me started.

In the left column I want to show a maximum of two blocks, in which promotions are shown. In the backend I made these promotions and as a description I entered an image URL, which I want to show in the block. So far I’ve edited /app/design/frontend/default/default/layout/catalog.xml and in the default layout I made this:

<reference name="left">
  <
block type="core/template" name="left.aanbiedingen" template="callouts/left_aanb.phtml" />
</
reference>

So now the file “callouts/left_aanb.phtml” is called, but now I’m completely stuck. What do I write here to show these promotions?

Any help is greatly appreciated!

Regards,
Bart

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2010 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
279115 users|1261 users currently online|348114 forum posts