[checkout] How do I show the prices in the album pages

surfgimp

Joined: 2007-11-13
Posts: 8
Posted: Tue, 2010-02-02 19:53

I've installed the checkout modules and they seem to be working fine. When I add the price block to the album it just ends up displaying "price" under the bottom of the resultset once. I would like the ability to see the price for each photo where the other details normally are such as album owner, viewed number etc.

I've tried searching the forums to see if this has already been answered and started to play with the templates but if someone else can lead me in the right direction I would be grateful.

Thanks
Steve

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2010-02-02 23:33

I don't understand your question; but have you installed the Product Price Info block in your theme setup on the album pages?

 
surfgimp

Joined: 2007-11-13
Posts: 8
Posted: Wed, 2010-02-03 08:54

I've clicked on edit then theme in the album I want the price info to appear. I've then added the price info block into the "Blocks to show on album pages" section but it only shows the words "Prices" once at the bottom of the album page when I do this.

Is there a way I can get the price to appear for every item in the album page via the theme admin pages or will I have to edit the themes pages manually?

Hope this is a bit more clear. If not I will attach screenshots later.
Thanks
Steve

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2010-02-03 09:30

OK, I see. The Product Price Info block shows prices for the item in which it displays. In other words, if you display it in an album page it will show you prices for products for that album, not for the photos in it. If you haven't any products that are available for the album (distinct from for the photos in the album) then there are no products to show for the album.

In general the prices for different photos in an album can be different one to the next; so there's no clear way to know which prices to display in an album page, if you want to see prices for the photos in the album.

So you will have to do some re-coding, to pick one of the photos in the album and dig out the information for that photo, and show it at the album level.

 
surfgimp

Joined: 2007-11-13
Posts: 8
Posted: Wed, 2010-02-03 12:55

Thank you for the pointers. I'll hack the code and see what I can get out.

Steve