Skip to content

Instantly share code, notes, and snippets.

View ralbin's full-sized avatar

Russell Albin ralbin

View GitHub Profile
@ralbin
ralbin / magento_2_xml.txt
Last active March 26, 2019 12:16
All Magento 2 xml and what they do
1column.xml
Layout format for a page
3columns.xml
Layout format for a page
CATALOG_PRODUCT_COMPOSITE_CONFIGURE.xml
CATALOG_PRODUCT_COMPOSITE_CONFIGURE_ERROR.xml
CATALOG_PRODUCT_COMPOSITE_UPDATE_RESULT.xml
acl.xml
Sets permission for a Magento backend/admin section
address_formats.xml
@ralbin
ralbin / M2CPCD
Last active December 3, 2019 16:43
M2 Certified Professional Cloud Developer
Lots of magento-cloud commands
Lots of ece-tools commands
Lots and lots of questions on each yaml
setup multi website questions
Failed deployments due to
@ralbin
ralbin / m2cpdplus.txt
Last active January 4, 2020 13:31
M2CPD+
Types of questions
- Creating new product type, assign price modules etc.
- One question was asking if you can access simple product options in catalog rule
- how can or can’t restrict catalog rule to customer group + customer gender attribute (think that can’t)
- installing SalesSetup EAV attribute what tables it affect
- saving custom checkout address attribute (does need new endpoint or can do pass with extension attributes)
- how product import validates and saves product
- how to programmatically set customer segment on FE ( session, cookie or in table)
- question about creating custom xml ( <tag arg=33>test</tag>) does the Magento parse xml automatically
- implementing button on top of category edit field