netlify / gocommerce

A headless e-commerce for JAMstack sites.
MIT License
1.54k stars 208 forks source link

Different pricing based on user role #230

Open jimafisk opened 2 years ago

jimafisk commented 2 years ago

- Do you want to request a feature or report a bug? Just looking for help understanding / potentially a feature request if it doesn't exist.

- What is the current behavior? The docs on the homepage make it look like you can set multiple prices in the metadata: "prices": [{"amount": "49.99", "currency": "USD"}]. Could this be used to implement a "base" price and a "member" price that is determined by the role of the user that is making the purchase? If so, what information does Gocommerce need from your site to verify that the user actually has that role? Thanks!