MHL3060 / bentux

Automatically exported from code.google.com/p/bentux
0 stars 0 forks source link

need to rewrite product page. #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
AT this moment, if a product is on special, there are some confusions when 
displaying the price.

we should add 3 fields to indicate the product that is on special.

I am propose we should add 2 date field and one transient field.

the 2 date fields to indicate in which time interval a product is on 
special.
and a transient field is a short cut to tell if this product is on special.

if a product is on special, it should use the special price instead of the 
regular price.

this is a critical issue, we should address it as soon as we can.

Original issue reported on code.google.com by benli3...@gmail.com on 11 Mar 2010 at 6:40

GoogleCodeExporter commented 9 years ago
seem to make more sense with that approach. one more thing, the store sells 
products in a package too, like a 
pack of 6 with a better deal, should we add that for discount price feature as 
not all products have that option.

Original comment by lhkh...@gmail.com on 11 Mar 2010 at 4:04

GoogleCodeExporter commented 9 years ago
if in that case, maybe we should move the discount functionality to another 
POJO 
(table) and let that POJO do the business logic on who has the special price 
between 
what date interval or quantity interval.

Original comment by benli3...@gmail.com on 11 Mar 2010 at 4:50