2 replies [Last post]
jeffnosanov's picture
Offline
Joined: 09/07/2010
Juice: 12
Was this information Helpful?

I am using the advanced user profile kit and I have an ubercart product. I want to place the product on the profile page of some of my users (all with a certain role.)

. How do I do that wiht Ubercart?

kinkladze28's picture
Offline
Joined: 10/23/2008
Juice: 32
Views

You'll want to use the View module:

http://drupal.org/project/views

When installed add a new view of type "node", then follow the instructions as below:

In the "Fields" area click the + symbol
Under the Node drop down, add node:title and node:body
Under the Product drop down, add Product:sell price and Product: add to cart form

In the Filters area click the +
Under the Node drop down, select type = product

Now add a Block to the display - in the top left corner select block from the drop down and click the add to display button

Now name the block under the Block Settings area.

Save the view.

Now navigate to the Blocks page at site-building/blocks

You will see the block you have just created, drop it in the region of your choice.

In the block settings page under the Role specific visibility settings you can select which roles should see the block.

Hope this helps.

Danny

jeffnosanov's picture
Offline
Joined: 09/07/2010
Juice: 12
Thanks!

I have been using Views for awhile... I didn't know that was the main way to display products. Funny that I already had my answer installed and active in other areas of my site. Thanks so much! Ubercart is pretty sweet.