Skip to content

Commit 47fa6eb

Browse files
authored
CHA-1454: add product model url code parameter (#1033)
1 parent d8f5ad2 commit 47fa6eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/extensions/ui-extensions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ For [link](#link) UI extension, you can ask for specific values to construct the
478478
For example, you can configure a UI extension with the following url `https://www.google.com/search?q=%name%&tbm=shop&gl=us`, then we will dynamically put the value of the attribute code `name` when the user will click on the button.
479479

480480
Valid placeholders attributes are:
481-
- `uuid` and other attribute of type: `identifier`
481+
- `uuid` (for products), `code` (for product models) and other attribute of type `identifier`
482482
- all non scopable and non localizable text attributes
483483

484484
You can add a placeholder anywhere in your url as soon as they're surrounded by `%` symbol.
@@ -515,6 +515,9 @@ For `pim.product.tab` position, these parameters are sent:
515515
- `product[uuid]`
516516
- `product[identifier]`
517517

518+
For `pim.product-model.tab` position, this parameter is sent:
519+
- `product[code]`
520+
518521
For `pim.category.tab` position, this parameter is sent:
519522
- `category[code]`
520523

0 commit comments

Comments
 (0)