ecommerce
ecommerce copied to clipboard
Duplicate products and customers
Steps to reproduce:
Setup database and then for example run rake db: seed a couple of times (seeds are using commands)
There is some code that is supposed to raise an error, and it even has a test, but it seems the test are false positives
Both the products and customers have multiple duplicates (same attributes, different ids). Seems resonable that this state should not be allowed
Same issue with coupons I recently added, would like to resolve them all at once
Let's make those separate tickets.
The technical solution is probably the same but business impact should be looked at differently.