Skip to content

Commit 784a49a

Browse files
authored
Merge branch 'master' into extend-phpdoc-coverage
2 parents e31ac34 + 090072d commit 784a49a

File tree

3 files changed

+27
-12
lines changed

3 files changed

+27
-12
lines changed
48.7 KB
Loading

docs/ai_actions/install_ai_actions.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AI Actions are available as an LTS update to [[= product_name =]] starting with
99
To use this feature you must first install the package.
1010
You can then install and configure the service connectors or build your own ones.
1111

12-
## Install the framework
12+
## Install framework
1313

1414
Run the following command to install the package:
1515

@@ -20,7 +20,7 @@ composer require ibexa/connector-ai
2020
This command adds the framework code, service handlers, Twig templates, and configurations required for using AI Actions.
2121
It also modifies the permission system to account for the new functionality.
2222

23-
## Modify the database schema
23+
## Modify database schema
2424

2525
Create the `add_ai_actions.sql` file that contains the following code.
2626

@@ -105,10 +105,25 @@ If specific users from the team are supposed to modify scenario settings, you mu
105105
### Create token
106106

107107
Navigate to your [[= product_name_connect =]] user's profile, and on the **API ACCESS** tab, create a new token.
108-
Copy the token code that appears next to the label.
108+
Select the following scopes to set permissions needed to enable the integration of platforms:
109+
110+
- `custom-property-structures:read`
111+
- `custom-property-structures:write`
112+
- `hooks:read`
113+
- `hooks:write`
114+
- `scenarios:read`
115+
- `scenarios:write`
116+
- `team-variables:read`
117+
- `team-variables:write`
118+
- `templates:read`
119+
- `templates:write`
120+
- `udts:read`
121+
- `udts:write`
109122

110123
![Creating an API token](img/connect_api_token.png)
111124

125+
Copy the token code that appears on the tokens list, next to the label.
126+
112127
### Set up credentials
113128

114129
In the root folder of your project, modify the `.env` file.

docs/templating/layout/customize_storefront_layout.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ Available Twig:
173173

174174
with parameters:
175175

176-
- `is_disabled`
177-
- `attr`
178-
- `product_code`
179-
- `quantity_input_attr`
180-
- `add_to_cart_btn_attr`
176+
- `is_disabled`
177+
- `attr`
178+
- `product_code`
179+
- `quantity_input_attr`
180+
- `add_to_cart_btn_attr`
181181

182182
JavaScript class:
183183

@@ -194,9 +194,9 @@ Available Twig:
194194

195195
with parameters:
196196

197-
- `count`
198-
- `attr`
199-
- `counter_attr`
197+
- `count`
198+
- `attr`
199+
- `counter_attr`
200200

201201
### Checkout
202202

@@ -258,4 +258,4 @@ Available Twigs:
258258

259259
JavaScript class:
260260

261-
- `@ibexa-cart/src/bundle/Resources/public/js/component/quick.order`
261+
- `@ibexa-cart/src/bundle/Resources/public/js/component/quick.order`

0 commit comments

Comments
 (0)