Hello, all,

this module works very fine with me, i'd like to know if theres is a way to prevent price display when stock is equal to zero ?

Thanks to you all

Comments

hanoii’s picture

Status: Active » Closed (fixed)

Not by this module, you could, eventually, do it by theming the price display or the product and add logic there to not display the price if stock is 0.

joachim desarmenien’s picture

Thanks for reply

Is there a module wth wich it is possible ?

What is the file that i have to edit / overide, to modifiy the output of the code for the product ?

thanks again

hanoii’s picture

I suggest you to read the handbooks on how to override theme functions.

The function I think you should override is theme_uc_price() in uc_store.module.

You should do this probably on your template's template.php file, but please do read the handbooks.

Hope this helps.