Magento Themes and Magento Extensions

Adding Items To The Magento Admin Panel

Share
Posted on January 26th, 2015 | Posted by admin

At this point, we have a working module. All of our functionality is in place, and our hard-coded values will work for a single instance of Magento. We have the equivalent of alocal module. The next step is to move these hard-coded values into the Magento admin panel, so they can be configured on multiple Magento instances without any code modification required.

It is quite straightforward to add items to the Magento admin panel system configuration, and it’s ideal for saving website-specific credentials or settings, like in our case the merchant ID and cookie timeout value.

Now, let’s log in to the Magento admin panel and navigate to System → Configurationusing the main menu. We can see a number of tabs on the left-hand side for configuring the various elements of our Magento instance, such as “General,” “Web,” “Design,” etc. We are now going to add a new tab for our module’s configuration items.

Is your E-commerce store stuck in an older version of Magento Community Edition?

Share
Posted on January 23rd, 2015 | Posted by admin

Depending what version you are using, there are steps you may have to take get your site back up to the latest version. For instance, in cases of much older versions, you’ll need to upgrade your shop to 1.7.0.2 version first.

At Swarming Technology (based in Milwaukee, WI) we are experts in helping new and existing clients upgrade their versions of Magento. We strive to find cost effective ways to move older versions to the latest.

A few things to factor in the cost of your upgrade:

  1. Was my site set-up correctly by my developer?
  2. Were the core files tampered with?
  3. Are the modules and extensions my site uses compatible with newer versions?

Magento Admin area charts powered by Google Charts

Share
Posted on January 21st, 2015 | Posted by admin

Just an interesting note:
The charts that you see on the dashboard in the Magento Admin area are powered by Google’s Chart API.
You can look it up here: http://code.google.com/apis/chart/

A quick and prelim. exploration of the core files show that the phtml files for this can be found here:
app/design/adminhtml/default/defaut/template/dashboard
The controlling code is here:
app/code/core/Mage/Adminhtml/Block/Dashboard

Magento clean delete products

Share
Posted on January 19th, 2015 | Posted by admin

Today ELi asked me why he couldn’t delete attribute that was used to create configurable product. After I went through the code, I found the database table `catalog_product_super_*` was still holding relationship between product and attribute although all products were deleted from admin’s product manager.

We decided to clean delete (truncate) all product related table’s old data. Here is the exact SQL that worked perfectly on magento

SET FOREIGN_KEY_CHECKS = 0;

TRUNCATE TABLE `catalog_product_bundle_option`;
TRUNCATE TABLE `catalog_product_bundle_option_value`;
TRUNCATE TABLE `catalog_product_bundle_selection`;
TRUNCATE TABLE `catalog_product_entity_datetime`;

How to create a dropdown list of countries in Magento

Share
Posted on January 15th, 2015 | Posted by admin

The list of countries in Magento doesn’t work like all other data collections. Rather than store country data in the database, Magento stores country data in an XML file and loads it in on each request. Fortunately though, there are some simple functions we can use to access country names and codes in Magento. In this tutorial, I will guide you through how to create a drop-down list of countries in Magento

Page 1 of 16112345»102030...Last »