enhancedgrid icon indicating copy to clipboard operation
enhancedgrid copied to clipboard

Storeview-specific value is not shown in grid

Open borriglione opened this issue 9 years ago • 9 comments

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

borriglione avatar Feb 04 '16 09:02 borriglione

Debugging note:

_prepareCollection() of Grid.php returns a collection with the correct status value 2

borriglione avatar Feb 04 '16 09:02 borriglione

If I put "status" in the list of _isSpecialCol() its working

borriglione avatar Feb 04 '16 10:02 borriglione

Can you submit a PR?

jayelkaake avatar Feb 04 '16 15:02 jayelkaake

I can, but it would only solve the issue for status and not for other attributes

borriglione avatar Feb 04 '16 17:02 borriglione

OK I'll check to see if I can figure out what's going on here.

jayelkaake avatar Feb 04 '16 17:02 jayelkaake

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)

jigneshmca1985 avatar Apr 06 '16 15:04 jigneshmca1985

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

jayelkaake avatar Apr 06 '16 15:04 jayelkaake

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

melaxon avatar Apr 10 '16 00:04 melaxon

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.

psdevhh avatar Jun 17 '16 15:06 psdevhh