Tag Archives: admin
April 25, 2011Posted by on
This issue occurred to me once in the past, but it was for a different reason. The first time it was because I had setup a Magento install with a domain of http://localhost. Magento only likes domains with dots in them. My new install does not have this problem, so what was causing the problem. And why was this only an issue with Chrome? I was able to login with firefox without an issue.
It turns out that my virtual machine is running a different date than my desktop. After reading a few posts, the best solution was to update the cookie lifetime in the configuration settings. I had to increase it significantly to 1000000, after saving the new configuration, the problem was resolved and I could use Chrome to login again.
April 25, 2011Posted by on
I’ve just released a second small helper extension for Magento. On a past project, the store had about 200 configurable products, some having over 1000 associated simple products. To the customer, only the configurable products were in the catalog, all the simple products where hidden. We noticed that in the category edit area, when we selected products to add to the category all the products in the catalog were available. Because the sku names for the associated simple products were so similar to the configurable parent product, sifting through pages of products became too time consuming. Also, it didn’t really make sense as to why the product grid in the Category -> Category Products tab didn’t have similar search filters as the main product management grid in the admin.
This module adds more search filters columns to the Category -> Category Products tab and helps to extend the admin. As a bonus, the category name will be hyperlinked to the url for the category on the front of the site.
Linking to the category page on the front of the site was actually a bit of a problem, as the form.phtml page differs in its style. On the product edit.phtml template, the function $this->getHeader() returns the entire header (product name). However on form.phtml for the category page, $this->getHeader() only returns the category name, and is wrapped in htmlEscape like this:
In order to get around this issue, the package contains a modified version of the file design/adminhtml/default/default/template/catalog/category/edit/form.phtml and will overwrite the original file.
April 23, 2011Posted by on
Finally. I’ve been talking about it for a while now, and uploaded my first Magento extension. The extension is called Admin Product Preview Link. Right now its in pending stage, but will provide an update when it goes live.
The extension is fairly simple, but I’ve found it useful from an administrator perspective. After making changes and updates to a product, it’s always good practice to do a quick sanity check of the product page on the front of the site. It’s those times when you’re just in the admin area and don’t feel like opening a new browser and navigating to your product. This extension will hyperlink the product name and create a link that will open up the front-end product page in a new browser window.