I want to use grav for e-commerce. By using mollie I want to make the transactions possible. But I was wondering where I could store the prices of the products. Is the frontmatter (header) a good place to store the price? Are there any better alternatives that use mollie for transactions?
It’s somewhat difficult to know what your setup looks like given the little information you provided, but yes, the frontmatter would be the common place to store the price and other information about a product.
You’ll have to write an integration for Mollie however, since there’s no public plugin for that payment service yet. You could take inspiration from existing plugins for Stripe and Paypal.