-
Notifications
You must be signed in to change notification settings - Fork 477
-
Notifications
You must be signed in to change notification settings - Fork 477
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
Document Lazy Array manipulation in front #1390
Comments
jf-viguier
changed the title
Document Lazy Array in front : offsetGet; offsetSet
Document Lazy Array manipulation in front with offsetSet
Jun 15, 2022
jf-viguier
changed the title
Document Lazy Array manipulation in front with offsetSet
Document Lazy Array manipulation in front
Jun 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's a common case to try to add custom data to the lazy arrays in front for smarty (cart, product listing, product, ...)
How to use hooks actionPresent[entities], $presentedObject->offsetSet()
appendArray can also been used :
$productLazyArray->appendArray([
'extra_reference' => '123',
'extra_description' => 'Bla'
]);
The text was updated successfully, but these errors were encountered: