If you are searching for the professional web development, app development company in Vadodara then Cloudswift Solutions is the name on which you can trust. Visit our website for more information.
Sunday, 8 July 2012
How to get product details from product id in magento?
$model = Mage::getModel('catalog/product');
$_product = $model->load($productId);
echo $_product->getShortDescription();
echo $_product->getDescription();
echo $_product->getName();
echo $_product->getPrice();
echo $_product->getSpecialPrice();
echo $_product->getProductUrl();
echo $_product->getImageUrl();
echo $_product->getSmallImageUrl();
echo $_product->getThumbnailUrl();
$_product = $model->load($productId);
echo $_product->getShortDescription();
echo $_product->getDescription();
echo $_product->getName();
echo $_product->getPrice();
echo $_product->getSpecialPrice();
echo $_product->getProductUrl();
echo $_product->getImageUrl();
echo $_product->getSmallImageUrl();
echo $_product->getThumbnailUrl();
How to get category details from category id on magento?
$category = Mage::getModel('catalog/category')->load($_category);
echo $category->getUrl();// category url
echo $category->getName();
echo $category->getImageUrl();
$categoryImage = $category->getImage();
echo $category->getUrl();// category url
echo $category->getName();
echo $category->getImageUrl();
$categoryImage = $category->getImage();
Custom 'Sort by' drop-down menu options Lowest price, Higest price, Name A-Z, Name Z-A, Newest to Oldest & Oldest to Newest in magento
View following url
http://magento-talks.blogspot.in/2011/08/custom-sort-by-drop-down-menu-options.html
Magento all paths.
Mage::getBaseUrl() => Gets base url path e.g. http://my.website.com/
Mage::getBaseUrl(‘media’) => Gets MEDIA folder path e.g. http://my.website.com/media/
Mage::getBaseUrl(‘js’) => Gets JS folder path e.g. http://my.website.com/js/
Mage::getBaseUrl(‘skin’) => Gets SKIN folder path e.g. http://my.website.com/skin/
Mage::getBaseDir() => Gives you your Magento installation folder / root folder e.g. /home/kalpesh/
Mage::getBaseDir(‘app’) => Gives you your Magento’s APP directory file location e.g. /home/kalpesh/
Mage::getBaseDir(‘design’) => Gives you your Magento’s DESIGN directory file location e.g. /home/kalpesh/wo
Mage::getBaseDir(‘media’) => Gives MEDIA directory file path
Mage::getBaseDir(‘code’) => Gives CODE directory file path
Mage::getBaseDir(‘lib’) => Gives LIB directory file path
Get Current URL – whole URL path
Mage::helper(‘core/url’)->getCurrentUrl()
Mage::helper(‘core/url’)->getCurrentUrl()
How to display product price with currency on magento?
$formattedPrice = Mage::helper('core')->currency($objProduct->getPrice(),true,false);
How to change default image white space(background) on magento?
app/code/core/mage/catalog/model/Product/image.php
How to get products available stock quantity in magento?
echo $qtyStock = (int) Mage::getModel('cataloginventory/stock_item') ->loadByProduct($_product) ->getQty();
How to display static block content on front side?
$this->getLayout()->createBlock('cms/block')->setBlockId('identifier')->toHtml()
How to display product with specific height and width in magento?
$productId = 1;
$product = Mage::getModel('catalog/product') ->load($productId);
$path = Mage::helper('catalog/image') ->init($product, 'image') ->resize(75, 75);
$product = Mage::getModel('catalog/product') ->load($productId);
$path = Mage::helper('catalog/image') ->init($product, 'image') ->resize(75, 75);
How to create module in magento?
app/etc/modules/Custom_Manufacturerlogo.xml
app/code/local/Custom/Manufacturerlogo/Block/Manufacturerlogo.php
app/code/local/Custom/Manufacturerlogo/controllers/IndexController.php
app/code/local/Custom/Manufacturerlogo/etc/config.xml
app/code/local/Custom/Manufacturerlogo/Model/Manufacturerlogo.php
app/code/local/Custom/Manufacturerlogo/Model/Mysql4/Manufacturerlogo.php
app/code/local/Custom/Manufacturerlogo/Model/Mysql4/Manufacturerlogo/Collection.php
app/code/local/Custom/Manufacturerlogo/Model/Status.php
app/code/local/Custom/Manufacturerlogo/sql/manufacturerlogo_setup/mysql4-install-0.1.0.php
app/design/frontend/default/default/layout/manufacturerlogo.xml
app/design/frontend/default/default/template/manufacturerlogo/manufacturerlogo.phtml
app/code/local/Custom/Manufacturerlogo/Block/Adminhtml/Manufacturerlogo.php
app/code/local/Custom/Manufacturerlogo/Block/Adminhtml/Manufacturerlogo/Edit.php
app/code/local/Custom/Manufacturerlogo/Block/Adminhtml/Manufacturerlogo/Grid.php
app/code/local/Custom/Manufacturerlogo/Block/Adminhtml/Manufacturerlogo/Edit/Form.php
app/code/local/Custom/Manufacturerlogo/Block/Adminhtml/Manufacturerlogo/Edit/Tabs.php
app/code/local/Custom/Manufacturerlogo/Block/Adminhtml/Manufacturerlogo/Edit/Tab/Form.php
app/code/local/Custom/Manufacturerlogo/controllers/Adminhtml/ManufacturerlogoController.php
app/code/local/Custom/Manufacturerlogo/Helper/Data.php
app/design/adminhtml/default/default/layout/manufacturerlogo.xml
Sample valid credit card numbers for testing
Here is a list of sample/dummy/test credit card numbers, which are safe to use when you test credit card functionality on a website or application that involves credit card transactions. These credit card numbers validate properly but they are not actually in use.
American Express:
378282246310005
3111111111111117
343434343434343
370000000000002
340000000000009
371449635398431
378734493671000
3111111111111117
343434343434343
370000000000002
340000000000009
371449635398431
378734493671000
Visa:
4111111111111111
4007000000027
4222222222222
4012888888881881
4007000000027
4222222222222
4012888888881881
MasterCard:
5105105105105100
5111111111111118
5454545454545454
5500000000000004
5555555555551111
5555555555554444
5111111111111118
5454545454545454
5500000000000004
5555555555551111
5555555555554444
Discover:
6011111111111117
6011000000000004
6011000990139424
6011601160116611
6111111111111116
6011000000000004
6011000990139424
6011601160116611
6111111111111116
Hope this helps. Thanks.
Magento Blog Links
Magento Extension to be implement:
http://www.magentocommerce.com/magento-connect/cart-items-preview-on-mouseover.html
HTML5 Links:
http://www.htmldrive.net/
Core PHP Hints :
http://bmehla.wordpress.com/
Free Jquery Block UI link
http://www.magentocommerce.com/magento-connect/cart-items-preview-on-mouseover.html
HTML5 Links:
http://www.htmldrive.net/
Core PHP Hints :
http://bmehla.wordpress.com/
Create loading image through script :
http://ajaxload.info/
http://picasion.com/upload-pictures/
http://picasion.com/upload-pictures/
Magento For Beginners:
http://dbhoopendra.blogspot.in/
http://xhtmlandcsshelp.blogspot.in/
http://spenserbaldwin.com/
http://subesh.com.np/category/google/google-maps/
http://sanjoyroy.wordpress.com/author/sanjoyroy
http://www.khemissi.com/2010/07/09/magento-diagram-website-store-store-view/
http://dbhoopendra.blogspot.in/
http://xhtmlandcsshelp.blogspot.in/
http://spenserbaldwin.com/
http://subesh.com.np/category/google/google-maps/
http://sanjoyroy.wordpress.com/author/sanjoyroy
http://www.khemissi.com/2010/07/09/magento-diagram-website-store-store-view/
Magento Query Conditions :
http://fishpig.co.uk/blog/addattributetofilter-conditionals-in-magento.htmlJquery Slider Links
http://www.freshdesignweb.com/80jquery-image-slideshow-and-content-slider-tutorial.html
http://www.jquery4u.com/plugins/100-jquery-sliders-part1/#.T-safpHHFhp
Javascript Hints
http://www.javascriptkit.com/script/script2/3slide.shtml
http://www.dhtmlgoodies.com/
http://jquerybyexample.blogspot.com/
Magento Blog Links
http://shamimcse05.wordpress.com/
http://dx3webs.com/front/category/magento/
http://www.pethemes.com/weblog/
http://www.blog.magepsycho.com/
http://www.inacode.com/
http://www.developersupports.com/category/2/magento/page/3/
http://www.excellencemagentoblog.com/magento-create-custom-shipping-method
http://sapnandu-magento.blogspot.in/search?updated-max=2011-09-28T22:23:00-07:00&max-results=7&start=21&by-date=false
http://developer.practicalecommerce.com/topics/33-Code
http://blog.decryptweb.com/
http://dx3webs.com/front/category/magento/
http://www.pethemes.com/weblog/
http://www.blog.magepsycho.com/
http://www.inacode.com/
http://www.developersupports.com/category/2/magento/page/3/
http://www.excellencemagentoblog.com/magento-create-custom-shipping-method
http://sapnandu-magento.blogspot.in/search?updated-max=2011-09-28T22:23:00-07:00&max-results=7&start=21&by-date=false
http://developer.practicalecommerce.com/topics/33-Code
http://blog.decryptweb.com/
http://phpmysqlscript.wordpress.com
http://www.fontis.com.au/blog/magento/
http://ommune.com/adding-new-currency-symbol-of-indian-rupee-inr-in-magento/
http://magentosnippet.blogspot.in/
http://magento-talks.blogspot.in/2011_09_01_archive.html
http://xhtmlandcsshelp.blogspot.in/2011/02/absolute-path-of-base-directory-in.html
http://magentocookbook.wordpress.com/category/magento-coding/
http://www.designer-daily.com/magento-tips-17085
http://www.learnmagento.org/page/4/
http://magebase.com/
http://www.magthemes.com/magento-blog/
http://amilan.wordpress.com/2008/05/
http://www.catgento.com/
http://spenserbaldwin.com/2010/03
http://magentoexpert.blogspot.in/2010/02/restrict-access-to-magento-during.html
http://keertikiran.blogspot.in/search/label/Magento
http://blog.baobaz.com/en
http://mydons.com/category/framework/magento/
http://www.justwebdevelopment.com/blog/category/magento/
http://magento-talks.blogspot.in/
http://phptalks.wordpress.com//?s=magento&search=Go
http://www.endreywalder.com/blog/magento/
http://fishpig.co.uk/magento-tutorials/custom-tabs-magento-product-admin
http://magento4u.wordpress.com/2009/06/08/create-new-module-helloworld-in-magento/
http://www.e-commercewebdesign.co.uk/blog/magento-tips/creating-a-custom-theme-in-magento-1-5.php
http://www.webspeaks.in/search/label/magento?max-results=10
http://fishpig.co.uk/magento-tutorials/custom-tabs-magento-product-admin
http://magento4u.wordpress.com/2009/06/08/create-new-module-helloworld-in-magento/
http://www.e-commercewebdesign.co.uk/blog/magento-tips/creating-a-custom-theme-in-magento-1-5.php
http://www.webspeaks.in/search/label/magento?max-results=10
Magento Themes Link
http://www.design4magento.com/free-magento-themes/
http://www.smashingmagazine.com/2010/06/03/download-a-free-magento-theme-hellowired/
http://www.tmdhosting.com/templates/free-magento-themes.html
http://pelfusion.com/freebies/15-free-high-quality-magento-templates/
http://www.modny73.com/inspiration/27-free-magento-themes-for-download/
http://www.tmdhosting.com/templates/free-wordpress-themes.html
http://www.magento-templates.com/free-magento-templates/
http://www.freewebtemplates.com/
http://www.expertmagentodevelopers.com/blog/6-exclusive-free-magento-1-7-themes/
http://www.expertmagentodevelopers.com/blog/download-free-magento-1-7-themes/
http://www.expertmagentodevelopers.com/blog/download-free-magento-1-7-themes/
Free Wordpress Themes Link
http://www.freewebtemplates
http://www.freewebtemplates.com/download/free-wordpress-theme/customize-774829566/download/.com/download/free-wordpress-theme/customize-774829566/download/
http://www.queness.com/wordpress-theme
http://www.freewebtemplates.com/website-templates/
Free Magento Extension link
http://www.fmeextensions.com/free-stuff/free-themes.html?mode=grid
http://www.magentheme.com/magento-extensions/free.html?limit=30
http://www.magentheme.com/magento-extensions/free.html?limit=30
Free HTML Templates link
http://www.freewebsitetemplates.com/templates/page-9
http://www.freewebtemplates.com/shop-templates/
http://www.metamorphozis.com/
http://www.templatesbox.com/templates.htm
http://www.siteground.com/
http://www.themesbase.com/?free=1&order=&page=11
http://www.freewebtemplates.com/shop-templates/
http://www.metamorphozis.com/
http://www.templatesbox.com/templates.htm
http://www.siteground.com/
http://www.themesbase.com/?free=1&order=&page=11
http://pligg2u.com/
http://myfreetemplatehome.com/ws4/10-administration-panel-html-templates-best-of-this-week.php
http://ginva.com/2012/05/admin-html-css-website-templates/
http://www.templatemo.com/preview/templatemo_354_simple_grid
http://www.templatemo.com/preview/templatemo_354_simple_grid
Free And paid magento links important
http://www.mage-world.com/
http://www.magikcommerce.com/
Free Jquery Block UI link
http://dreamerslab.com/blog/en/jquery-blockui-alternative-with-jquery-msg-plugin/
Wednesday, 4 July 2012
Tuesday, 3 July 2012
Subscribe to:
Posts (Atom)