How to Add Products in Magento

1. Go to Magento admin dashboard select “Catalog“->”Manage Products“.

2. Click on “Add Product” button to add new product.

3. Check “Create Product Settings” and select “Attribute Set” and “Product Type“.

4. After fill product information like Name, Description, SKU etc..

Advertisements

Issue with admin login in Magento

GO to File at this location :- app\code\core\Mage\Core\Model\Session\Abstract\Varien.php

And commenting out the following :

// session cookie params
$cookieParams = array(
    'lifetime' => $cookie->getLifetime(),
    'path'     => $cookie->getPath()//,
    //'domain'   => $cookie->getConfigDomain(),
    //'secure'   => $cookie->isSecure(),
    //'httponly' => $cookie->getHttponly()
);

//if (!$cookieParams['httponly']) {
//    unset($cookieParams['httponly']);
//    if (!$cookieParams['secure']) {
//        unset($cookieParams['secure']);
//        if (!$cookieParams['domain']) {
//            unset($cookieParams['domain']);
//        }
//    }
//}

Box gradient using CSS

.menu{

/* Safari 4-5, Chrome 1-9
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(#43aedb));*/

/* Safari 5.1, Chrome 10+
background: -webkit-linear-gradient(top, #43aedb, #1a82f7);*/

/* Firefox 3.6+
background: -moz-linear-gradient(top, #43aedb, #1a82f7);*/

/* IE 10
background: -ms-linear-gradient(top, #43aedb, #1a82f7);*/

/* Opera 11.10+
background: -webkit-linear-gradient(top, #E0E9ED, #43aedb); */

}

gredient

CSS for box shadow

.tx
{
position: relative;
}
.tx:before, .tx:after
{
z-index: -1;
position: absolute;
content: “”;
bottom: 25px;
left: 10px;
width: 50%;
top: 80%;
max-width:300px;
background: #777;
-webkit-box-shadow: 0 35px 20px #777;
-moz-box-shadow: 0 35px 20px #777;
box-shadow: 0 35px 20px #777;
-webkit-transform: rotate(-8deg);
-moz-transform: rotate(-8deg);
-o-transform: rotate(-8deg);
-ms-transform: rotate(-8deg);
transform: rotate(-8deg);
}
.tx:after,
{
-webkit-transform: rotate(8deg);
-moz-transform: rotate(8deg);
-o-transform: rotate(8deg);
-ms-transform: rotate(8deg);
transform: rotate(8deg);
right: 10px;
left: auto;
}

shadow

Get values in loop from $_POST

foreach($_POST as $key=>$value)
{
if(!in_array($key, $skip_list)) {
$message = $message . $key .”: ” . $value . “\n”;
}
}

$email = “email id”;

$from_address = “From id”;

$subject = “Email Subject”;

mail($email, $subject, $message,”FROM: “.$from_address);