Hide Sell Price in Catalog view

Posts: 4
Joined: 12/26/2007

Hi all,
I am able to hide the sell price for anonymous users using the custom_nodeapi function in the product node but I cannot figure out a way of doing the same in catalog view. So it shuld display price only for logged users even in the catalog view.
I am a total drupal newbie and would sure appreciate any help.

Posts: 3898
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Using the catalog provided in the Ubercart catalog module, I don't believe this is possible right now without directly altering the code in the function uc_product_table in uc_product.module. This is obviously not advisable, so I'd recommend a custom catalog instead if this feature is a necessity.

Posts: 4
Joined: 12/26/2007

Thanks, instead of creating a new catalog is there any way I can display the list price in the product node. So that way the price that I want all the users to see can be entered in the sell price field and the price that I want only logged users to see can be put in the list price and access can be restricted using the custom_nodeapi function.
Pls advise. Need help desperately. I am using ubercart without the shopping cart feature.

Posts: 3898
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

You're in luck. That's handled through the product display settings.

See: /admin/store/settings/products/edit/fields

Posts: 4
Joined: 12/26/2007

That works beautifully!! Thanks again