Skip to content

Commit

Permalink
Merge pull request #198 from vtex-apps/feat/priceRange
Browse files Browse the repository at this point in the history
use pricerange resolver
  • Loading branch information
jgfidelis authored Nov 11, 2019
2 parents 2c196cc + e7f87f3 commit e146c29
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Make use of `priceRange` resolver.

## [1.32.2] - 2019-11-11
### Removed
Expand Down
10 changes: 10 additions & 0 deletions react/queries/productRecommendations.gql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ query ProductRecommendations(
linkText
brand
categories
priceRange {
sellingPrice {
highPrice
lowPrice
}
listPrice {
highPrice
lowPrice
}
}
specificationGroups {
name
specifications {
Expand Down
10 changes: 10 additions & 0 deletions react/queries/productsQuery.gql
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ query Products(
brand
brandId
categories
priceRange {
sellingPrice {
highPrice
lowPrice
}
listPrice {
highPrice
lowPrice
}
}
specificationGroups {
name
specifications {
Expand Down

0 comments on commit e146c29

Please sign in to comment.