jayelkaake / enhancedgrid Goto Github PK
View Code? Open in Web Editor NEWThe original enhanced admin product grid for Magento.
Home Page: https://www.magentocommerce.com/magento-connect/enhanced-admin-product-grid.html
The original enhanced admin product grid for Magento.
Home Page: https://www.magentocommerce.com/magento-connect/enhanced-admin-product-grid.html
Installed (modman) plugin. Asterix does appear after products entry in main menu. 404 Error on the products page from an URL of https://www.sweettoothrewards.com/.
In my case: https://www.sweettoothrewards.com/m/?data=7b2261223a22656e68616e63656467726964222c22762.......
Is it possible to filter products by multiple categories? The standard view shows all categories listed out separated by commas (eg. Cat1, Subcat1, Subcat2, Cat2). To filter by a single category, you must type the category name in manually exactly as it was created. However, if you try to filter by multiple categories exactly as they appear (eg. Cat1, Subcat1, Subcat2, Cat2), no results are given.
I suppose this is because it is trying to find a single category with the name of all multiple categories? If this is the issue, can it be resolved so that multiple categories can be used as a filter?
Hi,
the first page does contain the new columns, but if I use the paginate so change to page 2 the additional columns and the "Export to"-function are gone - after reloading the page it's all back again :)
thanks
Klaus
Need help with this error.
error: Uncaught TypeError: Argument 1 passed to TBT_Enhancedgrid_Model_Collection_Decorator_Abstract::setCollection() must be an instance of TBT_Enhancedgrid_Model_Resource_Eav_Mysql4_Product_Collection, instance of Mage_CatalogSearch_Model_Resource_Search_Collection given, called in /mnt/bluedata/home/magneto/public_html/app/code/community/TBT/Enhancedgrid/Model/Product/Collection/Category/Decorator.php on line 30 and defined in /mnt/bluedata/home/magneto/public_html/app/code/community/TBT/Enhancedgrid/Model/Collection/Decorator/Abstract.php:30
I would have never installed. People don't use this extension. There are plenty out there that do the same without the crap.
What about Changing AttributeSet there is a code in product controler but there in no implementation in grid itself ...
ProductController.php
// Added by Tegan Snyder.
public function changeattributesetAction()
{
$productIds = $this->getRequest()->getParam('product');
$storeId = (int) $this->getRequest()->getParam('store', 0);
if (!is_array($productIds)) {
$this->_getSession()->addError($this->__('Please select product(s)'));
} else {
try {
foreach ($productIds as $productId) {
$product = Mage::getSingleton('catalog/product')
->unsetData()
->setStoreId($storeId)
->load($productId)
->setAttributeSetId($this->getRequest()->getParam('attribute_set'))
->setIsMassupdate(true)
->save();
}
Mage::dispatchEvent('catalog_product_massupdate_after', array('products' => $productIds));
$this->_getSession()->addSuccess(
$this->__('Total of %d record(s) were successfully updated', count($productIds)));
} catch (Exception $e) {
$this->_getSession()->addError($e->getMessage());
}
}
$this->_redirect('*/*/', array('store' => (int) $this->getRequest()->getParam('store', 0)));
}
Please check this screenshot
https://gyazo.com/3d49f12ab438f4e132a8fd644e36841c
There are two website with the same category tree and category ids, but given category name in website scope is in its own language.
As you can see the category name is written multiple times in the grid
If I use filters them it shows category names differently:
https://gyazo.com/32051a02fa112398ac76480a25514df1
Is this known bug? Do you have any fix for that?
Thank you in advance!!!!
If you choose a custom attribute as a filter/column, the admin shows the header as the attribute ID/alias instead of the label like the default columns. However, in the system configuration for the extension, the labels are used correctly when choosing what columns to display.
when editing a product, seems like the browse button has been disabled now, anyone else have this issue after upgrading their CE to 1.9.3.0
It should be great be able to use an empty value to filter, to find all the rows where there is no value for the current column/attribute.
Thanks !
Hello,
I am using that extension.
On this file path: enhancedgrid/app/code/community/TBT/Enhancedgrid/Block/Widget/Loyalty.php
$url = 'https://www.wdca.ca/m';
My website is running on https but its giving ssl error like certificate expired for https://www.wdca.ca/m that url. Please check.
Thanks & Regards
Abhishek
is it possible to add this attribute? Which file should I edit in order to do this?
thanks
It is showing following like two buttons in admin.
http://prntscr.com/e5ieau
Any idea how to remove these?
Hello,
actually this module is working for one of my customers (Magento 1.7.0.2) and also after editing some product is saves the changes but redirects to bad URL. It should take custom admin URL and add enhanced grid catalog product index to it, but it ignore admin path. So, it should go for index.php/customadminpath/enhancedgrid/catalog_product/index/ and it goes for index.php/customadminpath/enhancedgrid/catalog_product/index/ which leads to 404 error. Some idea what to do? Thanks, Stanislav
Hi,
The following patch will make the module compatible with 1.8, are you interested in receiving a pull request and publishing the updated version on Magento Connect? I haven't tested the update on older versions but will do if you are planning to publish the update...
Thanks,
JD
commit 24bc23405f70456c5ccbee92f381f5d0500724bf
Author: Jonathan Day <[email protected]>
Date: Mon Oct 7 11:55:37 2013 +1030
resolve 1.8 compatibility issue for TBT_EnhancedGrid
diff --git a/app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php b/app/code/community/TBT/Enhancedgrid/Block/Catalog/Produ
index ad81983..2ba0953 100644
--- a/app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php
+++ b/app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php
@@ -647,16 +647,16 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
$collection
->joinField('categories',
$ccev_t,
- 'GROUP_CONCAT(_table_categories.value)',
+ 'GROUP_CONCAT(DISTINCT at_categories.value)',
'entity_id=category_id',
- "_table_categories.attribute_id={$category_name_attribute_id}",
+ "at_categories.attribute_id={$category_name_attribute_id}",
'left');
$collection
->joinField('category',
$ccev_t,
'value',
'entity_id=category_id',
- "_table_category.attribute_id={$category_name_attribute_id}",
+ "at_category.attribute_id={$category_name_attribute_id}",
'left');
$collection->groupByAttribute('entity_id');
If I choose a specific store view, and none of the products shown on grid have fx manufacturer and color set. Then i cannot filter for these attributes either. The drop down doesn't populate.
It works just fine when i don't choose a specific store view - then i can choose between all the values of the attributes.
I'm using Magento 1.9.3.1 and newest version of enhanced grid
Encountered problem in Magento CE 1.8 and CE 1.9
Problem doesn't occur in Magento CE 1.5
Extension version: 1.3.4.2 and 1.3.4.3
Situation:
Steps to reproduce the bug:
Using the bulk action 'change attribute set' results in an access denied status if the admin user does not have all access, even if granted permissions for enhanced product grid.
Hi - if you filter using the name column then the Visibility and Status columns go blank (Enhanced Grid v1.3.4.3 / Magento CE 1.9.1 / Sweet Tooth v1.8.6.2 / Better Store Search v3.3.0.0)
Thanks for your work on the Enhance Grid - Just as much fanciness to help us massively.
John
Currently, when you use any attribute that is a Multi Select attribute as a filter, it does not display the actual value/label. Instead, it shows a list of numerical references. This is useless as nobody is ever going to know what values/options those numbers actually reference.
I've just updated the module to the latest version and I have a bit of an issue. When filtering products, I loose my custom defined columns, and no filtering occurs.
However, if I refresh the page, the custom columns come back and the also shows only the filtered products.
Feels like the AJAX grid isen't hitting the correct route or something like it.
Any ideas?
Installed enhanced grid but it gives this error
Fatal error: Call to a member function toOptionArray() on boolean in /home/xxx/public_html/includes/src/Mage_Adminhtml_Block_System_Config_Form.php on line 463
I also have HTTP ERROR 500 on the configuration page
I am using Magento 1.9.1.0
After installing the SUPEE-6788 patch the the version of Enhanced Grid (v1.3.2.1 from Magento Connect) would show a 404 page when I went to view the product grid. So I came here and grabbed the latest version of Enhanced Grid (v1.3.4.1). I uninstalled the old version and then installed v1.3.4.1. Now when I try and open the product grid page it no longer show a 404 page but the place where the product grid should be is blank. I don't see any js console errors or PHP errors (I have php errors turned on). See screenshot: http://prntscr.com/92o7u0 I have the * next to the Manage Products link and the url looks like this: https://mysite/index.php/admin/catalog_product/.... The site is Magento v1.9.1.0 Any idea why I am seeing the blank page instead of the product grid?
I'm getting this warning, after upgrading to Magento 1.9.3.10 + official PHP7.2 patch + PHP7.2.
Warning: A non-numeric value encountered in app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php on line 260
line 260:
$imgWidth = Mage::getStoreConfig('enhancedgrid/images/width') + 'px';
The field is set to a numeric value in admin.
Recently uninstalled and reinstalled through Magento Connect.
As a result, a couple oddities are now present:
Flushed cache and recompiled.
Running Magento 1.8.1.0.
Any thoughts?
Thank you.
Hi,
I have enhancegrid installed on magento 1.6. After I upgraded magento to 1.9.0.1 I have some issues with Manage Products grid:
This module is very useful and I am grateful to anyone who can help me. Thanks.
Regards.
When displaying categories
on product list I can see duplicate category names. I managed to trace problem to the join in TBT_Enhancedgrid_Model_Product_Collection_Category_Decorator::addCategories
$collection->joinField( 'categories', $ccev_t, "GROUP_CONCAT({$alias_prefix}categories.value)", 'entity_id=category_id',
"{$alias_prefix}categories.attribute_id={$category_name_attribute_id}", 'left' );
Any ideas how to fix it?
Example:
Product is in category cat/dog
, but list display cat, cat, cat, cat, dog
(1st category gets displayed multiple times).
Hi, it would be nice if you integrate updated_at into enhancedgrid.
Show.php -> $cols[] = array('value' => 'updated_at', 'label' => 'Date Updated');
and
Columns.php ->
'updated_at' => array(
'type' => 'datetime',
'width' => '100px',
'header' => Mage::helper('catalog')->__('Date Updated'),
),
Thanks!
Installing via modman results in a blank manage products page.
(even after a cache clean, reindexall and an admin logout/login)
Hi, its a great plugin you have developed. I only have an issue. Only products that are shown on the grid gets exported ,But I wanted the wholelist of products to be exported. is there a way to sort it out.
Is this compatible with magento 1.9.2.4?
if yes,
I've installed the extension successfully but the catalog product* page only displaying blank page and no product grid can be found.
I can only access the settings at the system configuration tab.
Kindly help. thanks
Hi
We are using this extension on a site with around 6k products.
When you update data on the products grid (ie Qty) it updates in a coupe of seconds without issues.
However if we try to update older products that have been on the site for a while it can take up-to 50 seconds to save.
Any ideas what could be causing this?
Thanks
Darren
Hi, have you considered publishing (registering) your package with composer repository packagist? It has a big green button on the top right which requires a one time registration by providing this repository URL. It then proceeds to look-up the current release version by means of your git tags (much prefered over branch->alias) and as such, even if this package is quite stable and doesn't get much work done, should still be set at tag 0.1.0
(that is if you adhere to the semantic versioning system I guess, and you should). This in order to distinguish it from any future work and prevent breaking on composer update
when dev-master
gets work done.
May I advice the excellent https://github.com/nvie/gitflow? A simple git flow release start 0.1.0
followed by (optionally work done then) git flow release finish 0.1.0
and a git push --tags
should do the trick :)
hello guys,
I get a error after I have install the extension and click in the config page.
Fatal error: Call to undefined method Mage_Eav_Model_Resource_Entity_Attribute_Collection::addVisibleFilter() in /data/web/public/app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Columns/Show.php on line 10
If I sort list by image I wish that at least list have been sorted (no image) / ( image exist ) not it sorted randomly
When you hit "reset filter" in the grid view, it returns a default version of the grid view. Hitting refresh or getting to that page any other way will show the customized view we set.
This is the customized view (how it's supposed to work)
When you hit the reset filter button, it comes back with this:
We have version 1.3.4.3 .
Hi, can you make the same advace grid for Manage Category -> Category (choosem) -> Manage Category.
If you could control+C e control-V and create the same funcionality for this area, will be super easy to add the correct product to the Category
The standard admin grid view when using "Categories" as a column shows all categories listed out separated by commas (eg. Cat1, Subcat1, Subcat2, Cat2). To filter by a single category, you must type the category name in manually exactly as it appears (eg. Cat1). However, once the results are displayed, all the other categories for each product are stripped (eg. Subcat1, Subcat2, Cat2) from the display leaving only the searched category. This makes it impossible to see what other categories the result products belong to.
Hi, Guys.
Is possible with this module filter only products with tierprice?
This is not a real issue, but it would be nice to sort all categories by tree and not iD's when viewing the column for categories.
Is there a simple solution for this?
Hi, just manually installed and confirmed all files are in the locations listed in the modman script. Afterwards, cleared cache and logged out/back in. The Manage Products page is blank.
I am using a custom theme (Intenso). Do i need to relocate files to different directories because of the custom theme?
Thanks.
lol wrong Git.
When I openning admin/enhancedgrid/catalog_product/index I've got 404 error
Similar to #30 and other reports, my grid seems to be reverting back to the standard Magento grid during any update to it via Ajax.
I remember this started doing it around the time of the SUPEE-6788 patch craziness, and I've just now updated the extension in hopes to fix it... but no dice.
Not entirely sure what information I can provide to help or where I should be looking for answers within the code itself. Magicento reports no rewrite conflicts with the Grid, nor can I find any extension that rewrites adminhtml/catalog_product
Any troubleshooting tips?
Hello Team,
filter doesn't work in magento 1.8.1.0.
reply me back for more details.
Regards,
Jigar
1.9.2.1 - 1.9.2.2 massRefresh don't work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.