Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storeview-specific value is not shown in grid #32

Open
borriglione opened this issue Feb 4, 2016 · 9 comments
Open

Storeview-specific value is not shown in grid #32

borriglione opened this issue Feb 4, 2016 · 9 comments

Comments

@borriglione
Copy link

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
Copy link
Author

Debugging note:

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

@borriglione
Copy link
Author

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

@jayelkaake
Copy link
Owner

Can you submit a PR?

@borriglione
Copy link
Author

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

@jayelkaake
Copy link
Owner

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

@jigneshmca1985
Copy link

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)

@jayelkaake
Copy link
Owner

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
#32 (comment)

@melaxon
Copy link

melaxon commented Apr 10, 2016

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

@psdevhh
Copy link

psdevhh commented Jun 17, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants