Skip to content

Commit 24b7936

Browse files
snowcoreunicoder88
authored andcommitted
Minor fixes for Catalog customization chapter (#1)
1 parent 8b21e18 commit 24b7936

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

7. Customizing the Catalog/1. Demonstrate ability to use products and product types.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ Product type model - [Magento\Catalog\Model\Product\Type\AbstractType](https://g
3131
- [*bundle*](https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Bundle/Model/Product/Type.php)
3232

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

3737
- *gift card (Commerce edition)*
3838

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

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

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

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

0 commit comments

Comments
 (0)