Category / Administration

Bulk disable multiple Magento products

Bulk disable multiple Magento products

With all its ORM, model, resource and so on greatness, sometimes platform limitations are too obvious in Magento when it comes to large number of products in store. Recently I faced a simple task, I needed to disable around 6500 products in Magento that were assigned to a single category called “Inactive Products”. Given that it was an import from old system to Magento it is irrelevant why one would use category “Inactive Products” instead of just setting their status to “disabled”. My point is, whats the fastest way to do a bulk action on large number of products. Read more

1

Invoice printing to PDF taking to long in Magento?

Invoice printing to PDF taking to long in Magento?

Recently I was assigned a task to check the slowness of PDF printing on invoice page of Magento admin. It took him around 5minutes to print PDF (return PDF document on Invoice page). After diving into the code trying to trace the issue I found what was the cause of slow printing. PDF document that gets created has the ability to include the logo in header. Read more

0

Turning Magento into CMS only (ditching shop functionality)

Turning Magento into CMS only (ditching shop functionality)

For the last two days I had most interesting time with Magento. I was able to took some time and try out some things that I were planning to do ever since I started working with Mage. Everyone in Magento development know how flexible (extensible) Magento is. Personally, my favorite feature is the one related to layouts and blocks, how they are built with xml files and so on. Anyhow back to my idea: Strip Magento to the core by ditching entire shop functionality. Read more

0

How to make TinyMCE work with Magento CMS pages

Featured Image

Latest version of Magento, as of time of this writing, is 1.3.2.3. Latest, as well as previous versions come with “half-packed” support for TinyMCE editor. There are however few bugs and few steps that need to be handled in order to enable wysiwyg editing in CMS pages. Personally I am not that big of a fan of wysiwyg editors, mostly because I am developer and like to know what I write down. Read more

7

Magento CMS syntax – part1

Featured Image

Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and blocks. We traced a bit to find out which params are available and what exactly they do.

Read more

20

Getting started with building Admin module in Magento

Featured Image

Due to the “complexity” of Magento’s xml files, developers can waste great amount of time on “unnecessary” things.
When I say “complexity” I say it with purpose. XML files are not so complex by them selves, but due to extreme lack of documentation and changes Magento pumps in every new “major” release, people are lost among things that should really be sideways. Anyway, in this little article I will show you how to create basic, startup structure for your module to get it shown under Magento Admin main top menu. Read more

26

Access denied in Magento admin

Featured Image

Some of you may encountered this problem. You install new Magento extension through downloader, try to access its configuration settings and Magento throws “Access denied” page at you. Although you’re administrator of the system.

Read more

40

Custom Magento CMS page layout

Featured Image

Last week I had a request to add new custom layout for few cms pages in one Magento shop. It’s really useful for different static pages of your shop. Read more

41

Custom admin theme in Magento

Featured Image

As mentioned on Magento forums the easiest way to achieve this is with overriding adminhtml config with your local custom one and activate it as module.

This is just a small example of different approach with Admin Theme config option in admin panel, to show you how things can be done in different ways in Magento.

Read more

28

connect2MAGE | WordPress plugin for easy Magento database connection

Featured Image

Hi everyone. I wrote this little plugin while working on one of our projects. If you know your way around WordPress then you know what $wpdb variable stands for. Imagine the following scenario. You have WordPress installation on one database, Magento on another. You know your way around SQL. You can always make new object based on WPDB class inside your template files giving it database access parameters, or you can use this plugin and use $MAGEDB the same way you use $wpdb. Read more

12