Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ Product type model - [Magento\Catalog\Model\Product\Type\AbstractType](https://g
- [*bundle*](https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Bundle/Model/Product/Type.php)

Add 1 composite product, consisting of many selected variations, options independent.
Sku dynamic/fixed, weight dynamic/fixed, price dynamic/fixed. Each qty x total qty.
SKU dynamic/fixed, weight dynamic/fixed, price dynamic/fixed. Each qty x total qty.
Inventory is tracked separately for each child.

- *gift card (Commerce edition)*

Like downloadable, purchase gift card code instead of link.
Can be virtual/physica/both. Thus can be shipped.
Can be virtual/physical/both. Thus can be shipped.

## product_types.xml - maximum configuration:
```xml
Expand Down Expand Up @@ -66,7 +66,7 @@ Product type model - [Magento\Catalog\Model\Product\Type\AbstractType](https://g
### How would you obtain a product of a specific type?

Product type code is stored in catalog_product_entity.type_id. Thus, we can use collection:
`productCollection->addFieldToFilter('type_id', 'simple');`
`$productCollection->addFieldToFilter('type_id', 'simple');`

### What tools (in general) does a product type model provide?

Expand Down