https://github.com/libresign/woocommerce-nextcloud-admin-group-manager
It callls the LibreSign API
https://github.com/libresign/woocommerce-nextcloud-admin-group-manager
Last synced: 10 months ago
JSON representation
It callls the LibreSign API
- Host: GitHub
- URL: https://github.com/libresign/woocommerce-nextcloud-admin-group-manager
- Owner: LibreSign
- Created: 2024-10-07T20:18:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-07T20:26:29.000Z (over 1 year ago)
- Last Synced: 2025-02-22T11:57:14.254Z (about 1 year ago)
- Language: PHP
- Size: 45.9 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Integrate WooCommerce to Nextcloud plugin admin_group_manager
Send requests from WooCommerce to endpoints of plugin [admin_group_manager](https://github.com/LibreSign/admin_group_manager/).
## Configuring product
### Adding attributes
Will be necessary add two attributes, quota and apps. Quota will be send to API as string and apps will be send as array.
To send the value of an attribute to API, the `Name` need to follow the pattern:
```regex
^nextcloud-(?string|list)-(?.+)
```
And the value, if type is array, will be separated by |.
Example:
```gherkin
scenario:
When Go to "Producs"
And Edit the product that you want to integrate to Nextcloud
And Click at "Attributes"
And Click at "Add new"
And Fill "nextcloud-string-quota" at field "Name:"
# The size here need to be the same of other visible attribute that will be displayed to user
And Fill "1Gb" at field "Value(s):"
And Uncheck the field "Visible on the product page"
And Click at "Add new"
And Fill "nextcloud-list-apps" at field "Name:"
And Fill "libresign|deck" at field "Value(s):"
And Uncheck the field "Visible on the product page"
Then Click at "Save attributes"
```