Magento Themes and Magento Extensions

Add increment decrement Qty in Cart Magento

Share
Posted on April 11th, 2013 | Posted by admin

Add increment decrement Qty in Cart Magento

app\design\frontend\default\your theme\template\catalog\product\view\addtocart.phtm
<?php $_product = $this->getProduct(); ?>
<?php $buttonTitle = $this->__(‘Add to Cart’); ?>
<?php if($_product->isSaleable()): ?>

<?php if(!$_product->isGrouped()): ?>

<ul>
<li> <a href=”javascript:void(0)” onclick=”decrementQty(‘qty’);”><img src=”<?php echo $this->getSkinUrl(‘images’)?>/plus-icon-1.jpg” alt=”" border=”0″ /></a></li>
<li><input type=”text” name=”qty” id=”qty” maxlength=”12″ value=”<?php echo $this->getProductDefaultQty() * 1 ?>” title=”<?php echo

Magento Use Custom Product Attributes to Add CMS Static Block to Product Page

Share
Posted on November 23rd, 2012 | Posted by admin

The Magento shopping cart has wonderful tools like attributes that makes it easy for users to control custom content on your products. Recently, I have had a client that needs to display the same information over multiple products. So rather than manually adding it on one product, I thought it would be easier to link a custom cms static block to the product page. While this seems like an easy thing to do, Magento makes this a bit complicated to set up. So this tutorial is meant to show you how to do this! After this tutorial you will be able to control static cms blocks from any product in your Magento store.

So let’s begin.
Setting up your Custom Product Attribute.
First we need to set up a custom product attribute correctly in magento. This will let us create a few cms static blocks and link them to our product. First login to your magento backend and go to Catalog > Attribute > Manage Attributes. Once the page reloads click on “Add New Attribute”. This will take you to a page where you can set up your attribute.

I can’t add a product to my wishlist – Magento

Share
Posted on July 11th, 2012 | Posted by admin

One of our clients at the office had a store and the “wishlist” button in the product view wasn’t working.

The products he was trying to add weren’t in the root category.

You must add your products at least to the root category.

How to add additional row limit count in magento admin grid

Share
Posted on February 3rd, 2012 | Posted by admin

Magento Provides the Grid Based Layout in adminpanel pages for most of the pages like manage customers,manage products etc. The default row limit options are 20,50,100,200 etc per page. But for the stores with more than 1000 products and customers these options are not sufficient to display the records in less no. of pages.

Step 1: For this example we are going to add an additonal row limit count as 500. To do this locate the file which is reponsible for showing row count dropdown. The file is located in

app/design/adminhtml/default/default/template/widget/grid.phtml

Step 2: Around line 81 the code is located as shown below

How to Add Custom Tabs to Magento Customer Edit page

Share
Posted on February 3rd, 2012 | Posted by admin

Magento Provides the manage customers feature to list and edit the customers information.
The Customer edit page in the admin panel gives details about the customers account information,address,orders etc.

In some scenarios we may need to show our custom module contents related to the customer in a additional tab. To achieve this functionality we need to create a custom module and add our tab.

Step 1: We start with our config.xml file. In this file we are specifying an adminhtml xml layout file and a Block class for our custom module.

app/code/local/Mydons/etc/config.xml

Page 1 of 3123»