spree/spree — Issue #1173: Product Admin - $ in Price Breaks Creation
Author: GeekOnCoffee
Created: 2012-02-22 16:45:32+00:00
State: open

When creating a product in Spree 1.0, putting a $ in front of your master price causes the master variant not to create, breaking the admin and also potentially front-end views that are trying to include fields from the variant.

Couple of potential fixes:
* Javascript validation that master price is a float
* Back-end validation that the price is valid that causes product creation to fail
* Silently strip out the special characters and save the variant