Loan Laux
894f133739
add support for displaying taxes
...
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-08-10 16:04:24 +03:00
tedraykov
081a9a54a7
Trailing commas, null checks, formatting
...
Added trailing commas object literals in normalize util.
Added null checks for product and cart item normalization methods.
Formatted the code with prettier config.
Separated the nested functions in groupProductOptionsByAttributeLabel
2021-05-25 12:57:11 +03:00
tedraykov
c6df70c34c
Graphql codegen change
...
When generating graphql types, the generation of optional types is
redundant because the value is wrapped in Maybe type anyway.
Removing the redundancy simplifies the type checking whenever generated
types are used.
2021-05-23 19:15:01 +03:00
tedraykov
fb112385e6
Implement product attributes (variants)
2021-05-21 06:09:08 +03:00
Loan Laux
3112c7fc80
WIP pages implementation & fix add to cart variant ID bug
...
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-05-17 15:28:04 +04:00
Loan Laux
b5559cc492
use minPrice for display price
...
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-05-12 13:59:47 +04:00
Loan Laux
6f0dfb78f3
fix some option types and pass REACTION_API_DOMAIN to front-end
...
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-05-10 14:58:45 +04:00
cristiancc
9d485ba134
Merge branch 'outgrow-reaction-commerce-provider' of github.com:outgrow/commerce into fix-types
2021-04-28 14:24:05 -05:00
Loan Laux
254659e7c0
normalize data output in use-customer
...
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-04-28 21:16:50 +04:00
Loan Laux
946545b091
add fallback value for variant price
...
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-04-26 19:12:37 +04:00
cristiancc
d614e817c6
fix types for normalize products
2021-04-07 13:15:41 -05:00
Loan Laux
09249045eb
Add Reaction Commerce provider
...
Signed-off-by: Loan Laux <loan@outgrow.io>
2021-03-30 20:07:48 +04:00