Magento 1.x

  1. Demystifying Magento Disable Modules Output

    There is a common mis-conception that the Magento Admin functionality labled "Disable Modules Output" will disable a module.  This actually only prevents what the module is supposed to push to the browser from occuring and instead pushes an empty string.

    For example, here in Magento 1.x is some code from the Core that may help

    Read more »
  2. Magento Use flat catalog category and Use flat catalog product

    Turning on Magento Enable Flat Catalog will certainly help the users experience on the Frontend.  This feature will only show marginal improvements if your categories are very limited and your products are limited.  The better performance is gained when there are dozens of categories and several hundred products.  For smaller sites you may actually see a perforance decrease.

    So, if you have enough categories and / or enough products here is how to turn on these options.

    Magento 1.x Click on System - > Configuration

    Read more »
  3. Magento Caches, flushing them and what they mean

    You may be wondering, why is there two different buttons and CLI actions for cache management: Flush Magento Cache and Flush Cache Storage.
    For Magento 1.x

    Read more »
  4. Fatal Error and Soap Error WSDL Start tag expected, '<' not found

    ( ! ) Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.whatever.com/index.php/api/v2_soap?wsdl=1' : Start tag expected, '<' not found in ...

    ( ! ) SoapFault: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.whatever.com/index.php/api/v2_soap?wsdl=1' : Start tag expected, '<' not found in ...

    This may be due to how you are fetching the SoapClient.

    Read more »
  5. Search Magento /var/report entires between dates

    Change to your Magento /var/report folder and run these commands to see how many match the string - Unsupported image format between Sep 25, 2016 and Sep 29, 2016

    You can obviously change the dates and string we are searching for to help you find what you are looking for.

    The second line with the ( | wc ) gets the total word count or in this case the total amount of duplicates found

    Read more »
  6. Using built in function to create html select for a form

    The inspiration came from Mage_Directory_Block_Data

    <?
    xml version="1.0" encoding="UTF-8"?>
    <config>
    <modules>
    <Russellalbin_Catalog>
    <active>true</active>
    <codePool>local</codePool>
    </Russellalbin_Catalog>
    </modules>
    </config>
    Read more »
  7. Searching through Magento /var/report entries

    When you have lots of entries in Magento's /var/report here is how I have been filtering through them to find specific dates:

    First you need to cd into your magento var/report directory then run:

    find . -type f -newermt 2016-09-25 ! -newermt 2016-09-29
    Read more »
  8. Using CURL to access Magento 2 API

    // Get a Bearer token to be used for calls Bearer xxxxxxxxxxx
    curl -X POST "http://www.whatever.com/index.php/rest/V1/integration/admin/token" \
    -H "Content-Type:application/json" \
    -d '{"username":"someuser", "password":"somepassword!"}'
    Read more »
  9. Finding the right Magento 1.x event observer - Checkout

    There are many many events that fire during checkout.

    In particular there is a need to do something special once a checkout has occured.  Choosing the right one can be tough.  In 1.9 and 1.14 you can use 

    checkout_submit_all_after

    This may be in earlier versions, but this one is only fired 1 time and allows for good details about the quote/order

    Read more »
  10. Magento Grand Slam

    I recently posted this on LinkedIn and felt this was also a good place for this.  

    Magento Certification 

    Well, I just passed the 4th and final certification exam that Magento offers.  I just did a quick search and there are a total of 6 of us in the United States, and 35 world wide who decided to take all 4 exams.  After this year of studying and preparing, its a very good thing for any Magento developer to strive to do.  It forces you to fully understand the platform as whole.

    Read more »
Page
Russell Albin - Omaha, Nebraska Magento Developer Magento Developer Plus Magento Solutions Specialist Magento Front End Developer https://www.linkedin.com/in/russellalbin