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

Fixed hardcoded group id in getNewProducts #6520

Merged
merged 1 commit into from Sep 30, 2016

Conversation

robin-rozo
Copy link
Contributor

Questions Answers
Branch? develop
Description? Use configuration option for default group of unidentified customers instead of using a hardcoded value ;)
Type? bug fix
Category? CO
BC breaks? no
Deprecations? no
How to test? - change default group in AdminGroupsController with an id != 1 for unindentified customers
- assign categories only visible for this group
- new products in blocknewproducts of thoses categories should appear even if not logged to a customer account

Use configuration PS_UNIDENTIFIED_GROUP for unidentified customers group instead of hardcoded value

@mickaelandrieu mickaelandrieu changed the title CO Fixed hardcoded group id in getNewProducts Fixed hardcoded group id in getNewProducts Sep 28, 2016
@mickaelandrieu
Copy link
Contributor

Hi, thank you for your contribution.

Sadly, your commit label doesn't respect our standards yet, would you mind to update it to CO: fixed hardcoded group id in getNewProducts please ?

captureee

Mickaël

Use configuration PS_UNIDENTIFIED_GROUP for unidentified customers group instead of hardcoded value
@xBorderie
Copy link
Contributor

Thank you for the commit update @turtl3 !

@mickaelandrieu mickaelandrieu merged commit 54be125 into PrestaShop:develop Sep 30, 2016
@mickaelandrieu
Copy link
Contributor

Thank you @turtl3 :)

@robin-rozo robin-rozo deleted the patch-2 branch September 30, 2016 16:49
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.

None yet

3 participants