UPDATE 4 FEBRUARY 2012: An updated version of this widget is now available here
Today I launched my first Magento widget.
Features
- Group by category. Using this widget, you can specify the categories to display products from, and on the frontend you’ll be able to see the products grouped by those categories.
This is a lot more useful to customers, plus provides more flexibility to you as a store owner – you could even show featured products for each category at the top of that category’s page. - It’s free. Need I say more?
- Feedback is welcome! This isn’t a one-hit-wonder. I will attempt to actively develop and add features to it according to user requests.
- Random products too. It’s not only a featured products widget, if you prefer it can select any random product from a category (if specified), or from all your categories
Options
Name | Options | Description |
Frontend Template | Categorised, Mixed | Categories displays products grouped by category, Mixed displays all products in a single grid |
Categories | All active store categories | Choose the categories from which products are selected. Only used for the “Categorised” Frontend Template. Has no effect on “Mixed” |
Products Per Category | Any number (default 3) | The number of products to select from each category. Only used for the “Categorised” Frontend Template. Has no effect on “Mixed” |
Products per row | Any number (default 3) | The number of products to display per row on the frontend. |
Products to Display | Featured, All | Featured selects products only with the featured attribute, All selects all active products |
Featured Attribute Code | None. cube_category_featured by default | To use Featured Products, create an Attribute (Catalog->Attributes->Manage Attributes) with a Yes/No input type. Enter the Attribute Code into this Featured Attribute Code field. Set this field to Yes for each featured product. |
Download
I’ve submitted the extension to MagentoConnect and will post the URL as soon as it’s live.
For now you can download it using the links below:
Zip file (upload all contents to server): download
Pear package: download
Screenshots
License
Basically, you can use this extension for free on your store. You can include it with your Magento themes and templates (as I’m about to with my next template).
The only thing I ask is that you give credit where credit is due.
Enjoy!
UPDATE 4 FEBRUARY 2012: An updated version of this widget is now available here
This extension has helped us so much! Thank you for sharing it with all of us! I was wondering if there was any way we could configure it to control product order? In the magento admin, “Manage Categories” I can view all assigned products to that category and then specify the order those products show up in.
Is there a way to specify product order within the extension?
Again, thank you!
Awesome extension, thank you for sharing it! Is there a way to control product order? For example in my category view on a normal Magento layout, we can assign product list order in the grid. Is there a way to specify order within the extension?
Thanks again!
How to make that this wiget dont randomize products to display all time?
did you get a response on this?
Hi,
I got a error while installing this widget in Magento 1.7 version. I got the following error
———-
CONNECT ERROR: Package file is invalid
Invalid package name, allowed: [a-zA-Z0-9_-] chars
Invalid version, should be like: x.x.x
Invalid stability
Invalid date, should be YYYY-DD-MM
Invalid channel URL
Empty authors section
Empty package contents section
—————-
how to fix this. Please guide me for this installation
Thanks in advance
Sam
How do i display rating in featured product?
Here getRatingSummary() function not working. Can anyone help me to sort out this problem?
Hi Anup,
Version 2 of this extension with product ratings is available here: http://www.cubewebsites.com/blog/magento/extensions/freebie-magento-featured-products-widget-version-2/
It has quite a large code rewrite and plenty of new features, including the ability to view ratings!
[…] a year ago, I released a free Magento Featured Products Widget which groups the featured products by category. Since releasing it I’ve had a lot of […]
Thanks for your widget. It’s really useful and easily to use.
[…] I’ve spent the past few days creating a more up to date version of my Category Featured Product module for Magento. […]
Hey folks,
I’ve been VERY busy and had hardly opportunity to revisit this project despite meaning to. I have spent the past few nights looking over it again, improving the code base and adding a couple of new features.
I’ll continue work on it throughout the week so stay tuned for the new release. I’ll announce on this blog and on Twitter too if you want to follow @Cube Websites
I’ve uploaded all the files but when I insert the widget and reload the page; all the other content on the page as well as your widget disappears almost as though there is no closing tag.
anybady can send me one? my email: [email protected] thanks in advance.
I still can not download it? any ideas?
how can i show a rating-summary below the product titles?
i tried
getReviewsSummaryHtml(); ?>
but it shows up nothing.. help is much appreciated! thanks
Just installed this widget but found the category selection to be rather confusing as we have some category names that are the same across several stores so it was difficult to know which “Accessories” category I was selecting. Here’s what I did to fix it. Hope it helps someone else. In app/code/local/Cube/CategoryFeatured/Model/Categories.php… getStore()->getRootCategoryId(); $collection = Mage::getModel('catalog/category')->getCollection() ->setStoreId($store) ->addAttributeToSelect('name') ->addAttributeToSelect('url_path') ->addAttributeToSelect('is_active') ->addAttributeToSort('parent_id', 'ASC') ->addAttributeToSort('name', 'ASC'); $ret = array(); foreach($collection as $category) { if ($category->getParentId() && $category->getParentId() > 1) { $parent_name = " (" . $this->getParentName($category->getParentId()) . ")"; } $ret[] = array( 'value' => $category->getId(), 'label' => $category->getName() . $parent_name ); }… Read more »
Hi. Using 1.4.1.1.
It doesn’t show price-box for grouped products in grid.
any help?
This is a great Widget! I’ve been looking for something like this for a long time. I have one problem. I have multiple stores on my megento installation and when I use “Mixed” it pulls products from different stores. Is there a way to narrow it don so it only pulls from the store that the widget is put on?
Thanks
Hello, can you explain more how to show featured category products on that category’s page?
Hello,
Very well, I use.
Is it possible to add a carousel of products?
If so you may have a code?
Thank you for the widget
Ah ha! Solved.
Just like Steffen said: “extend the Mage_Catalog_Block_Product_Abstract instead of the Mage_Catalog_Block_Product for your Cube_CategoryFeatured_Block_List class”.
Thanks Steffen.
Great! It works nicely for me, but can you show me how to add the action section to the “block.phtml” to show the “Add to cart” button and “Add to wishlist”, “Add to Compare” links.
Thanks a lot!
Hey,
thanks for the widget. I used it as a basis for an extension.
PS: It’s better to extend the Mage_Catalog_Block_Product_Abstract instead of the Mage_Catalog_Block_Product for your Cube_CategoryFeatured_Block_List class. Then you can access the getPriceHtml function 🙂
Thanks for the module
Does nearly exactly what I need! Should be pretty simple for me to add an add to cart button, then it’ll be perfect for the website I’m working on.
Thanks man! I’m using Magento 1.4.2.0, so it works in this version.
Hey Paul, maybe you can help me, I uploaded all the files into the directories, but don’t get nothing in the backend, your help is appreciated, thanks
i’m trying to use your widget but with my custom theme the css settings are not loaded.
Where do you think the problem could be?
i’m tring to use your widget but with my custom theme the css file is not loading.
Where could be the problem?
Hi,
Very really nice widget. Greate widget to have.
But, i couldn’t download this from the above link.
Can you email me it’s copy?
Thanks a lot!
Hi, i just uploaded all the files from the .zip and the widget does not show up after relogging. i checked under system->configuration->advanced and there is no cube_categoryfeatured in the list! Any ideas??
Does this widget supports magento 1.4?
I’ve unpacked it from zip file and when I’m trying to add it from wysiwyg editor it shows only widget type dropbox and no widget options, even for default magento widgets.
P.S. and how can I uninstall this widget?
Deleting it’s files leads to error in /lib/Varien/Autoload.php
Hi, your Widget works wonderful and fits my needs. Thank you very much!
Hi, your Widget looks very interesting!
The Link to the zip File is the same as the pear package, so i can not test it, but what i’ve seen from the screenshots, this is exactly what i was looking for! Thank you!
Hi Sven,
Just updated the link, should be working now. Let me know what you think!