docs icon indicating copy to clipboard operation
docs copied to clipboard

Add javascript examples for "docs/guides/plugins/plugins/plugin-fundamentals /use-plugin-configuration.md"

Open xaiyadev opened this issue 9 months ago • 1 comments

There it only explains how to access the plugin configuration in PHP, maybe add examples for Javascript Storefront/Administration?

xaiyadev avatar Mar 12 '25 16:03 xaiyadev

Hey @xaiyadev the store-api is not supposed to read that afaik - maybe @BrocksiNet has more info on that.

As for the admin API

GET http://HOST.local/api/_action/system-config?domain=YOUR_PLUGIN.config
Content-Type: application/json
Authorization: Bearer {{access_token}}

We will add a link in the mentioned docs to also help JS developers 🙂

Isengo1989 avatar Mar 27 '25 10:03 Isengo1989