Magento Themes and Magento Extensions

Magento – using jQuery

Share
Posted on February 2nd, 2015 | Posted by admin

While developing the new website in magento I found, magento using prototype as a default javascript library. My problem was I had to learn and my biggest problem was time crunch. I decided to add Jquery in in which i was good. so i decided using Magento using jQuery combination. I started the integration later on I came to know that oh there is problem because of conflict in js file. It was little difficult to understand why but I came to know after lot of search over the web. so lets learn it using quick and easy steps on how to use jQuery in magento. I have just consolidated information I found while researching.

How to use jQuery in magento?

Quick and easy steps on how to use jQuery in magento are as follows.

Step 1: Download “jQuery js” file and upload it to the magento “js” folder.
Step 2: Now open the file “page.xml” at Magento/app/design/frontend/default/default/layout/page.xml.
Step 3: Now add following line inside block “html_head” before end tag.

CREATE AN EXTERNAL DATABASE CONNECTION IN MAGENTO

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

While I’m confident that many people in the Magenosphere have figured this one out, it took a whole Saturday night and part of my soul for me to achieve it. Hopefully, by presenting this code here, I can save you from the pain I endured

Creating The Connection

To create your connection, create a custom module and add the following to your config.xml. The code below is the bare minimum needed to get the external database connection working.

<?xml version="1.0"?>
<config>
<modules>
<Fishpig_Externaldb>
<version>0.1.0</version>
</Fishpig_Externaldb>
</modules>
<global>
<resources>
<externaldb_write>
<connection>
<use>externaldb_database</use>
</connection>
</externaldb_write>
<externaldb_read>
<connection>
<use>externaldb_database</use>
</connection>
</externaldb_read>
<externaldb_setup>
<connection>

Magento: Include Layered Navigation In A CMS Page

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

This is another popular question. Often you want to show items on a CMS page rather than a regular category page. But you still want to have the layered navigation to filter results like it appears by default with Magento at the category level (when listing products).

To add Magento’s layered navigation to a CMS page where you’re showing items simply edit your CMS page in the admin – under the “Design” tab put this code:

<reference name="left">
<block type="catalog/layer_view" name="catalog.leftnav" before="-" template="catalog/layer/view.phtml"/>
</reference>

That will show the layered navigation at the very top of the left column on your CMS page. Of course make sure your CMS page layout is “2column with left bar” (under “layout” in the “Design” tab).

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?
Page 2 of 112«12345»102030...Last »