Magento Themes and Magento Extensions

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>

How to Manage Product Tags in magento

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

By default Magento includes the option to allow customers to tag your products. When a customer tags a certain product, the tag appears as pending and must be approved before it can show up on the product page.

Let’s add a tag to our product, approve it and see how it then shows up on the product page. To add a tag to a product, simply write the tag word in the Add Your Tags: field available on the product page and click Add Tags. We’ll add “Great” as a tag. A confirmation message will show up saying that the tag has been accepted for moderation

magento themes club

BeShop Multipurpose Magento Themes

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

we are so proud to introduce a new magento theme from ZooExtension, which is designed especially for online shop – Magento Theme BeShop. Similar to former Magento Themes, BeShop also consists of many interesting features then you will find it so suitable for every kind of Online Store, such as Sport, Jewelry, Clothes, Shoes and so on. We hope you will have great experiences with this Magento theme.

  • MT BeShop document
  • Powerful admin control panel
  • 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.

    Page 1 of 3123»