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

[-] PSCFV-11441 : filter on current shop ID for price index #1208

Merged
merged 2 commits into from
Jan 7, 2014
Merged

[-] PSCFV-11441 : filter on current shop ID for price index #1208

merged 2 commits into from
Jan 7, 2014

Conversation

samy
Copy link
Contributor

@samy samy commented Jan 7, 2014

Requirements :

  • Multishop instance
  • Shop with prices and products (and not the one with the id_shop 1)
  • Blocklayered with prices slider enabled

Symptom :

  • The prices slider is not shown

Analysis :
The blocklayered->getPriceFilterSubQuery() method doesn't not filter on the id_shop, so it retrieves the other shops price indexes (which are null if you have only products on other shops than the first one).
So, the results filtered by getPriceFilterSubQuery() contain min_price/max_price at 0 values => the slider is not shown on the front-office

@ghost ghost assigned jnadaud Jan 7, 2014
@jnadaud
Copy link
Contributor

jnadaud commented Jan 7, 2014

Hello,

thank you for your PR, you are right ;-)

Best regards.

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

Successfully merging this pull request may close these issues.

2 participants