I want a custom product checkout with 1 product. I want to set it in a value in the server action, so I don’t need to put it in a database and query it (overkill).
However I can’t seem to save the value… it keeps resetting to blank:
It looks like you are trying to save a JSON array in the set value. I don’t think the UI supports it, which is why you keep seeing empty value field.
You will have to go into the editor view for setting this.
In the editor view JSON, set the value part as a JSON array and it should work.