Tags » Magento

Get product available quantity

<?php $_items = $this->getItems();

foreach ($_items as $_item):  ?>

<?php $product_id=$_item->getId();
$_product = Mage::getModel(‘catalog/product’)->load($id);
$sku = $_item->getSku();
$_product = Mage::getModel(‘catalog/product’)->loadByAttribute(‘sku’, $sku);
$stock = Mage::getModel(‘cataloginventory/stock_item’)->loadByProduct($_product);
//echo “<pre>”; print_r($stock->getData()); echo “</pre>”; 25 more words

Magento

Magento and Zen Cart Ecommerce – A Comparison


Both Magento and Zen Cart operate on the LIGHT environment (Linux, Apache, MySQL, and PHP). Zen Cart is quick to set up and is kind to shared hosting environments. 47 more words

10 Best Responsive Magento Bootstrap Themes in 2014

Collection of 10 Best full responsive premium Bootstrap Magento Themes in 2014. Take a look at free demos of Themes built on Bootstrap Framework.

Responsive

Adding BreadCrumbs n Magento

Via Code (controller)

$crumbs= Mage::app()->getLayout->getBlock(‘breadcrumbs’);

$crumbs->addCrumb(‘home’,array(

‘label’ =>’Home’,

‘title’ =>’Go to Home Page’,

‘link’ =>Mage::getUrl(”)

));

Via Layout XML:

<reference name=”breadcrumbs”>

<action method=”addCrumb”>

<crumbname>Home</crumbname>

<crumbinfo> 33 more words

Magento

Magento: Unquote database query elements

If you are in a hurry, then just scroll down to the end of the article to see my answer to the problem.

Sometimes you have to use complex queries for ex. 488 more words

Php

Magento and CS Cart Ecommerce – A Comparison

Where Magento is complimentary offered for download and CS-Cart including paid license purchase based. Both has advantages and downsides in their application, support and online file.
http://goo.gl/gvq5Xq

5 Best Responsive Parallax Scrolling Magento Themes in 2014

Collection of 5 Best full responsive premium Parallax Scrolling Magento Themes in 2014. Take a look at free demos of Parallax themes.

1. MT Smilax… 336 more words

Responsive