OpenMage

Running Unit Test in DDEV There are 3 ways to run a unit test with composer: 1. Basic Composer PHPUnit...

* Add attributes to attibute_group 'CAUTION!!! System Config'. */ if ($attrs) { $resource = Mage::getResourceSingleton('eav/entity_attribute'); foreach ($customerGroupIds as $groupCode => $groupId) { /** @var...

To install, just issue the following PowerShell command at the root of OpenMage: PS D:\Work\project> composer require guzzlehttp/guzzle...

public function visibleProductsAction() { $this->getResponse()->setBody( $this->getLayout()->createBlock('module/adminhtml_block_type')->toHtml() ); } Generic Block: $block = $this->getLayout()->createBlock('adminhtml/template') ->setTemplate...

github.com

Import Sample Actions XML: file var/import <![CDATA[filename.csv]]> <![CDATA[csv]]> <![CDATA[,]]> <![CDATA["]]> <![CDATA[fieldname_in_system]]> <![CDATA[firstname]]> <![CDATA[lastname...

OpenMage
github.com

See production grade nginx and docker config here. Some notes on this: the PCI work was trial and error, we...

github.com

Mechanism: cache in model First, save the cache // app\code\core\Mage\Core\Model\App.php Mage_Core_Model_App /**

alanstorm.com

We can use this file name config.mysql4.xml to load additional configuration in the module's etc folder, the folder which...

Top menu is configured in backend > Catalog > Manage Categories. The landing page can be set to product list, static block...

public function completeAction() { $orderId = $this->getRequest()->getParam('order_id', false); $info['order_id'] = 0; if ($orderId) { $order = Mage...

OpenMage

Load Store by Store Code $store = Mage::getModel('core/store')->load('store_code'); // or $store = Mage::app()->getStore('store_code');

php.net

The error is coming from Mage_Catalog_Model_Product_Option_Type_File but it is not interpreted in _getValidatorErrors(). The...

Best results in other decks

Compatibility: Angular 20+ with Jasmine 5.x and Karma 6.x As a default Angular CLI auto-generates test bootstrap...

In Rails 8 the behavior of the rails db:migrate command has changed for fresh databases (see PR #52830).

Search in all decks