Home » Archive

Articles tagged with: Magento eCommerce

Magento eCommerce »

[28 Jun 2009 | One Comment | ]

Many people wonder how you go by adding additional links to your Category menu items on Magento. This is another straight forward tutorial and will break it down for you to make it as simple as possible.
To get started you will need to locate and open “app/design/frontend/default/<yourtheme>/template/catalog/navigation/top.phtml” file. Once opened, scroll down and you will see something that sort of look like this:
<ul id=”nav”>
<li><a href=”<?php echo $this->getUrl(”)?>”><span>
<?php echo $this->__(’Homepage’) ?></span></a></li>
<?php foreach ($this->getStoreCategories() as $_category): …

Magento eCommerce »

[28 Jun 2009 | No Comment | ]

Another major question people ask is how to add a Category Products on the homepage. This again, is a very simple task and I will once again explain how it all works.
When you purchase one of our themes you will see a folder name called “code” and inside that folder a file called “homepage_code.txt” this can by the way be ignored if you aren’t actually using one of our themes.
This piece of coding is what should be added in your “Content” area by going to CMS > Manage Pages > …

Magento eCommerce »

[28 Jun 2009 | 2 Comments | ]

I have already talked about flexible architecture of Magento Commerce in my previous posts. As Magento allows to customize its default behavior without touching and modifying the existing code, we can override any of the existing class by defining our own in our out of the box extensions. I have also played with Magento by creating variety of extensions, and believe me, it was a real fun of programming. Magento allowed me to change everything I desired.
But I was still feeling that something is missing! And that missing thing was …

Magento eCommerce »

[28 Jun 2009 | 3 Comments | ]

In my previous post, I had explained a way to add extra controllers to existing route. Here I am going to explain another method which is used for overriding controllers and actions. Like my each post on tips & tricks, I am going to first explain where the trick is applicable! I am considering that readers of this post are aware of MVC architecture in Magento.
Let me explain the difference between the both tricks. The trick explained in previous post is used when we need additional URLs in same route …

Magento eCommerce »

[6 Jun 2009 | No Comment | ]

When upload images for products, after uploading images a dialog box would popup with HTML source code, then the system goto to login again and none of the pictures were uploaded.
Work around:
add file php.ini with
magic_quotes_gpc = off
short_open_tag = on
extension=pdo.so
extension=pdo_mysql.so
It should work fine now.

Magento eCommerce, Services »

[2 Jun 2009 | One Comment | ]

Here is the way to get product information for a specific store view in Magento.
<?php $product = Mage::getModel(’catalog/product’)->setStoreId(Mage::app()->getStore()->getId())->load($productId); ?>
And get product description:
<?php echo $this->helper(’catalog/output’)->productAttribute($product, nl2br($product->getDescription()), ‘description’); ?>

Featured, Magento eCommerce »

[26 Apr 2009 | No Comment | ]
Magento Featured Products

I’ve been working with Magento version 0.8.16100 for a couple days now trying to implement a Featured Product feature.  The Featured Product is a product with an attribute I added from the admin.  When the administrator selects “Yes” in the “Featured” attribute, that product will be displayed in a content block.
I’ll explain each step I took to make this custom feature.  Please forgive me if I left anything out.  The PHP itself I would like to rewrite to be more… professional, but I couldn’t figure out how to query a …

Featured, Headline, Magento eCommerce »

[23 Apr 2009 | 28 Comments | ]
After installing magento can’t log in to admin panel

Problem Description
While installing magento on xampp version 2.5 you have provided admin username and password. After installation finished you no longer login with your admin account. In fact in the “Log in to Admin Panel” window whenever you provide wrong password/username combination it displays “Invalid Username or Password.” But whenever you provide correct password it does not show anything. Though a new url like
http://127.0.0.1/magento/index.php/admin/index/index/key/d135be4de664ab83db829120740e058a/
is displayed on the address bar.
Everytime you do this you can’t log in to admin panel.
Cause of the problem
The problem occurs because magneto could not store cookies. …

Magento Guide, Magento eCommerce »

[20 Apr 2009 | One Comment | ]

At work we are developing a site for a client using the Magento eCommerce software. This is my first time using it and I’m finding it fairly badass (and it’s free!). There is a lot to like about it, which we’ll probably talk about another time, but it uses Prototype for a JavaScript library. Now I’m sure Prototype is wonderful and all that, but I don’t know a lick of it. I’d rather just use the library I’ve known to come and love, jQuery. But Prototype and jQuery notoriously don’t …

Featured, Magento eCommerce »

[20 Apr 2009 | No Comment | ]

There are numerous ways to setup multiple Magento stores that all share the same codebase and backend, but what method you use depends on your needs.
This article is written with cPanel in mind, though the methodologies listed below apply no matter what control panel you’re using.
Jump To Section

URL Structure
Shared Hosting Caveat
Adding Another Store In Magento
Parked Domain Method
Addon Domain Method
Subdomain Method
Subdirectory Method
Managing Multiple Stores
Secure Checkout For Each Domain

URL Structure
The actual URL structure of your stores is a matter of personal preference. You can, for example, have two entirely different stores running …