Document Lazy Array manipulation in front
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 136
- Forks
- 555
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 4
Description
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'
]);
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the issue's examples of actionPresent[entities], $presentedObject->offsetSet(), and appendArray(). Document how these APIs add custom data to front-office lazy arrays for carts, products, and product listings, including a concise PHP example; done means the documented usage is clear to developers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100