Tag: Magento

12 posts

M2: OPCache GUI - Updated for Latest Magento & PHP

M2: OPCache GUI - Updated for Latest Magento & PHP

The TCMP OPcache GUI module has been updated to support the latest versions of Magento, PHP, and Chart.js. View OPcache statistics directly in your Magento admin panel.

M2: Customizing GraphQL Field Names in Commerce

M2: Customizing GraphQL Field Names in Commerce

Learn how to customize GraphQL field names in Magento Commerce using the FieldTranslator class and dependency injection configuration.

Upgrading from Magento <=2.2.x to 2.3.x

Upgrading from Magento <=2.2.x to 2.3.x

At some point you're going to want to upgrade your Magento project from 2.0/2.1/2.2 to the latest 2.3.x release to take advantage of new functionality and many

Debugging: Cannot add foreign key constraint

Debugging: Cannot add foreign key constraint

Backstory: I was working late to get a feature "working" before heading off to sleep. Somewhere in between autocomplete and matching definitions to Magento core

M2: OPCache GUI

M2: OPCache GUI

Now you can easily view the statistics for PHP OPcache in your Magento admin panel. TCMP OPcache GUI displays current memory usage / hit rate / configuration va

M2: UI Component Form Field Validation

M2: UI Component Form Field Validation

When building custom forms you'll need to validate a few different types of data. Thankfully there are a number of validation rules already at your disposal in

M2: Delete Orders Extension

M2: Delete Orders Extension

I released a little freebie this weekend, hope you enjoy. Feedback is welcome just open an issue or even better submit a pull request! https://github.com/theyca

M2: Debugging Playground continued..

M2: Debugging Playground continued..

After the last example of a bootstrapping Magento 2.x in a php file for some quick debugging I thought I'd clean things up a bit. Below is the same basic exampl

M2: Debugging Playground

M2: Debugging Playground

While I'm sure we all agree that your code should live inside an extension, it can be still helpful to interact with something a little more directly or isolate

M2: Invalidating Caches

M2: Invalidating Caches

When saving objects in your custom module it may be beneficial to indicate that a cache type should be cleared. This can be achieved using the TypeListInterface

M2: Loading model collections the Magento 2.x way

M2: Loading model collections the Magento 2.x way

It is now be the responsibility of the repository to load and persist models from the database rather than using the model to load and save directly. This can b

M2: Add a CMS block to your layout

M2: Add a CMS block to your layout

Add a CMS block to your layout XML: <block class="Magento Cms Block Block" name="block_name_in_layout