-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into revanth/footer-styleguide
- Loading branch information
Showing
21 changed files
with
338 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
packages/venia-ui/lib/components/CartPage/PriceSummary/priceSummaryFragments.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import gql from 'graphql-tag'; | ||
|
||
import { DiscountSummaryFragment } from './discountSummary'; | ||
import { GiftCardSummaryFragment } from './giftCardSummary'; | ||
import { ShippingSummaryFragment } from './shippingSummary'; | ||
import { TaxSummaryFragment } from './taxSummary'; | ||
|
||
export const PriceSummaryFragment = gql` | ||
fragment PriceSummaryFragment on Cart { | ||
id | ||
items { | ||
quantity | ||
} | ||
...ShippingSummaryFragment | ||
prices { | ||
...TaxSummaryFragment | ||
...DiscountSummaryFragment | ||
grand_total { | ||
currency | ||
value | ||
} | ||
subtotal_excluding_tax { | ||
currency | ||
value | ||
} | ||
} | ||
...GiftCardSummaryFragment | ||
} | ||
${DiscountSummaryFragment} | ||
${GiftCardSummaryFragment} | ||
${ShippingSummaryFragment} | ||
${TaxSummaryFragment} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
packages/venia-ui/lib/components/CartPage/ProductListing/productListingFragments.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import gql from 'graphql-tag'; | ||
|
||
export const ProductListingFragment = gql` | ||
fragment ProductListingFragment on Cart { | ||
id | ||
items { | ||
id | ||
product { | ||
name | ||
small_image { | ||
url | ||
} | ||
} | ||
prices { | ||
price { | ||
currency | ||
value | ||
} | ||
} | ||
quantity | ||
... on ConfigurableCartItem { | ||
configurable_options { | ||
option_label | ||
value_label | ||
} | ||
} | ||
} | ||
} | ||
`; |
Oops, something went wrong.