How does the SETTING functionality actually work

Global Settings are permanently stored. Local Settings are lost when you shut down SambaPOS. You can delete both types of settings by using “Update Setting” action with “Delete” parameter enabled from “Update Type”.

For V5 reading a local setting with {LOCAL SETTING:x} tag and reading a global setting with {GLOBAL SETTING:x} is more efficient.

Using {CSETTING:x} greatly improves speed for global settings. It reads value once from database and does not read anymore until cache cleared. Useful if you have settings does not change too frequently.

4 Likes