Monthly Archives: January 2016

How to hack wordpress website by linux?

WPScan.rb is a nifty bit of program that allows you to scan WordPress sites for information as well as do some fun stuff.Say for example you want to “hack” into your friends WordPress site :-)…or just get some information, whatever. I’m using BackTrack 5 r3 for this tutorial but you …

Read More »

Create swtch color on product list page in Magento

Copy and past the code . where you want to display color  below the name or above the name. follow the following steps: images updated in configurable simple product  acording to color . Change Visibility *: catalog search  List.phtml <? if($_product->getTypeId() == "configurable"): $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product); $simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions(); foreach($simple_collection …

Read More »

Magento 2 get custom category attribute

public function getCategoryCollection() { $collection = $this->_categoryCollection->create() ->addAttributeToSelect('*') ->addAttributeToFilter('is_home_category', '1'); return $collection; }

Read More »

Magento: How to check if current page is homepage?

1.) // Put your homepage-only code in here. 2.) if($this->getIsHomePage()) { echo 'You are in Homepage!'; } else { echo 'You are NOT in Homepage!'; } 3.) $routeName = Mage::app()->getRequest()->getRouteName(); $identifier = Mage::getSingleton('cms/page')->getIdentifier(); if($routeName == 'cms' && $identifier == 'home') { echo 'You are in Homepage!'; } else { echo …

Read More »

COMPARE MAGENTO 1 VS MAGENTO 2 TECHNOLOGY

Read More »

Magento 2 Overview – Features, Reviews, Tutorials and Demo

[blockquote author=”sushil kumar”]Magento leading online business solution exists for 5 years. It has been downloaded over 5 million times, and now Magento 2.0 is on the way, so get ready for the New Year present..[/blockquote]

Read More »