My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 131: Wrong logic for product.display_price?
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by edmundo...@gmail.com, Sep 1, 2008
What steps will reproduce the problem?
1. See the demo site, the prices are gone in the index.

What is the expected output? What do you see instead?
It should show them below the name. Nothing.

What version of the product are you using? On what operating system?
Trunk. Ubuntu 7.10

Please provide any additional information below.

In the product mode:

... 
def display_price?
  display_price.nil?
end
...

So, it will NOT display the price if the price is NOT nil?

I think it should be:

... 
def display_price?
  !display_price.nil?
end
...


Powered by Google Project Hosting