OpenMage

Running Unit Test in DDEV # Run all tests ddev exec composer run phpunit:test # Run a specific test class, example...

OpenMage

After installing DDEV in WSL2 Ubuntu terminal. Note: do not install in Windows. How to Launch VS Code

Backend > Catalog > Manage Categories We can do the following: Create new root categories and subcategories. You can organize the categories...

This whole class Mage_Core_Controller_Varien_Exception has only one reference in the core, see search result.

There are 3 machines: Local Computer Windows OS Development Server Production Server There are 3 repositories upstream, a fork of...

OpenMage
manual.zfdes.com

For read and write adapters, fetchOne(), fetchAll(), fetchAssoc(), fetchRow(), fetchCol(), fetchPairs(), see lib\Zend\Db\Adapter\Abstract.php Also, standalone class...

* 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...

OpenMage
github.com

nginx URL rewrite stackoverflow PHP lib M1 Extension and the blog, version 2. API Implementation Doc Client based on ZF1...

OpenMage

* Really easy field validation with Prototype * http://tetlaw.id.au/view/javascript/really-easy-field-validation * Andrew Tetlaw * Version 1.5.4.1 (2007-01-05) * * Copyright (c) 2007 Andrew...

OpenMage
jouriy.github.io

M1 doc. OM GitHub Issue Test Script in devdocs-openmage.org stackoverflow magento.stackexchange.com/how-to-create-rest-api-for-the-magento-1-9-hosted-in-local-machine stackoverflow.com//magento-oauth-customer-login Inchoo's Guides:

OpenMage
github.com

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

There are many reasons why a payment method is not listed or missing on the checkout page: admin > System > Configuration...

github.com

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

Each locale has different date formats. The default settings are configured in xml files located in lib\Zend\Locale\Data...

We can add a 3rd-party to library to Magento, for example TCPDF. Download the library and unzip.

collection->addFieldToSelect('col_name') will include the ID column in result. To return only columns of interest, use $collection->getSelect...

stackoverflow.com

Get the last entry of each applicant in history table: $installer = $this; $db = $installer->getConnection(); $table = $installer->getTable('table/name');

custom module productcoption config.xml 0.0.1 Somemod_ProductCoption Somemod_ProductCoption_Block Somemod_ProductCoption_Block_Adminhtml_ProductEditTabOptions_Option Somemod_ProductCoption_Block_Adminhtml...

OpenMage

$collection->addFieldToFilter('field_name', [ ['eq' => 'value1'], ['eq' => 'value2'] ] ); // same as $collection->addFieldToFilter('field_name', ['value1', 'value2']);

OpenMage

A sample of different options to add field in Mage_Adminhtml_Block_Widget_Form Ref Varien_Data_Form_Element_Abstract...

OpenMage

Take a look at Mage_Adminhtml_Block_Widget_Grid_Column::_getRendererByType() to dive into the different column types...

php.net

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

OpenMage

condA AND (cond1 OR cond2 OR cond3) $cincId = $session->getCustomerId(); $attributes = array( array('attribute'=>'mc_by', 'eq'=>$clinicId), array('attribute...

Best results in other decks

def test_autocomplete(field, options = {}) fill_in field, :with => options[:with] page.execute_script("$('##{field}').trigger('focus');") page.execute_script ("$('##{field}').trigger...

When things go wrong, for example, caused by a bad commit, we need to revert back to an earlier known...

Search in all decks