-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Combination feature desactivation #6208
Combination feature desactivation #6208
Conversation
* Return if Feature feature is active or not | ||
* @return bool | ||
*/ | ||
public function featureIsActive() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except if I'm wrong, it's not used, right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's not used for the moment. As I was working on combinaison and feature, I make 2 functions
'desc' => $this->trans('Add new feature', array(), 'Admin.Catalog.Feature'), | ||
'icon' => 'process-icon-new' | ||
); | ||
if (Feature::isFeatureActive()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not really the same :
- sometimes $this->display == 'something', sometimes empty($this->display)
- Combination:: vs Feature::
Thank you @aleeks |
Fix "combination" bloc on "new product" page
- Go to "attributes & features tabs", test if is ok with settings,
- Go on "new product" page and see "declinaison bloc" on the right is active or not