Hi team, working on making my solidus site B2B onl...
# support
n
Hi team, working on making my solidus site B2B only. Two requirements are: admin approval for user sign up, and hide prices unless signed in. Any tips on accomplishing these? Hiding prices is easy from frontend POV, but is there a way to ensure that data doesn’t get leaked in some side channel (solidus apis, etc)? Admin approval sounds like some devise customizations might be needed, but wondering if anyone is aware of an extension or gem that could help speed up dev time
Update: got a basic POC down, would appreciate a heads up if someone sees a flaw: • Followed this for user approval: https://medium.com/@inanbunyamin90/spree-customization-adding-user-approval-b30be9a1c484 • Disabled guest checkout • Used override on OrdersController#edit to redirect if user not signed in (to prevent cart access) • Hid prices from products index + product view page from view itself