Magento Themes and Magento Extensions

How to add products in Magento

Posted on October 5th, 2015 | Posted by admin

We will show you in this tutorial how to add products on your Magento store in a few simple steps.

The first step is to login to the administrator back-end of the store:

If you have installed Magento under a subfolder of the www root folder for an example “store” you should add this directory name before the index.php. To create a new product, you will first need to navigate to the Manage Products page by going to Admin Panel -> Catalog -> Manage Products.

Magento – Handy code snippets

Posted on June 16th, 2015 | Posted by admin

Here’s a short list of magento codes to do some of the simple stuff. It’s a little empty at the moment but I’ll keep adding to it over time.

  • Check if customer is logged in
    $_customer = Mage::getSingleton('customer/session')->isLoggedIn();
    if ($_customer) {
    // do stuff
  • Get product image
    <?php echo $this->helper('catalog/image')->init($_product, 'image'); ?>
  • Show image using current skin path (PHTML)
Read more...   |   Comments Off

SNS Camen – Premium Responsive Magento Theme

Posted on April 28th, 2015 | Posted by admin

SNS Camen – Premium Responsive Magento Theme
Camen A fresh and clean design. If you want to have a very unique and attractive design and trying to make your way among numerous store owners, it is a great starting point for you.

Camen with powerful features, easy to customize, power admin, cool effect. We hope you will have a great experience

SNS Camen - Premium Responsive Magento Theme

  • Power admin
  • Responsive Design
  • Unlimited Colors
  • Support cpanel on front-end

Introducing Enterprise Edition 1.14.2

Posted on April 25th, 2015 | Posted by admin

We’re excited to announce several new developments that expand the capabilities of the Magento platform and reinforce Magento’s leadership in accelerating business growth.

Introducing Enterprise Edition 1.14.2

Today we are announcing the following:

1. Magento Enterprise Edition 1.14.2

Enterprise Edition 1.14.2 software is available today and includes several new features and functionality.

More Visual Merchandiser Category Sorting Rules

Five new automated product category sorting rules give Enterprise Edition merchants even more power to drive customer engagement and incremental sales from category pages. Selecting a sorting rule enables merchants to completely re-arrange a category page to feature best sellers, highest-margin products, lowest-stock items, or the newest products at the top of the category. Merchants can also sort products by color within a category to easily implement color groupings or seasonal campaigns.

Large number of input variables in Magento

Posted on March 3rd, 2015 | Posted by admin

The issue described in the following text has been taken care of in Magento EE 1.14 / CE 1.9

Recently, a pretty strange issue occurred on one of our projects. Our client reported that when trying to assign products to a category, only a thousand of products got saved while the other ones were ignored. To deal with this issue, I decided to jump to the category save action and check for any problems with the code that may cause this behaviour.

Here’s how Magento assigns products to a category:

class Mage_Adminhtml_Catalog_CategoryController extends Mage_Adminhtml_Controller_Action { public function saveAction() { . . .   if (isset($data['category_products']) && !$category->getProductsReadonly()) { $products = array(); parse_str($data['category_products'], $products); $category->setPostedProducts($products); } . . . } }

It takes a string generated by a serializer, passes it to the parse_str function which makes an array out of it and assigns the resulting array to a category. Nothing wrong with it, right?

Since examining the code didn’t give me any answers I decided to check the error log. Here’s what I found in it:

Warning: parse_str(): Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.

As you can see, the problem is being caused by php’s configuration parameter max_input_varswhich limits the number of input variables that may be accepted. It was introduced in PHP version 5.3.9. in order to deal with denial of service attacks which use hash collisions. Parse_str function seems to take that parameter into account when generating array from string. Resulting array’s length is equal to the value of max_input_vars parameter which is by default set to 1000. This is why only first thousand products got saved and the rest were not.

Page 1 of 3312345»102030...Last »