Tag Archives: Magento

Getting selected simple product id in configurable product on client side.

Getting selected simple product id in configurable product on client side.

If you need to get id of selected simple product in configurable product on client side you can do it in many different ways.

Here is simple function how to achieve that with no code modification, new templates or even modules.
Just one Javascript file and layout update.

Read more

0

Custom Magento Events: Customer First Order

Custom Magento Events: Customer First Order

Often you will stumble upon a case where Magento lacks certain events that you can easily observe. Various business cases can sometimes truly stretch the boundaries of even the best shopping carts like Magento. Luckily, creating or more properly said dispatching your own event in Magento is pretty straight forward task. Read more

3

What is base64 encoding and how can we benefit from it

What is base64 encoding and how can we benefit from it

What is base64 encoding/decoding and how we can benefit from this representation

Base64 schemes represent binary data in an ASCII string format (English alphabet, common punctuation chars, control chars) by translating it into a base-64 representation. Read more

9

Snowflakes Magento Extension

Snowflakes Magento Extension

Happy holidays everyone. As you could notice, we have a new holiday header, new holiday wallpapers, and today we have something new. Creative sparks did their magic making us proud to present you Inchoo Snowflakes Magento Extension.
Read more

10

Facebook Connect Magento Extension

Facebook Connect Magento Extension

We’re proud to present free Facebook Connect Magento extension which enables customers fast and easy registration and login with their Facebook identity. And it’s just been updated!

Read more

403

Geocoding Customer Addresses in Magento via Google Maps

Geocoding Customer Addresses in Magento via Google Maps

Geocoding is the process of finding associated geographic coordinates (often expressed as latitude and longitude) from other geographic data, such as street addresses, or zip codes (postal codes)… so says Wikipedia. Geocoding an address is pretty simple if you are using Google Maps API. Since all we do here is Magento, let me show you how easily you can geocode customer address. Read more

2

Delete test orders in Magento

Delete test orders in Magento

You got a Magento project to develop, you created a Magento theme, you placed initial products and categories and you also placed some test orders to see if Shipping and Payment methods work as expected. Everything seems to be cool and the client wishes to launch the site. You launch it. When you enter the administration for the first time after the launch, you will see all your test orders there. You know those should be deleted. But how?
This is a new version of the same article.
Read more

100

Display HTML code (block) of product options in Magento

Display HTML code (block) of product options in Magento

This simple helper will help you to display html code of your product options. It works with simple, virtual and configurable products. I believe you can use the same approach for other product types as well.

Getting HTML code for options of configurable products its little different from simple and virtual (well they are more or less same).

Update: for all types in configurable product.

Read more

1

Reusing Magento’s calendar control

Reusing Magento’s calendar control

One of the cool things in Magento is that there is so many controls (widgets, blocks), etc. that you can reuse on the frontend or on the backend. One such control is the calendar control. Calendar control is mostly just used on the backend, aka “adminhtml” area. You can easily figure that one out if you do a quick search for a “Calendar.setup” string on “app/design” folder, in which case you would get several search results but all from “app/design/adminhtml/” folder. Read more

3

Creating an EAV based model(s) in Magento

Creating an EAV based model(s) in Magento

Magento database heavily utilizes an Entity-Attribute-Value (EAV) data model. However, the cost of flexibility is often complexity. The process of manipulating EAV data in Magento is often more difficult than manipulating flat relational tables.

All Magento Models inherit from the Mage_Core_Model_Abstract. Difference between simple Model or an EAV Model is its Model Resource.

To build a model with proper collection object in Magento you need 4 things Read more

3