Skip to content

Instantly share code, notes, and snippets.

@ralbin
Last active January 4, 2020 13:31
Show Gist options
  • Save ralbin/d6815150515385101dd482cd681cb0ce to your computer and use it in GitHub Desktop.
Save ralbin/d6815150515385101dd482cd681cb0ce to your computer and use it in GitHub Desktop.
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
- extending existing message queue
- customer segment adjustment (what can be change without creating new one)
- securing request parameters
- ifconfig in layout block
- lot of staging related questions (how to implement in custom module)
- changing indexer update on save to update on schedule (where are those id’s saved or how can detect what reindex)
- multiple content staging + cache/index related questions
- how to access shipping rates
- how to make custom shipping method allow free shipping (if set shipping rule)
- how to restrict shipping method to specific country (custom method)
- question about how to restrict sending admin notification at night (send by custom API)
- where to put that header for restricting iframe
- make available custom customer attributes
- while running testing application -- how to allow BE access (i went by disabling admin url security keys)
- about message queue # key
- does index on staging preview mode happens on the fly
- one example with observer where need to spot the problem
- how to diagnose ElasticSearch if it’s empty (url to curl)
- how to insert promotion like action selector in your uiComponent
- modify layout from controller and plugin (how to)
- make observable method shared
- making class argument method shared
- price render in phtml
- create new product type
- how custom xml is parsed
- does textarea attribute has WYSIWYG by default
- if possible to create cart/catelog rules for product options
- if possible to use customer attribute in cart/catelog rules
- how update on schedule index happens
- how to split db using M2ee feature and how to make custom db work like that
- how to expose API
- how Admin logs are handled
- hot to restrict shipping method for specific country
- a lot of staging questions about architecture + how to set it up to custom model
- Payment adapter pattern module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment