Use productRangeUndiscounted instead of calculating variant prices range
This commit is contained in:
parent
a29ac065a3
commit
9e66d99dca
20 changed files with 1340 additions and 1337 deletions
|
@ -14,14 +14,13 @@ import TableCellAvatar, {
|
||||||
import TableHead from "@saleor/components/TableHead";
|
import TableHead from "@saleor/components/TableHead";
|
||||||
import TablePagination from "@saleor/components/TablePagination";
|
import TablePagination from "@saleor/components/TablePagination";
|
||||||
import { maybe, renderCollection } from "@saleor/misc";
|
import { maybe, renderCollection } from "@saleor/misc";
|
||||||
import { getProductPriceRange } from "@saleor/products/components/ProductListPage/utils";
|
|
||||||
import { ListActions, ListProps } from "@saleor/types";
|
import { ListActions, ListProps } from "@saleor/types";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { FormattedMessage, useIntl } from "react-intl";
|
import { FormattedMessage, useIntl } from "react-intl";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
CategoryDetails_category_products_edges_node,
|
CategoryDetails_category_products_edges_node,
|
||||||
CategoryDetails_category_products_edges_node_variants
|
CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted
|
||||||
} from "../../types/CategoryDetails";
|
} from "../../types/CategoryDetails";
|
||||||
|
|
||||||
const useStyles = makeStyles(
|
const useStyles = makeStyles(
|
||||||
|
@ -99,21 +98,26 @@ export const CategoryProductList: React.FC<CategoryProductListProps> = props =>
|
||||||
const numberOfColumns = 5;
|
const numberOfColumns = 5;
|
||||||
|
|
||||||
const getProductPrice = (
|
const getProductPrice = (
|
||||||
variants: CategoryDetails_category_products_edges_node_variants[]
|
priceRangeUndiscounted: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted
|
||||||
) => {
|
) => {
|
||||||
if (!variants.length) {
|
if (!priceRangeUndiscounted) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { max, min } = getProductPriceRange(variants);
|
const { start, stop } = priceRangeUndiscounted;
|
||||||
const currency = variants[0].price.currency;
|
const {
|
||||||
|
gross: { amount: startAmount }
|
||||||
|
} = start;
|
||||||
|
const {
|
||||||
|
gross: { amount: stopAmount }
|
||||||
|
} = stop;
|
||||||
|
|
||||||
if (max === min) {
|
if (startAmount === stopAmount) {
|
||||||
return (
|
return (
|
||||||
<Money
|
<Money
|
||||||
money={{
|
money={{
|
||||||
amount: min,
|
amount: startAmount,
|
||||||
currency
|
currency: start.gross.currency
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
@ -122,15 +126,15 @@ export const CategoryProductList: React.FC<CategoryProductListProps> = props =>
|
||||||
<>
|
<>
|
||||||
<Money
|
<Money
|
||||||
money={{
|
money={{
|
||||||
amount: min,
|
amount: startAmount,
|
||||||
currency
|
currency: start.gross.currency
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{" - "}
|
{" - "}
|
||||||
<Money
|
<Money
|
||||||
money={{
|
money={{
|
||||||
amount: max,
|
amount: stopAmount,
|
||||||
currency
|
currency: stop.gross.currency
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
|
@ -251,8 +255,8 @@ export const CategoryProductList: React.FC<CategoryProductListProps> = props =>
|
||||||
)}
|
)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell className={classes.colPrice}>
|
<TableCell className={classes.colPrice}>
|
||||||
{product?.variants ? (
|
{product?.pricing?.priceRangeUndiscounted ? (
|
||||||
getProductPrice(product.variants)
|
getProductPrice(product?.pricing?.priceRangeUndiscounted)
|
||||||
) : (
|
) : (
|
||||||
<Skeleton />
|
<Skeleton />
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -120,32 +120,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyMQ==",
|
id: "UHJvZHVjdDoyMQ==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Gardner-Schultz",
|
name: "Gardner-Schultz",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -156,32 +158,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyMg==",
|
id: "UHJvZHVjdDoyMg==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "James, Martinez and Murray",
|
name: "James, Martinez and Murray",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -192,32 +196,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyMw==",
|
id: "UHJvZHVjdDoyMw==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Curtis, Joyce and Turner",
|
name: "Curtis, Joyce and Turner",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -228,32 +234,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyNA==",
|
id: "UHJvZHVjdDoyNA==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Davis, Brown and Ray",
|
name: "Davis, Brown and Ray",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -264,32 +272,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyNQ==",
|
id: "UHJvZHVjdDoyNQ==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Gallegos Ltd",
|
name: "Gallegos Ltd",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -300,32 +310,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyNg==",
|
id: "UHJvZHVjdDoyNg==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Franklin Inc",
|
name: "Franklin Inc",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -336,32 +348,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyNw==",
|
id: "UHJvZHVjdDoyNw==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Williams-Taylor",
|
name: "Williams-Taylor",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -372,32 +386,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyOA==",
|
id: "UHJvZHVjdDoyOA==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Riddle, Evans and Hicks",
|
name: "Riddle, Evans and Hicks",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -408,32 +424,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDoyOQ==",
|
id: "UHJvZHVjdDoyOQ==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Hebert-Sherman",
|
name: "Hebert-Sherman",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -444,32 +462,34 @@ export const category: (
|
||||||
id: "UHJvZHVjdDozMA==",
|
id: "UHJvZHVjdDozMA==",
|
||||||
isAvailable: true,
|
isAvailable: true,
|
||||||
name: "Carter and Sons",
|
name: "Carter and Sons",
|
||||||
|
pricing: {
|
||||||
|
__typename: "ProductPricingInfo",
|
||||||
|
priceRangeUndiscounted: {
|
||||||
|
__typename: "TaxedMoneyRange",
|
||||||
|
start: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 3,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stop: {
|
||||||
|
__typename: "TaxedMoney",
|
||||||
|
gross: {
|
||||||
|
__typename: "Money",
|
||||||
|
amount: 8,
|
||||||
|
currency: "USD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
productType: {
|
productType: {
|
||||||
__typename: "ProductType",
|
__typename: "ProductType",
|
||||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||||
name: "Coffee"
|
name: "Coffee"
|
||||||
},
|
},
|
||||||
thumbnail: { __typename: "Image", url: placeholderImage },
|
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||||
variants: [
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 5,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
__typename: "ProductVariant" as "ProductVariant",
|
|
||||||
id: "pv70010",
|
|
||||||
price: {
|
|
||||||
__typename: "Money" as "Money",
|
|
||||||
amount: 10,
|
|
||||||
currency: "USD"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -8,6 +8,13 @@ import {
|
||||||
} from "./types/CategoryDetails";
|
} from "./types/CategoryDetails";
|
||||||
import { RootCategories } from "./types/RootCategories";
|
import { RootCategories } from "./types/RootCategories";
|
||||||
|
|
||||||
|
export const fragmentMoney = gql`
|
||||||
|
fragment Money on Money {
|
||||||
|
amount
|
||||||
|
currency
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
export const categoryFragment = gql`
|
export const categoryFragment = gql`
|
||||||
fragment CategoryFragment on Category {
|
fragment CategoryFragment on Category {
|
||||||
id
|
id
|
||||||
|
@ -73,6 +80,7 @@ export const useRootCategoriesQuery = makeQuery<RootCategories, {}>(
|
||||||
);
|
);
|
||||||
|
|
||||||
export const categoryDetails = gql`
|
export const categoryDetails = gql`
|
||||||
|
${fragmentMoney}
|
||||||
${categoryFragment}
|
${categoryFragment}
|
||||||
${categoryDetailsFragment}
|
${categoryDetailsFragment}
|
||||||
${pageInfoFragment}
|
${pageInfoFragment}
|
||||||
|
@ -112,11 +120,18 @@ export const categoryDetails = gql`
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
variants {
|
pricing {
|
||||||
id
|
priceRangeUndiscounted {
|
||||||
price {
|
start {
|
||||||
amount
|
gross {
|
||||||
currency
|
...Money
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stop {
|
||||||
|
gross {
|
||||||
|
...Money
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,16 +73,37 @@ export interface CategoryDetails_category_products_edges_node_productType {
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CategoryDetails_category_products_edges_node_variants_price {
|
export interface CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CategoryDetails_category_products_edges_node_variants {
|
export interface CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_start_gross;
|
||||||
price: CategoryDetails_category_products_edges_node_variants_price | null;
|
}
|
||||||
|
|
||||||
|
export interface CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_stop {
|
||||||
|
__typename: "TaxedMoney";
|
||||||
|
gross: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted {
|
||||||
|
__typename: "TaxedMoneyRange";
|
||||||
|
start: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_start | null;
|
||||||
|
stop: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CategoryDetails_category_products_edges_node_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CategoryDetails_category_products_edges_node {
|
export interface CategoryDetails_category_products_edges_node {
|
||||||
|
@ -92,7 +113,7 @@ export interface CategoryDetails_category_products_edges_node {
|
||||||
isAvailable: boolean | null;
|
isAvailable: boolean | null;
|
||||||
thumbnail: CategoryDetails_category_products_edges_node_thumbnail | null;
|
thumbnail: CategoryDetails_category_products_edges_node_thumbnail | null;
|
||||||
productType: CategoryDetails_category_products_edges_node_productType;
|
productType: CategoryDetails_category_products_edges_node_productType;
|
||||||
variants: (CategoryDetails_category_products_edges_node_variants | null)[] | null;
|
pricing: CategoryDetails_category_products_edges_node_pricing | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CategoryDetails_category_products_edges {
|
export interface CategoryDetails_category_products_edges {
|
||||||
|
|
|
@ -19,13 +19,12 @@ import { ProductListColumns } from "@saleor/config";
|
||||||
import { maybe, renderCollection } from "@saleor/misc";
|
import { maybe, renderCollection } from "@saleor/misc";
|
||||||
import {
|
import {
|
||||||
getAttributeIdFromColumnValue,
|
getAttributeIdFromColumnValue,
|
||||||
getProductPriceRange,
|
|
||||||
isAttributeColumnValue
|
isAttributeColumnValue
|
||||||
} from "@saleor/products/components/ProductListPage/utils";
|
} from "@saleor/products/components/ProductListPage/utils";
|
||||||
import { AvailableInGridAttributes_grid_edges_node } from "@saleor/products/types/AvailableInGridAttributes";
|
import { AvailableInGridAttributes_grid_edges_node } from "@saleor/products/types/AvailableInGridAttributes";
|
||||||
import {
|
import {
|
||||||
ProductList_products_edges_node,
|
ProductList_products_edges_node,
|
||||||
ProductList_products_edges_node_variants
|
ProductList_products_edges_node_pricing_priceRangeUndiscounted
|
||||||
} from "@saleor/products/types/ProductList";
|
} from "@saleor/products/types/ProductList";
|
||||||
import { ProductListUrlSortField } from "@saleor/products/urls";
|
import { ProductListUrlSortField } from "@saleor/products/urls";
|
||||||
import { ListActions, ListProps, SortPage } from "@saleor/types";
|
import { ListActions, ListProps, SortPage } from "@saleor/types";
|
||||||
|
@ -139,21 +138,26 @@ export const ProductList: React.FC<ProductListProps> = props => {
|
||||||
const numberOfColumns = 2 + settings.columns.length;
|
const numberOfColumns = 2 + settings.columns.length;
|
||||||
|
|
||||||
const getProductPrice = (
|
const getProductPrice = (
|
||||||
variants: ProductList_products_edges_node_variants[]
|
priceRangeUndiscounted: ProductList_products_edges_node_pricing_priceRangeUndiscounted
|
||||||
) => {
|
) => {
|
||||||
if (!variants.length) {
|
if (!priceRangeUndiscounted) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { max, min } = getProductPriceRange(variants);
|
const { start, stop } = priceRangeUndiscounted;
|
||||||
const currency = variants[0].price.currency;
|
const {
|
||||||
|
gross: { amount: startAmount }
|
||||||
|
} = start;
|
||||||
|
const {
|
||||||
|
gross: { amount: stopAmount }
|
||||||
|
} = stop;
|
||||||
|
|
||||||
if (max === min) {
|
if (startAmount === stopAmount) {
|
||||||
return (
|
return (
|
||||||
<Money
|
<Money
|
||||||
money={{
|
money={{
|
||||||
amount: min,
|
amount: startAmount,
|
||||||
currency
|
currency: start.gross.currency
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
@ -162,15 +166,15 @@ export const ProductList: React.FC<ProductListProps> = props => {
|
||||||
<>
|
<>
|
||||||
<Money
|
<Money
|
||||||
money={{
|
money={{
|
||||||
amount: min,
|
amount: startAmount,
|
||||||
currency
|
currency: start.gross.currency
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{" - "}
|
{" - "}
|
||||||
<Money
|
<Money
|
||||||
money={{
|
money={{
|
||||||
amount: max,
|
amount: stopAmount,
|
||||||
currency
|
currency: stop.gross.currency
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
|
@ -441,8 +445,10 @@ export const ProductList: React.FC<ProductListProps> = props => {
|
||||||
displayColumns={settings.columns}
|
displayColumns={settings.columns}
|
||||||
>
|
>
|
||||||
<TableCell className={classes.colPrice}>
|
<TableCell className={classes.colPrice}>
|
||||||
{product?.variants ? (
|
{product?.pricing?.priceRangeUndiscounted ? (
|
||||||
getProductPrice(product.variants)
|
getProductPrice(
|
||||||
|
product?.pricing?.priceRangeUndiscounted
|
||||||
|
)
|
||||||
) : (
|
) : (
|
||||||
<Skeleton />
|
<Skeleton />
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { ProductList_products_edges_node_variants } from "@saleor/products/types/ProductList";
|
|
||||||
|
|
||||||
const prefix = "attribute";
|
const prefix = "attribute";
|
||||||
|
|
||||||
export function getAttributeColumnValue(id: string) {
|
export function getAttributeColumnValue(id: string) {
|
||||||
|
@ -13,21 +11,3 @@ export function isAttributeColumnValue(value: string) {
|
||||||
export function getAttributeIdFromColumnValue(value: string) {
|
export function getAttributeIdFromColumnValue(value: string) {
|
||||||
return value.substr(prefix.length + 1);
|
return value.substr(prefix.length + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getProductPriceRange(
|
|
||||||
productVariants: ProductList_products_edges_node_variants[]
|
|
||||||
) {
|
|
||||||
let max = productVariants[0].price.amount;
|
|
||||||
let min = productVariants[0].price.amount;
|
|
||||||
|
|
||||||
for (let i = 1, len = productVariants.length; i < len; i++) {
|
|
||||||
const curr = productVariants[i].price.amount;
|
|
||||||
max = curr > max ? curr : max;
|
|
||||||
min = curr < min ? curr : min;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
max,
|
|
||||||
min
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -113,12 +113,20 @@ const productVariantAttributesFragment = gql`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
variants {
|
pricing {
|
||||||
id
|
priceRangeUndiscounted {
|
||||||
price {
|
start {
|
||||||
|
gross {
|
||||||
...Money
|
...Money
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stop {
|
||||||
|
gross {
|
||||||
|
...Money
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -158,14 +166,14 @@ export const productFragmentDetails = gql`
|
||||||
chargeTaxes
|
chargeTaxes
|
||||||
publicationDate
|
publicationDate
|
||||||
pricing {
|
pricing {
|
||||||
priceRange {
|
priceRangeUndiscounted {
|
||||||
start {
|
start {
|
||||||
net {
|
gross {
|
||||||
...Money
|
...Money
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stop {
|
stop {
|
||||||
net {
|
gross {
|
||||||
...Money
|
...Money
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -339,12 +347,20 @@ const productListQuery = gql`
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
variants {
|
pricing {
|
||||||
id
|
priceRangeUndiscounted {
|
||||||
price {
|
start {
|
||||||
|
gross {
|
||||||
...Money
|
...Money
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stop {
|
||||||
|
gross {
|
||||||
|
...Money
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pageInfo {
|
pageInfo {
|
||||||
|
|
|
@ -58,16 +58,37 @@ export interface CreateMultipleVariantsData_product_productType {
|
||||||
variantAttributes: (CreateMultipleVariantsData_product_productType_variantAttributes | null)[] | null;
|
variantAttributes: (CreateMultipleVariantsData_product_productType_variantAttributes | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CreateMultipleVariantsData_product_variants_price {
|
export interface CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CreateMultipleVariantsData_product_variants {
|
export interface CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
price: CreateMultipleVariantsData_product_variants_price | null;
|
}
|
||||||
|
|
||||||
|
export interface CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_stop {
|
||||||
|
__typename: "TaxedMoney";
|
||||||
|
gross: CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted {
|
||||||
|
__typename: "TaxedMoneyRange";
|
||||||
|
start: CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_start | null;
|
||||||
|
stop: CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CreateMultipleVariantsData_product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CreateMultipleVariantsData_product {
|
export interface CreateMultipleVariantsData_product {
|
||||||
|
@ -75,7 +96,7 @@ export interface CreateMultipleVariantsData_product {
|
||||||
id: string;
|
id: string;
|
||||||
attributes: CreateMultipleVariantsData_product_attributes[];
|
attributes: CreateMultipleVariantsData_product_attributes[];
|
||||||
productType: CreateMultipleVariantsData_product_productType;
|
productType: CreateMultipleVariantsData_product_productType;
|
||||||
variants: (CreateMultipleVariantsData_product_variants | null)[] | null;
|
pricing: CreateMultipleVariantsData_product_pricing | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CreateMultipleVariantsData_warehouses_edges_node {
|
export interface CreateMultipleVariantsData_warehouses_edges_node {
|
||||||
|
|
|
@ -60,35 +60,37 @@ export interface Product_productType {
|
||||||
hasVariants: boolean;
|
hasVariants: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Product_variants_price {
|
export interface Product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Product_variants_stocks_warehouse {
|
export interface Product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "Warehouse";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: Product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
name: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Product_variants_stocks {
|
export interface Product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
__typename: "Stock";
|
__typename: "Money";
|
||||||
id: string;
|
amount: number;
|
||||||
quantity: number;
|
currency: string;
|
||||||
quantityAllocated: number;
|
|
||||||
warehouse: Product_variants_stocks_warehouse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Product_variants {
|
export interface Product_pricing_priceRangeUndiscounted_stop {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: Product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
price: Product_variants_price | null;
|
}
|
||||||
sku: string;
|
|
||||||
name: string;
|
export interface Product_pricing_priceRangeUndiscounted {
|
||||||
margin: number | null;
|
__typename: "TaxedMoneyRange";
|
||||||
stocks: (Product_variants_stocks | null)[] | null;
|
start: Product_pricing_priceRangeUndiscounted_start | null;
|
||||||
trackInventory: boolean;
|
stop: Product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: Product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Product_category {
|
export interface Product_category {
|
||||||
|
@ -127,39 +129,6 @@ export interface Product_purchaseCost {
|
||||||
stop: Product_purchaseCost_stop | null;
|
stop: Product_purchaseCost_stop | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Product_pricing_priceRange_start_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Product_pricing_priceRange_start {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: Product_pricing_priceRange_start_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Product_pricing_priceRange_stop_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Product_pricing_priceRange_stop {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: Product_pricing_priceRange_stop_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Product_pricing_priceRange {
|
|
||||||
__typename: "TaxedMoneyRange";
|
|
||||||
start: Product_pricing_priceRange_start | null;
|
|
||||||
stop: Product_pricing_priceRange_stop | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Product_pricing {
|
|
||||||
__typename: "ProductPricingInfo";
|
|
||||||
priceRange: Product_pricing_priceRange | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Product_images {
|
export interface Product_images {
|
||||||
__typename: "ProductImage";
|
__typename: "ProductImage";
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -168,12 +137,43 @@ export interface Product_images {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface Product_variants_price {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Product_variants_stocks_warehouse {
|
||||||
|
__typename: "Warehouse";
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Product_variants_stocks {
|
||||||
|
__typename: "Stock";
|
||||||
|
id: string;
|
||||||
|
quantity: number;
|
||||||
|
quantityAllocated: number;
|
||||||
|
warehouse: Product_variants_stocks_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Product_variants {
|
||||||
|
__typename: "ProductVariant";
|
||||||
|
id: string;
|
||||||
|
sku: string;
|
||||||
|
name: string;
|
||||||
|
price: Product_variants_price | null;
|
||||||
|
margin: number | null;
|
||||||
|
stocks: (Product_variants_stocks | null)[] | null;
|
||||||
|
trackInventory: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
export interface Product {
|
export interface Product {
|
||||||
__typename: "Product";
|
__typename: "Product";
|
||||||
id: string;
|
id: string;
|
||||||
attributes: Product_attributes[];
|
attributes: Product_attributes[];
|
||||||
productType: Product_productType;
|
productType: Product_productType;
|
||||||
variants: (Product_variants | null)[] | null;
|
pricing: Product_pricing | null;
|
||||||
name: string;
|
name: string;
|
||||||
descriptionJson: any;
|
descriptionJson: any;
|
||||||
seoTitle: string | null;
|
seoTitle: string | null;
|
||||||
|
@ -186,6 +186,6 @@ export interface Product {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
chargeTaxes: boolean;
|
chargeTaxes: boolean;
|
||||||
publicationDate: any | null;
|
publicationDate: any | null;
|
||||||
pricing: Product_pricing | null;
|
|
||||||
images: (Product_images | null)[] | null;
|
images: (Product_images | null)[] | null;
|
||||||
|
variants: (Product_variants | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductCreate_productCreate_product_productType {
|
||||||
hasVariants: boolean;
|
hasVariants: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_variants_price {
|
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_variants_stocks_warehouse {
|
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "Warehouse";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
name: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_variants_stocks {
|
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
__typename: "Stock";
|
__typename: "Money";
|
||||||
id: string;
|
amount: number;
|
||||||
quantity: number;
|
currency: string;
|
||||||
quantityAllocated: number;
|
|
||||||
warehouse: ProductCreate_productCreate_product_variants_stocks_warehouse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_variants {
|
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_stop {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
price: ProductCreate_productCreate_product_variants_price | null;
|
}
|
||||||
sku: string;
|
|
||||||
name: string;
|
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted {
|
||||||
margin: number | null;
|
__typename: "TaxedMoneyRange";
|
||||||
stocks: (ProductCreate_productCreate_product_variants_stocks | null)[] | null;
|
start: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_start | null;
|
||||||
trackInventory: boolean;
|
stop: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductCreate_productCreate_product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_category {
|
export interface ProductCreate_productCreate_product_category {
|
||||||
|
@ -133,39 +135,6 @@ export interface ProductCreate_productCreate_product_purchaseCost {
|
||||||
stop: ProductCreate_productCreate_product_purchaseCost_stop | null;
|
stop: ProductCreate_productCreate_product_purchaseCost_stop | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_pricing_priceRange_start_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_pricing_priceRange_start {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductCreate_productCreate_product_pricing_priceRange_start_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_pricing_priceRange_stop_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_pricing_priceRange_stop {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductCreate_productCreate_product_pricing_priceRange_stop_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_pricing_priceRange {
|
|
||||||
__typename: "TaxedMoneyRange";
|
|
||||||
start: ProductCreate_productCreate_product_pricing_priceRange_start | null;
|
|
||||||
stop: ProductCreate_productCreate_product_pricing_priceRange_stop | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_pricing {
|
|
||||||
__typename: "ProductPricingInfo";
|
|
||||||
priceRange: ProductCreate_productCreate_product_pricing_priceRange | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product_images {
|
export interface ProductCreate_productCreate_product_images {
|
||||||
__typename: "ProductImage";
|
__typename: "ProductImage";
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -174,12 +143,43 @@ export interface ProductCreate_productCreate_product_images {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ProductCreate_productCreate_product_variants_price {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductCreate_productCreate_product_variants_stocks_warehouse {
|
||||||
|
__typename: "Warehouse";
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductCreate_productCreate_product_variants_stocks {
|
||||||
|
__typename: "Stock";
|
||||||
|
id: string;
|
||||||
|
quantity: number;
|
||||||
|
quantityAllocated: number;
|
||||||
|
warehouse: ProductCreate_productCreate_product_variants_stocks_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductCreate_productCreate_product_variants {
|
||||||
|
__typename: "ProductVariant";
|
||||||
|
id: string;
|
||||||
|
sku: string;
|
||||||
|
name: string;
|
||||||
|
price: ProductCreate_productCreate_product_variants_price | null;
|
||||||
|
margin: number | null;
|
||||||
|
stocks: (ProductCreate_productCreate_product_variants_stocks | null)[] | null;
|
||||||
|
trackInventory: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate_product {
|
export interface ProductCreate_productCreate_product {
|
||||||
__typename: "Product";
|
__typename: "Product";
|
||||||
id: string;
|
id: string;
|
||||||
attributes: ProductCreate_productCreate_product_attributes[];
|
attributes: ProductCreate_productCreate_product_attributes[];
|
||||||
productType: ProductCreate_productCreate_product_productType;
|
productType: ProductCreate_productCreate_product_productType;
|
||||||
variants: (ProductCreate_productCreate_product_variants | null)[] | null;
|
pricing: ProductCreate_productCreate_product_pricing | null;
|
||||||
name: string;
|
name: string;
|
||||||
descriptionJson: any;
|
descriptionJson: any;
|
||||||
seoTitle: string | null;
|
seoTitle: string | null;
|
||||||
|
@ -192,8 +192,8 @@ export interface ProductCreate_productCreate_product {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
chargeTaxes: boolean;
|
chargeTaxes: boolean;
|
||||||
publicationDate: any | null;
|
publicationDate: any | null;
|
||||||
pricing: ProductCreate_productCreate_product_pricing | null;
|
|
||||||
images: (ProductCreate_productCreate_product_images | null)[] | null;
|
images: (ProductCreate_productCreate_product_images | null)[] | null;
|
||||||
|
variants: (ProductCreate_productCreate_product_variants | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductCreate_productCreate {
|
export interface ProductCreate_productCreate {
|
||||||
|
|
|
@ -60,35 +60,37 @@ export interface ProductDetails_product_productType {
|
||||||
hasVariants: boolean;
|
hasVariants: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductDetails_product_variants_price {
|
export interface ProductDetails_product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductDetails_product_variants_stocks_warehouse {
|
export interface ProductDetails_product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "Warehouse";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductDetails_product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
name: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductDetails_product_variants_stocks {
|
export interface ProductDetails_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
__typename: "Stock";
|
__typename: "Money";
|
||||||
id: string;
|
amount: number;
|
||||||
quantity: number;
|
currency: string;
|
||||||
quantityAllocated: number;
|
|
||||||
warehouse: ProductDetails_product_variants_stocks_warehouse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductDetails_product_variants {
|
export interface ProductDetails_product_pricing_priceRangeUndiscounted_stop {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductDetails_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
price: ProductDetails_product_variants_price | null;
|
}
|
||||||
sku: string;
|
|
||||||
name: string;
|
export interface ProductDetails_product_pricing_priceRangeUndiscounted {
|
||||||
margin: number | null;
|
__typename: "TaxedMoneyRange";
|
||||||
stocks: (ProductDetails_product_variants_stocks | null)[] | null;
|
start: ProductDetails_product_pricing_priceRangeUndiscounted_start | null;
|
||||||
trackInventory: boolean;
|
stop: ProductDetails_product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductDetails_product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: ProductDetails_product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductDetails_product_category {
|
export interface ProductDetails_product_category {
|
||||||
|
@ -127,39 +129,6 @@ export interface ProductDetails_product_purchaseCost {
|
||||||
stop: ProductDetails_product_purchaseCost_stop | null;
|
stop: ProductDetails_product_purchaseCost_stop | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductDetails_product_pricing_priceRange_start_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductDetails_product_pricing_priceRange_start {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductDetails_product_pricing_priceRange_start_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductDetails_product_pricing_priceRange_stop_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductDetails_product_pricing_priceRange_stop {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductDetails_product_pricing_priceRange_stop_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductDetails_product_pricing_priceRange {
|
|
||||||
__typename: "TaxedMoneyRange";
|
|
||||||
start: ProductDetails_product_pricing_priceRange_start | null;
|
|
||||||
stop: ProductDetails_product_pricing_priceRange_stop | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductDetails_product_pricing {
|
|
||||||
__typename: "ProductPricingInfo";
|
|
||||||
priceRange: ProductDetails_product_pricing_priceRange | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductDetails_product_images {
|
export interface ProductDetails_product_images {
|
||||||
__typename: "ProductImage";
|
__typename: "ProductImage";
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -168,12 +137,43 @@ export interface ProductDetails_product_images {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ProductDetails_product_variants_price {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductDetails_product_variants_stocks_warehouse {
|
||||||
|
__typename: "Warehouse";
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductDetails_product_variants_stocks {
|
||||||
|
__typename: "Stock";
|
||||||
|
id: string;
|
||||||
|
quantity: number;
|
||||||
|
quantityAllocated: number;
|
||||||
|
warehouse: ProductDetails_product_variants_stocks_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductDetails_product_variants {
|
||||||
|
__typename: "ProductVariant";
|
||||||
|
id: string;
|
||||||
|
sku: string;
|
||||||
|
name: string;
|
||||||
|
price: ProductDetails_product_variants_price | null;
|
||||||
|
margin: number | null;
|
||||||
|
stocks: (ProductDetails_product_variants_stocks | null)[] | null;
|
||||||
|
trackInventory: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
export interface ProductDetails_product {
|
export interface ProductDetails_product {
|
||||||
__typename: "Product";
|
__typename: "Product";
|
||||||
id: string;
|
id: string;
|
||||||
attributes: ProductDetails_product_attributes[];
|
attributes: ProductDetails_product_attributes[];
|
||||||
productType: ProductDetails_product_productType;
|
productType: ProductDetails_product_productType;
|
||||||
variants: (ProductDetails_product_variants | null)[] | null;
|
pricing: ProductDetails_product_pricing | null;
|
||||||
name: string;
|
name: string;
|
||||||
descriptionJson: any;
|
descriptionJson: any;
|
||||||
seoTitle: string | null;
|
seoTitle: string | null;
|
||||||
|
@ -186,8 +186,8 @@ export interface ProductDetails_product {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
chargeTaxes: boolean;
|
chargeTaxes: boolean;
|
||||||
publicationDate: any | null;
|
publicationDate: any | null;
|
||||||
pricing: ProductDetails_product_pricing | null;
|
|
||||||
images: (ProductDetails_product_images | null)[] | null;
|
images: (ProductDetails_product_images | null)[] | null;
|
||||||
|
variants: (ProductDetails_product_variants | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductDetails {
|
export interface ProductDetails {
|
||||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductImageCreate_productImageCreate_product_productType {
|
||||||
hasVariants: boolean;
|
hasVariants: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_variants_price {
|
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_variants_stocks_warehouse {
|
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "Warehouse";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
name: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_variants_stocks {
|
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
__typename: "Stock";
|
__typename: "Money";
|
||||||
id: string;
|
amount: number;
|
||||||
quantity: number;
|
currency: string;
|
||||||
quantityAllocated: number;
|
|
||||||
warehouse: ProductImageCreate_productImageCreate_product_variants_stocks_warehouse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_variants {
|
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_stop {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
price: ProductImageCreate_productImageCreate_product_variants_price | null;
|
}
|
||||||
sku: string;
|
|
||||||
name: string;
|
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted {
|
||||||
margin: number | null;
|
__typename: "TaxedMoneyRange";
|
||||||
stocks: (ProductImageCreate_productImageCreate_product_variants_stocks | null)[] | null;
|
start: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_start | null;
|
||||||
trackInventory: boolean;
|
stop: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageCreate_productImageCreate_product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_category {
|
export interface ProductImageCreate_productImageCreate_product_category {
|
||||||
|
@ -133,39 +135,6 @@ export interface ProductImageCreate_productImageCreate_product_purchaseCost {
|
||||||
stop: ProductImageCreate_productImageCreate_product_purchaseCost_stop | null;
|
stop: ProductImageCreate_productImageCreate_product_purchaseCost_stop | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_start_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_start {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductImageCreate_productImageCreate_product_pricing_priceRange_start_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_stop_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRange_stop {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductImageCreate_productImageCreate_product_pricing_priceRange_stop_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRange {
|
|
||||||
__typename: "TaxedMoneyRange";
|
|
||||||
start: ProductImageCreate_productImageCreate_product_pricing_priceRange_start | null;
|
|
||||||
stop: ProductImageCreate_productImageCreate_product_pricing_priceRange_stop | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_pricing {
|
|
||||||
__typename: "ProductPricingInfo";
|
|
||||||
priceRange: ProductImageCreate_productImageCreate_product_pricing_priceRange | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product_images {
|
export interface ProductImageCreate_productImageCreate_product_images {
|
||||||
__typename: "ProductImage";
|
__typename: "ProductImage";
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -174,12 +143,43 @@ export interface ProductImageCreate_productImageCreate_product_images {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ProductImageCreate_productImageCreate_product_variants_price {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageCreate_productImageCreate_product_variants_stocks_warehouse {
|
||||||
|
__typename: "Warehouse";
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageCreate_productImageCreate_product_variants_stocks {
|
||||||
|
__typename: "Stock";
|
||||||
|
id: string;
|
||||||
|
quantity: number;
|
||||||
|
quantityAllocated: number;
|
||||||
|
warehouse: ProductImageCreate_productImageCreate_product_variants_stocks_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageCreate_productImageCreate_product_variants {
|
||||||
|
__typename: "ProductVariant";
|
||||||
|
id: string;
|
||||||
|
sku: string;
|
||||||
|
name: string;
|
||||||
|
price: ProductImageCreate_productImageCreate_product_variants_price | null;
|
||||||
|
margin: number | null;
|
||||||
|
stocks: (ProductImageCreate_productImageCreate_product_variants_stocks | null)[] | null;
|
||||||
|
trackInventory: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate_product {
|
export interface ProductImageCreate_productImageCreate_product {
|
||||||
__typename: "Product";
|
__typename: "Product";
|
||||||
id: string;
|
id: string;
|
||||||
attributes: ProductImageCreate_productImageCreate_product_attributes[];
|
attributes: ProductImageCreate_productImageCreate_product_attributes[];
|
||||||
productType: ProductImageCreate_productImageCreate_product_productType;
|
productType: ProductImageCreate_productImageCreate_product_productType;
|
||||||
variants: (ProductImageCreate_productImageCreate_product_variants | null)[] | null;
|
pricing: ProductImageCreate_productImageCreate_product_pricing | null;
|
||||||
name: string;
|
name: string;
|
||||||
descriptionJson: any;
|
descriptionJson: any;
|
||||||
seoTitle: string | null;
|
seoTitle: string | null;
|
||||||
|
@ -192,8 +192,8 @@ export interface ProductImageCreate_productImageCreate_product {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
chargeTaxes: boolean;
|
chargeTaxes: boolean;
|
||||||
publicationDate: any | null;
|
publicationDate: any | null;
|
||||||
pricing: ProductImageCreate_productImageCreate_product_pricing | null;
|
|
||||||
images: (ProductImageCreate_productImageCreate_product_images | null)[] | null;
|
images: (ProductImageCreate_productImageCreate_product_images | null)[] | null;
|
||||||
|
variants: (ProductImageCreate_productImageCreate_product_variants | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageCreate_productImageCreate {
|
export interface ProductImageCreate_productImageCreate {
|
||||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductImageUpdate_productImageUpdate_product_productType {
|
||||||
hasVariants: boolean;
|
hasVariants: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_variants_price {
|
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_variants_stocks_warehouse {
|
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "Warehouse";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
name: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_variants_stocks {
|
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
__typename: "Stock";
|
__typename: "Money";
|
||||||
id: string;
|
amount: number;
|
||||||
quantity: number;
|
currency: string;
|
||||||
quantityAllocated: number;
|
|
||||||
warehouse: ProductImageUpdate_productImageUpdate_product_variants_stocks_warehouse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_variants {
|
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_stop {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
price: ProductImageUpdate_productImageUpdate_product_variants_price | null;
|
}
|
||||||
sku: string;
|
|
||||||
name: string;
|
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted {
|
||||||
margin: number | null;
|
__typename: "TaxedMoneyRange";
|
||||||
stocks: (ProductImageUpdate_productImageUpdate_product_variants_stocks | null)[] | null;
|
start: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_start | null;
|
||||||
trackInventory: boolean;
|
stop: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageUpdate_productImageUpdate_product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_category {
|
export interface ProductImageUpdate_productImageUpdate_product_category {
|
||||||
|
@ -133,39 +135,6 @@ export interface ProductImageUpdate_productImageUpdate_product_purchaseCost {
|
||||||
stop: ProductImageUpdate_productImageUpdate_product_purchaseCost_stop | null;
|
stop: ProductImageUpdate_productImageUpdate_product_purchaseCost_stop | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRange {
|
|
||||||
__typename: "TaxedMoneyRange";
|
|
||||||
start: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_start | null;
|
|
||||||
stop: ProductImageUpdate_productImageUpdate_product_pricing_priceRange_stop | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_pricing {
|
|
||||||
__typename: "ProductPricingInfo";
|
|
||||||
priceRange: ProductImageUpdate_productImageUpdate_product_pricing_priceRange | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product_images {
|
export interface ProductImageUpdate_productImageUpdate_product_images {
|
||||||
__typename: "ProductImage";
|
__typename: "ProductImage";
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -174,12 +143,43 @@ export interface ProductImageUpdate_productImageUpdate_product_images {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ProductImageUpdate_productImageUpdate_product_variants_price {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageUpdate_productImageUpdate_product_variants_stocks_warehouse {
|
||||||
|
__typename: "Warehouse";
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageUpdate_productImageUpdate_product_variants_stocks {
|
||||||
|
__typename: "Stock";
|
||||||
|
id: string;
|
||||||
|
quantity: number;
|
||||||
|
quantityAllocated: number;
|
||||||
|
warehouse: ProductImageUpdate_productImageUpdate_product_variants_stocks_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductImageUpdate_productImageUpdate_product_variants {
|
||||||
|
__typename: "ProductVariant";
|
||||||
|
id: string;
|
||||||
|
sku: string;
|
||||||
|
name: string;
|
||||||
|
price: ProductImageUpdate_productImageUpdate_product_variants_price | null;
|
||||||
|
margin: number | null;
|
||||||
|
stocks: (ProductImageUpdate_productImageUpdate_product_variants_stocks | null)[] | null;
|
||||||
|
trackInventory: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate_product {
|
export interface ProductImageUpdate_productImageUpdate_product {
|
||||||
__typename: "Product";
|
__typename: "Product";
|
||||||
id: string;
|
id: string;
|
||||||
attributes: ProductImageUpdate_productImageUpdate_product_attributes[];
|
attributes: ProductImageUpdate_productImageUpdate_product_attributes[];
|
||||||
productType: ProductImageUpdate_productImageUpdate_product_productType;
|
productType: ProductImageUpdate_productImageUpdate_product_productType;
|
||||||
variants: (ProductImageUpdate_productImageUpdate_product_variants | null)[] | null;
|
pricing: ProductImageUpdate_productImageUpdate_product_pricing | null;
|
||||||
name: string;
|
name: string;
|
||||||
descriptionJson: any;
|
descriptionJson: any;
|
||||||
seoTitle: string | null;
|
seoTitle: string | null;
|
||||||
|
@ -192,8 +192,8 @@ export interface ProductImageUpdate_productImageUpdate_product {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
chargeTaxes: boolean;
|
chargeTaxes: boolean;
|
||||||
publicationDate: any | null;
|
publicationDate: any | null;
|
||||||
pricing: ProductImageUpdate_productImageUpdate_product_pricing | null;
|
|
||||||
images: (ProductImageUpdate_productImageUpdate_product_images | null)[] | null;
|
images: (ProductImageUpdate_productImageUpdate_product_images | null)[] | null;
|
||||||
|
variants: (ProductImageUpdate_productImageUpdate_product_variants | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductImageUpdate_productImageUpdate {
|
export interface ProductImageUpdate_productImageUpdate {
|
||||||
|
|
|
@ -37,16 +37,37 @@ export interface ProductList_products_edges_node_attributes {
|
||||||
values: (ProductList_products_edges_node_attributes_values | null)[];
|
values: (ProductList_products_edges_node_attributes_values | null)[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductList_products_edges_node_variants_price {
|
export interface ProductList_products_edges_node_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductList_products_edges_node_variants {
|
export interface ProductList_products_edges_node_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductList_products_edges_node_pricing_priceRangeUndiscounted_start_gross;
|
||||||
price: ProductList_products_edges_node_variants_price | null;
|
}
|
||||||
|
|
||||||
|
export interface ProductList_products_edges_node_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductList_products_edges_node_pricing_priceRangeUndiscounted_stop {
|
||||||
|
__typename: "TaxedMoney";
|
||||||
|
gross: ProductList_products_edges_node_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductList_products_edges_node_pricing_priceRangeUndiscounted {
|
||||||
|
__typename: "TaxedMoneyRange";
|
||||||
|
start: ProductList_products_edges_node_pricing_priceRangeUndiscounted_start | null;
|
||||||
|
stop: ProductList_products_edges_node_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductList_products_edges_node_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: ProductList_products_edges_node_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductList_products_edges_node {
|
export interface ProductList_products_edges_node {
|
||||||
|
@ -58,7 +79,7 @@ export interface ProductList_products_edges_node {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
productType: ProductList_products_edges_node_productType;
|
productType: ProductList_products_edges_node_productType;
|
||||||
attributes: ProductList_products_edges_node_attributes[];
|
attributes: ProductList_products_edges_node_attributes[];
|
||||||
variants: (ProductList_products_edges_node_variants | null)[] | null;
|
pricing: ProductList_products_edges_node_pricing | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductList_products_edges {
|
export interface ProductList_products_edges {
|
||||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductUpdate_productUpdate_product_productType {
|
||||||
hasVariants: boolean;
|
hasVariants: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_variants_price {
|
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_variants_stocks_warehouse {
|
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "Warehouse";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
name: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_variants_stocks {
|
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
__typename: "Stock";
|
__typename: "Money";
|
||||||
id: string;
|
amount: number;
|
||||||
quantity: number;
|
currency: string;
|
||||||
quantityAllocated: number;
|
|
||||||
warehouse: ProductUpdate_productUpdate_product_variants_stocks_warehouse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_variants {
|
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
price: ProductUpdate_productUpdate_product_variants_price | null;
|
}
|
||||||
sku: string;
|
|
||||||
name: string;
|
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted {
|
||||||
margin: number | null;
|
__typename: "TaxedMoneyRange";
|
||||||
stocks: (ProductUpdate_productUpdate_product_variants_stocks | null)[] | null;
|
start: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start | null;
|
||||||
trackInventory: boolean;
|
stop: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductUpdate_productUpdate_product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_category {
|
export interface ProductUpdate_productUpdate_product_category {
|
||||||
|
@ -133,39 +135,6 @@ export interface ProductUpdate_productUpdate_product_purchaseCost {
|
||||||
stop: ProductUpdate_productUpdate_product_purchaseCost_stop | null;
|
stop: ProductUpdate_productUpdate_product_purchaseCost_stop | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_pricing_priceRange_start_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_pricing_priceRange_start {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductUpdate_productUpdate_product_pricing_priceRange_start_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_pricing_priceRange_stop_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_pricing_priceRange_stop {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: ProductUpdate_productUpdate_product_pricing_priceRange_stop_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_pricing_priceRange {
|
|
||||||
__typename: "TaxedMoneyRange";
|
|
||||||
start: ProductUpdate_productUpdate_product_pricing_priceRange_start | null;
|
|
||||||
stop: ProductUpdate_productUpdate_product_pricing_priceRange_stop | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_pricing {
|
|
||||||
__typename: "ProductPricingInfo";
|
|
||||||
priceRange: ProductUpdate_productUpdate_product_pricing_priceRange | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product_images {
|
export interface ProductUpdate_productUpdate_product_images {
|
||||||
__typename: "ProductImage";
|
__typename: "ProductImage";
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -174,12 +143,43 @@ export interface ProductUpdate_productUpdate_product_images {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ProductUpdate_productUpdate_product_variants_price {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductUpdate_productUpdate_product_variants_stocks_warehouse {
|
||||||
|
__typename: "Warehouse";
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductUpdate_productUpdate_product_variants_stocks {
|
||||||
|
__typename: "Stock";
|
||||||
|
id: string;
|
||||||
|
quantity: number;
|
||||||
|
quantityAllocated: number;
|
||||||
|
warehouse: ProductUpdate_productUpdate_product_variants_stocks_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductUpdate_productUpdate_product_variants {
|
||||||
|
__typename: "ProductVariant";
|
||||||
|
id: string;
|
||||||
|
sku: string;
|
||||||
|
name: string;
|
||||||
|
price: ProductUpdate_productUpdate_product_variants_price | null;
|
||||||
|
margin: number | null;
|
||||||
|
stocks: (ProductUpdate_productUpdate_product_variants_stocks | null)[] | null;
|
||||||
|
trackInventory: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate_product {
|
export interface ProductUpdate_productUpdate_product {
|
||||||
__typename: "Product";
|
__typename: "Product";
|
||||||
id: string;
|
id: string;
|
||||||
attributes: ProductUpdate_productUpdate_product_attributes[];
|
attributes: ProductUpdate_productUpdate_product_attributes[];
|
||||||
productType: ProductUpdate_productUpdate_product_productType;
|
productType: ProductUpdate_productUpdate_product_productType;
|
||||||
variants: (ProductUpdate_productUpdate_product_variants | null)[] | null;
|
pricing: ProductUpdate_productUpdate_product_pricing | null;
|
||||||
name: string;
|
name: string;
|
||||||
descriptionJson: any;
|
descriptionJson: any;
|
||||||
seoTitle: string | null;
|
seoTitle: string | null;
|
||||||
|
@ -192,8 +192,8 @@ export interface ProductUpdate_productUpdate_product {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
chargeTaxes: boolean;
|
chargeTaxes: boolean;
|
||||||
publicationDate: any | null;
|
publicationDate: any | null;
|
||||||
pricing: ProductUpdate_productUpdate_product_pricing | null;
|
|
||||||
images: (ProductUpdate_productUpdate_product_images | null)[] | null;
|
images: (ProductUpdate_productUpdate_product_images | null)[] | null;
|
||||||
|
variants: (ProductUpdate_productUpdate_product_variants | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductUpdate_productUpdate {
|
export interface ProductUpdate_productUpdate {
|
||||||
|
|
|
@ -58,16 +58,37 @@ export interface ProductVariantAttributesFragment_productType {
|
||||||
variantAttributes: (ProductVariantAttributesFragment_productType_variantAttributes | null)[] | null;
|
variantAttributes: (ProductVariantAttributesFragment_productType_variantAttributes | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductVariantAttributesFragment_variants_price {
|
export interface ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductVariantAttributesFragment_variants {
|
export interface ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_start_gross;
|
||||||
price: ProductVariantAttributesFragment_variants_price | null;
|
}
|
||||||
|
|
||||||
|
export interface ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_stop {
|
||||||
|
__typename: "TaxedMoney";
|
||||||
|
gross: ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductVariantAttributesFragment_pricing_priceRangeUndiscounted {
|
||||||
|
__typename: "TaxedMoneyRange";
|
||||||
|
start: ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_start | null;
|
||||||
|
stop: ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ProductVariantAttributesFragment_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: ProductVariantAttributesFragment_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProductVariantAttributesFragment {
|
export interface ProductVariantAttributesFragment {
|
||||||
|
@ -75,5 +96,5 @@ export interface ProductVariantAttributesFragment {
|
||||||
id: string;
|
id: string;
|
||||||
attributes: ProductVariantAttributesFragment_attributes[];
|
attributes: ProductVariantAttributesFragment_attributes[];
|
||||||
productType: ProductVariantAttributesFragment_productType;
|
productType: ProductVariantAttributesFragment_productType;
|
||||||
variants: (ProductVariantAttributesFragment_variants | null)[] | null;
|
pricing: ProductVariantAttributesFragment_pricing | null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,35 +66,37 @@ export interface SimpleProductUpdate_productUpdate_product_productType {
|
||||||
hasVariants: boolean;
|
hasVariants: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_variants_price {
|
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||||
__typename: "Money";
|
__typename: "Money";
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string;
|
currency: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_variants_stocks_warehouse {
|
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start {
|
||||||
__typename: "Warehouse";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||||
name: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_variants_stocks {
|
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||||
__typename: "Stock";
|
__typename: "Money";
|
||||||
id: string;
|
amount: number;
|
||||||
quantity: number;
|
currency: string;
|
||||||
quantityAllocated: number;
|
|
||||||
warehouse: SimpleProductUpdate_productUpdate_product_variants_stocks_warehouse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_variants {
|
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop {
|
||||||
__typename: "ProductVariant";
|
__typename: "TaxedMoney";
|
||||||
id: string;
|
gross: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||||
price: SimpleProductUpdate_productUpdate_product_variants_price | null;
|
}
|
||||||
sku: string;
|
|
||||||
name: string;
|
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted {
|
||||||
margin: number | null;
|
__typename: "TaxedMoneyRange";
|
||||||
stocks: (SimpleProductUpdate_productUpdate_product_variants_stocks | null)[] | null;
|
start: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start | null;
|
||||||
trackInventory: boolean;
|
stop: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SimpleProductUpdate_productUpdate_product_pricing {
|
||||||
|
__typename: "ProductPricingInfo";
|
||||||
|
priceRangeUndiscounted: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_category {
|
export interface SimpleProductUpdate_productUpdate_product_category {
|
||||||
|
@ -133,39 +135,6 @@ export interface SimpleProductUpdate_productUpdate_product_purchaseCost {
|
||||||
stop: SimpleProductUpdate_productUpdate_product_purchaseCost_stop | null;
|
stop: SimpleProductUpdate_productUpdate_product_purchaseCost_stop | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_start_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_start {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: SimpleProductUpdate_productUpdate_product_pricing_priceRange_start_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop_net {
|
|
||||||
__typename: "Money";
|
|
||||||
amount: number;
|
|
||||||
currency: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop {
|
|
||||||
__typename: "TaxedMoney";
|
|
||||||
net: SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRange {
|
|
||||||
__typename: "TaxedMoneyRange";
|
|
||||||
start: SimpleProductUpdate_productUpdate_product_pricing_priceRange_start | null;
|
|
||||||
stop: SimpleProductUpdate_productUpdate_product_pricing_priceRange_stop | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_pricing {
|
|
||||||
__typename: "ProductPricingInfo";
|
|
||||||
priceRange: SimpleProductUpdate_productUpdate_product_pricing_priceRange | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product_images {
|
export interface SimpleProductUpdate_productUpdate_product_images {
|
||||||
__typename: "ProductImage";
|
__typename: "ProductImage";
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -174,12 +143,43 @@ export interface SimpleProductUpdate_productUpdate_product_images {
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface SimpleProductUpdate_productUpdate_product_variants_price {
|
||||||
|
__typename: "Money";
|
||||||
|
amount: number;
|
||||||
|
currency: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SimpleProductUpdate_productUpdate_product_variants_stocks_warehouse {
|
||||||
|
__typename: "Warehouse";
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SimpleProductUpdate_productUpdate_product_variants_stocks {
|
||||||
|
__typename: "Stock";
|
||||||
|
id: string;
|
||||||
|
quantity: number;
|
||||||
|
quantityAllocated: number;
|
||||||
|
warehouse: SimpleProductUpdate_productUpdate_product_variants_stocks_warehouse;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SimpleProductUpdate_productUpdate_product_variants {
|
||||||
|
__typename: "ProductVariant";
|
||||||
|
id: string;
|
||||||
|
sku: string;
|
||||||
|
name: string;
|
||||||
|
price: SimpleProductUpdate_productUpdate_product_variants_price | null;
|
||||||
|
margin: number | null;
|
||||||
|
stocks: (SimpleProductUpdate_productUpdate_product_variants_stocks | null)[] | null;
|
||||||
|
trackInventory: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate_product {
|
export interface SimpleProductUpdate_productUpdate_product {
|
||||||
__typename: "Product";
|
__typename: "Product";
|
||||||
id: string;
|
id: string;
|
||||||
attributes: SimpleProductUpdate_productUpdate_product_attributes[];
|
attributes: SimpleProductUpdate_productUpdate_product_attributes[];
|
||||||
productType: SimpleProductUpdate_productUpdate_product_productType;
|
productType: SimpleProductUpdate_productUpdate_product_productType;
|
||||||
variants: (SimpleProductUpdate_productUpdate_product_variants | null)[] | null;
|
pricing: SimpleProductUpdate_productUpdate_product_pricing | null;
|
||||||
name: string;
|
name: string;
|
||||||
descriptionJson: any;
|
descriptionJson: any;
|
||||||
seoTitle: string | null;
|
seoTitle: string | null;
|
||||||
|
@ -192,8 +192,8 @@ export interface SimpleProductUpdate_productUpdate_product {
|
||||||
isPublished: boolean;
|
isPublished: boolean;
|
||||||
chargeTaxes: boolean;
|
chargeTaxes: boolean;
|
||||||
publicationDate: any | null;
|
publicationDate: any | null;
|
||||||
pricing: SimpleProductUpdate_productUpdate_product_pricing | null;
|
|
||||||
images: (SimpleProductUpdate_productUpdate_product_images | null)[] | null;
|
images: (SimpleProductUpdate_productUpdate_product_images | null)[] | null;
|
||||||
|
variants: (SimpleProductUpdate_productUpdate_product_variants | null)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SimpleProductUpdate_productUpdate {
|
export interface SimpleProductUpdate_productUpdate {
|
||||||
|
|
|
@ -51,7 +51,7 @@ const ProductVariantCreator: React.FC<ProductVariantCreatorProps> = ({
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
<ProductVariantCreatorPage
|
<ProductVariantCreatorPage
|
||||||
defaultPrice={data?.product?.variants[0].price.amount.toString()}
|
defaultPrice={data?.product?.pricing?.priceRangeUndiscounted?.start?.gross.amount.toString()}
|
||||||
errors={
|
errors={
|
||||||
bulkProductVariantCreateOpts.data?.productVariantBulkCreate.errors ||
|
bulkProductVariantCreateOpts.data?.productVariantBulkCreate.errors ||
|
||||||
[]
|
[]
|
||||||
|
|
|
@ -25221,7 +25221,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25280,7 +25280,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25339,7 +25339,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25398,7 +25398,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25457,7 +25457,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25516,7 +25516,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25575,7 +25575,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25634,7 +25634,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25693,7 +25693,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -25752,7 +25752,7 @@ Ctrl + K"
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$5.00 - $10.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -124314,7 +124314,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$15.00 - $49.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124390,7 +124390,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$15.00 - $49.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124466,7 +124466,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$15.00 - $49.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124542,7 +124542,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124618,7 +124618,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124694,7 +124694,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124770,7 +124770,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124846,7 +124846,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124922,7 +124922,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -124998,7 +124998,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125074,7 +125074,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125150,7 +125150,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125226,7 +125226,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125302,7 +125302,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125378,7 +125378,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125454,7 +125454,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125530,7 +125530,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125606,7 +125606,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125682,7 +125682,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -125758,7 +125758,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -127129,7 +127129,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$15.00 - $49.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -127205,7 +127205,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$15.00 - $49.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -127281,7 +127281,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -127357,7 +127357,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -127433,7 +127433,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -127910,7 +127910,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$15.00 - $49.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -127986,7 +127986,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128062,7 +128062,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128138,7 +128138,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128214,7 +128214,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128290,7 +128290,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128366,7 +128366,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128442,7 +128442,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128518,7 +128518,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128594,7 +128594,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128670,7 +128670,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128746,7 +128746,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128822,7 +128822,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128898,7 +128898,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr
|
<tr
|
||||||
|
@ -128974,7 +128974,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
||||||
<td
|
<td
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||||
>
|
>
|
||||||
$3.00 - $7.00
|
$3.00 - $8.00
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in a new issue