-
Notifications
You must be signed in to change notification settings - Fork 63
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
Added queue clearing #170
base: dev
Are you sure you want to change the base?
Added queue clearing #170
Conversation
JavaScript events considered: - updateCart - changedCheckoutStep - updatedProduct - updateProductList
controllers/front/ajax.php
Outdated
/** | ||
* @var Ps_Googleanalytics | ||
*/ | ||
public $module; |
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.
Is this necessary? I think it should be automatic when you are extending ModuleFrontController.
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 necessary; I added it to make the type explicit, i.e., "Ps_Googleanalytics", so that there are no warnings in the editor.
However, if you consider it "redundant", I can remove it.
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.
Just remove this please, your IDE complains because it lacks the context of a parent class. :-)
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.
I removed it.
Thanks!
Co-authored-by: Nicolas Lœuillet <[email protected]>
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.
Block to prevent accidental merge, I want to check and test it. 👍
@Hlavtox, |
awesome, waiting for merge |
@Hlavtox, have you had a chance to review this PR? Also, if it's okay, I could create a second PR with the changes related to updating the product list (e.g., on the category page when filtering). Thanks, and sorry for bothering you. |
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.
One comment but I think its good.
ping @kpodemski for check
controllers/front/ajax.php
Outdated
/** | ||
* @var Ps_Googleanalytics | ||
*/ | ||
public $module; |
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.
Just remove this please, your IDE complains because it lacks the context of a parent class. :-)
JavaScript events considered: