2 replies [Last post]
pbb
pbb's picture
Offline
Joined: 01/08/2013
Juice: 74
Was this information Helpful?

Hello everybody:

In a multiseller Marketplace scenario..i need to know some information about the product's seller in the different product views.

For example:

The seller picture in the product detailed page. Also...is it possible taht some of those aspects ( like being a trusted seller ) are shown trough an icon instead of a text?

Thank you all for your help.

pbb
pbb's picture
Offline
Joined: 01/08/2013
Juice: 74
SOLVED

I already solved that in the node--type template by using

print($user_picture), but it would be great to be able to pass some parameter like a class for CSS styling.

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Re: SOLVED

I'm not an expert on theming, but I believe you can use hook_preprocess() to pass variables to theme templates.