Jan 22

Magento Import Tracking Numbers Part 1

Hi Guys;
I want to tell about how to create tracking number import to Magento. In order to do it we will use Magento Product and Customer import service.

First step of development is creating new module under the local folder. I gave a name Girginsoft>Tracker. Under this module there is only two folder in it. First one is etc and the other one is Model.

└── Tracker
    ├── etc
    │   └── config.xml
    └── Model
        └── Import
            └── Entity
                └── Order.php

This is the structure of folders.

Lets look at config.xml, what we put into it.
First definition of module, and model class. Here is the trick

        <importexport module="tracker">
            <import_entities>
                <order translate="label">
                    <model_token>tracker/import_entity_order</model_token>
                    <label>Orders Tracks</label>
                </order>
            </import_entities>
        </importexport>

When we put this code block to etc file, magento displays out importer in import menu.
Here is the full config file.

<?xml version="1.0"?>
<config>
    <modules>
        <Girginsoft_Tracker>
            <version>0.1.0</version>
        </Girginsoft_Tracker>
    </modules>
    <global>
        <models>
            <tracker>
                <class>Girginsoft_Tracker_Model</class>
            </tracker>
        </models>
        <importexport module="tracker">
            <import_entities>
                <order translate="label">
                    <model_token>tracker/import_entity_order</model_token>
                    <label>Orders Tracks</label>
                </order>
            </import_entities>
        </importexport>
    </global>
</config>

Code is a little bit long. I will explain it on next blog post, I am sorry but it is too late to do it. I’am going to work early.
See you on next article.

Oct 22

We were on “Open Web Days”!

Last Friday and Saturday we were in Yeditepe University on “Open Web Days” which was organized by Yeditepe Computer Club. I had also presentation with Roy and Zafer. We talked about the Magento and the jQuery Mobile.
It was my first experience of presentation on a public event, but It was a good experience for me. I was a anxious a little bit, but everything was gone perfectly. So I liked it.

Maybe you are interested in what was the content of presentation. In presentation of “Magento”, we explained about our experiences, disadvantages and advantages of magento from other out of the box E-commerce systems. I think it was very useful for people, they asked more questions then I expected. So people were interested in Magento. :D

In “jQuery Mobile” presentation, there was more people than presentation of Magento. Conference hall was full. In this presentation people also asked much more question. I think we successfully answered with Roy.

These are some photos from event.

jQuery Mobile

E-Commerce with Magento

Oct 19

Hello World

Hello world code snippet test

<?php echo "Hello world"; ?>

code snippe

Oct 19

About Me

About Me