Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Spree Upgrade] Inventory cannot update price #3715
Tamar Valley Food Hub (TVFH) has permission to add Berio Mill to their inventory. When I open TVFH inventory I see the list for Berio Mill correctly. However when I try to update the price I get the following error:
The changes to the price in inventory should save correctly and then should follow through to a change in price in the shopfront - as they currently do in v1.
Error and no price update.
Steps to Reproduce
Sorry the gif is so sloooooooow
the inventory page validates the full inventory on any change, so if there's one single variant broken, the page will be completely broken... it's unfortunate for the user but it's good to catch all bugs in the page...
this is a case of spoiled "Sponge Cake" :-) It's a deleted variant that is being shown in the inventory.
I'll create a PR...