enhancedgrid
enhancedgrid copied to clipboard
Storeview-specific value is not shown in 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:
- Product is available in Website A and Website B
- Global scope product status is "Enabled"
- Website B scope product status is customized to "Disabled"
Steps to reproduce the bug:
- Open backend product collection
- status is shown as "Enabled" (correct)
- select store of website B
- BUG: status is still shown as "Enabled" even if it is disabled in this website scope
- Curious issue: the search works fine for status: "Disabled" -> returns the product and correctly doesn't return it in case status: "Enabled" is searched
Debugging note:
_prepareCollection() of Grid.php returns a collection with the correct status value 2
If I put "status" in the list of _isSpecialCol() its working
Can you submit a PR?
I can, but it would only solve the issue for status and not for other attributes
OK I'll check to see if I can figure out what's going on here.
I have applied security patches after that when i try to open Catalog -> Manage Product grid view then it will open TBT Enhanced grid view. It is also opening from Catalog -> Manage Product * ( This is TBT Enhanced grid view)
Just update to the latest version and that should be fixed. We fixed the security patch stiff a few months ago.
J On Apr 6, 2016 10:25 AM, "jigneshmca1985" [email protected] wrote:
I have applied security patches after that when i try to open Catalog -> Manage Product grid view then it will open TBT Enhanced grid view. It is also opening from Catalog -> Manage Product * ( This is TBT Enhanced grid view)
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/jayelkaake/enhancedgrid/issues/32#issuecomment-206426312
It also does not show the website specific price in the grid, it shows the correct currency for website B and default price for admin website
Hi guys, I've noticed the same issue, Enhancedgrid always showing the default price, even when a specific website is selected in the products grid.
So far what I've done to fix this is to change line 167 in app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php
from
//$collection->setStoreId($store->getId());
to
$collection->setStoreId($store->getId());
as a preliminary fix.
I'd push a PR, but I'm not sure yet how exactly that change affects the code... will probably investigate some more in the coming days and then come back to this issue.