Closed NetBizCoach closed 13 years ago
Here's the logic as I understand it from Ruby. The order is important.
If we are not using "was/now", check to see if we have a sale price, then display it, otherwise use the asking price.
If the asking price is 0 - display the retail price. If the chosen price to display is 0 - display the default price text.
If we are using the "was/now" format, check to see if the "was" should have a strikethrough style applied to it. Then display the sale price and the asking price.
I do not see how I can determine if the retail price needs to be displayed or not. I would think that there is no reason to display it. Other than checking to see if I have a number for it or not.
I also do not have a sale expiration date.
This is now done.
Simplified the logic.
please review current logic and implement.