Skip to content

Commit bddc0ac

Browse files
authored
Update product_api.md
1 parent ba5715c commit bddc0ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pim/product_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ The default offset is 0, and limit is 25.
6767
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 57, 60) =]]
6868
```
6969

70-
From a variant, you can access the attributes that are used to generate the variant
71-
by using `ProductVariant::getDiscriminatorAttributes()`.
70+
From a variant ([`ProductVariantInterface`](../api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-ProductVariantInterface.html)),
71+
you can access the attributes that are used to generate the variant by using `ProductVariantInterface::getDiscriminatorAttributes()`.
7272

7373
``` php
7474
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 61, 68) =]]

0 commit comments

Comments
 (0)