Magento Themes and Magento Extensions

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

Advantages of Using a Custom Design over a Magento Theme

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

There are countless sites that offer pre-designed Magento Themes for you to purchase, install, and use on your Magento eCommerce site. However, these themes may not be the best fit for you, and can actually cost you more in the long run.

At first glance, Magento themes and designs seem too good to be true; they are moderately priced, responsive, and usually offer some type of global customization (like being able to change colors and fonts). However, these themes rarely account for any customization you may have in place, or want to add in the future. For example, most themes we have come across only style the main Magento pages (home page, category page, cart, check-out). These themes will usually not work on any special pages you have (like for gift cards) or if you have a customized cart and checkout. Here at iFuel Interactive, we love the One Step Checkout extension, and we have found that many of the popular themes on the market today will not style the One Step Checkout.

Magento How to: Cron jobs for Modules

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

It’s inevitable that you’ll want to create a cron job for your Magento modules at some point. An obvious solution would be to make the user create a new crontab entry calling your script. There’s no need. Magento has cron functionality built in.

Simply edit your config.xml, adding the following:

<config>
...
<crontab>
<jobs>
<shipwire_inventorysynch>
<schedule><cron_expr>*/6 * * * *</cron_expr></schedule>
<run><model>shipwire/api_inventorysynch::cron</model></run>
</shipwire_inventorysynch>
</jobs>
Page 3 of 112«12345»102030...Last »