graphpaperpress/Sell-Media

Improve error handling in price groups

Closed this issue · 1 comments

Creating price groups or individual prices with the same name throws a big ugly fatal error. We need to do some validation before the price group is saved and when a new price group is created.

Fixed this by checking the existence of price group and individual price.