You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/trainings/commerce/pim/011_product_modeling.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ See a first conceptualisation of what a product is, and what a product type is,
16
16
In fact, a product type is really a content type from the hidden system group `product` with a field of type “Product specification” (`ibexa_product_specification`).
17
17
18
18
The presence of an `ibexa_product_specification` field is what distinct product type from content type.
19
-
Don't remove this field from a product type (or it will become a unreachable hidden content type).
20
-
Don't add such field to a content type (or it will become an uneditable broken product type).
19
+
Don't remove this field from a product type (or it becomes a unreachable hidden content type).
20
+
Don't add such field to a content type (or it becomes an uneditable broken product type).
21
21
22
22
TODO: What happens if you have several `ibexa_product_specification` fields?
23
23
24
24
You can trick the system URL to display a product type as a content type but know that this is dangerous and mustn't be exposed to final users.
25
-
Always prefer the dedicated route (as the Back Office does) `/product-type/view/<product_type_identifier` (`ibexa.product_catalog.product_type.view`).
25
+
Always prefer the dedicated route (as the back office does) `/product-type/view/<product_type_identifier` (`ibexa.product_catalog.product_type.view`).
26
26
To view it through `/contenttypegroup/<product_group_id>/contenttype/<product_type_id>` (`ibexa.content_type.view`) is doable. You could even edit it from there. But this is strongly not recommended.
27
27
28
28
TODO: move to somewhere in the exercise
@@ -41,7 +41,7 @@ The "Product specification" field type (`ibexa_product_specification`) brings in
41
41
42
42
Notice that you don't need to add a field or an attribute for price.
43
43
Prices are handled by a particular side mechanism, the price engine, which is treated later in the training with VAT, currencies, etc.
44
-
But, also notice that VAT is set at Product Type level.
44
+
But, also notice that VAT is set at product type level.
0 commit comments