fix discount , using floor method, change version to 0.0.30
This commit is contained in:
@@ -527,6 +527,7 @@ function ProductSell(o){
|
||||
|
||||
if ( discount ){
|
||||
result = price * ( discount.value / 100 );
|
||||
result = Math.floor( result );
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user