Skip to content

Commit

Permalink
Passing position prop to Product Summary
Browse files Browse the repository at this point in the history
  • Loading branch information
Ícaro committed Jun 3, 2021
1 parent c97be39 commit 464d4f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Added
- List name to GTM `productClick` event.
- Passing `listName` prop to Product Summary.
- Passing `listName` and `position` prop to Product Summary.

### Fixed
- `trackingId` is now being used on `RelatedProducts` shelf.
Expand Down
1 change: 1 addition & 0 deletions react/components/ShelfItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const ShelfItem = ({ item, summary, position, listName }) => {
product={product}
listName={listName}
actionOnClick={pushPixelProductClick}
position={position}
{...newSummary}
/>
)
Expand Down

0 comments on commit 464d4f5

Please sign in to comment.