Answer the question
In order to leave comments, you need to log in
How to implement fields with settings in Laravel?
Hello. I'm learning Laravel. Need development advice.
It is necessary to implement the functionality in the admin part - two input fields:
1) dollar exchange rate in rubles (63.63)
2) margin percentage (10)
These numbers will be used many times when calculating and displaying prices on the frontend.
The question is how best to implement this and whether it is advisable to use records in the database for this.
If it is better to use reading and writing to the database, then how to create this single record and how to read it later?
Perhaps there are some ready-made solutions for implementing the settings functionality in the admin panel, which I don’t know about yet?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question