Fix to apply discount if no priceset enabled in discount code configuration

Merged bgm requested to merge github/fork/monishdeb/issue-92 into master

Created by: monishdeb

Merge request reports