Fix issue 307

Fix https://github.com/open-classifieds/open-eshop/issues/307
Merge pull request #310 from emanwebdev/patch-10

Fix issue 307