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 TablePagination from "@saleor/components/TablePagination";
|
||||
import { maybe, renderCollection } from "@saleor/misc";
|
||||
import { getProductPriceRange } from "@saleor/products/components/ProductListPage/utils";
|
||||
import { ListActions, ListProps } from "@saleor/types";
|
||||
import React from "react";
|
||||
import { FormattedMessage, useIntl } from "react-intl";
|
||||
|
||||
import {
|
||||
CategoryDetails_category_products_edges_node,
|
||||
CategoryDetails_category_products_edges_node_variants
|
||||
CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted
|
||||
} from "../../types/CategoryDetails";
|
||||
|
||||
const useStyles = makeStyles(
|
||||
|
@ -99,21 +98,26 @@ export const CategoryProductList: React.FC<CategoryProductListProps> = props =>
|
|||
const numberOfColumns = 5;
|
||||
|
||||
const getProductPrice = (
|
||||
variants: CategoryDetails_category_products_edges_node_variants[]
|
||||
priceRangeUndiscounted: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted
|
||||
) => {
|
||||
if (!variants.length) {
|
||||
if (!priceRangeUndiscounted) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const { max, min } = getProductPriceRange(variants);
|
||||
const currency = variants[0].price.currency;
|
||||
const { start, stop } = priceRangeUndiscounted;
|
||||
const {
|
||||
gross: { amount: startAmount }
|
||||
} = start;
|
||||
const {
|
||||
gross: { amount: stopAmount }
|
||||
} = stop;
|
||||
|
||||
if (max === min) {
|
||||
if (startAmount === stopAmount) {
|
||||
return (
|
||||
<Money
|
||||
money={{
|
||||
amount: min,
|
||||
currency
|
||||
amount: startAmount,
|
||||
currency: start.gross.currency
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
@ -122,15 +126,15 @@ export const CategoryProductList: React.FC<CategoryProductListProps> = props =>
|
|||
<>
|
||||
<Money
|
||||
money={{
|
||||
amount: min,
|
||||
currency
|
||||
amount: startAmount,
|
||||
currency: start.gross.currency
|
||||
}}
|
||||
/>
|
||||
{" - "}
|
||||
<Money
|
||||
money={{
|
||||
amount: max,
|
||||
currency
|
||||
amount: stopAmount,
|
||||
currency: stop.gross.currency
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
|
@ -251,8 +255,8 @@ export const CategoryProductList: React.FC<CategoryProductListProps> = props =>
|
|||
)}
|
||||
</TableCell>
|
||||
<TableCell className={classes.colPrice}>
|
||||
{product?.variants ? (
|
||||
getProductPrice(product.variants)
|
||||
{product?.pricing?.priceRangeUndiscounted ? (
|
||||
getProductPrice(product?.pricing?.priceRangeUndiscounted)
|
||||
) : (
|
||||
<Skeleton />
|
||||
)}
|
||||
|
|
|
@ -120,32 +120,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyMQ==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -156,32 +158,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyMg==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -192,32 +196,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyMw==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -228,32 +234,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyNA==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -264,32 +272,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyNQ==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -300,32 +310,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyNg==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -336,32 +348,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyNw==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -372,32 +386,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyOA==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -408,32 +424,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDoyOQ==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -444,32 +462,34 @@ export const category: (
|
|||
id: "UHJvZHVjdDozMA==",
|
||||
isAvailable: true,
|
||||
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: {
|
||||
__typename: "ProductType",
|
||||
id: "UHJvZHVjdFR5cGU6Mw==",
|
||||
name: "Coffee"
|
||||
},
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
thumbnail: { __typename: "Image", url: placeholderImage }
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
@ -8,6 +8,13 @@ import {
|
|||
} from "./types/CategoryDetails";
|
||||
import { RootCategories } from "./types/RootCategories";
|
||||
|
||||
export const fragmentMoney = gql`
|
||||
fragment Money on Money {
|
||||
amount
|
||||
currency
|
||||
}
|
||||
`;
|
||||
|
||||
export const categoryFragment = gql`
|
||||
fragment CategoryFragment on Category {
|
||||
id
|
||||
|
@ -73,6 +80,7 @@ export const useRootCategoriesQuery = makeQuery<RootCategories, {}>(
|
|||
);
|
||||
|
||||
export const categoryDetails = gql`
|
||||
${fragmentMoney}
|
||||
${categoryFragment}
|
||||
${categoryDetailsFragment}
|
||||
${pageInfoFragment}
|
||||
|
@ -112,11 +120,18 @@ export const categoryDetails = gql`
|
|||
id
|
||||
name
|
||||
}
|
||||
variants {
|
||||
id
|
||||
price {
|
||||
amount
|
||||
currency
|
||||
pricing {
|
||||
priceRangeUndiscounted {
|
||||
start {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
stop {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,16 +73,37 @@ export interface CategoryDetails_category_products_edges_node_productType {
|
|||
name: string;
|
||||
}
|
||||
|
||||
export interface CategoryDetails_category_products_edges_node_variants_price {
|
||||
export interface CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_start_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface CategoryDetails_category_products_edges_node_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: CategoryDetails_category_products_edges_node_variants_price | null;
|
||||
export interface CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: CategoryDetails_category_products_edges_node_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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 {
|
||||
|
@ -92,7 +113,7 @@ export interface CategoryDetails_category_products_edges_node {
|
|||
isAvailable: boolean | null;
|
||||
thumbnail: CategoryDetails_category_products_edges_node_thumbnail | null;
|
||||
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 {
|
||||
|
|
|
@ -19,13 +19,12 @@ import { ProductListColumns } from "@saleor/config";
|
|||
import { maybe, renderCollection } from "@saleor/misc";
|
||||
import {
|
||||
getAttributeIdFromColumnValue,
|
||||
getProductPriceRange,
|
||||
isAttributeColumnValue
|
||||
} from "@saleor/products/components/ProductListPage/utils";
|
||||
import { AvailableInGridAttributes_grid_edges_node } from "@saleor/products/types/AvailableInGridAttributes";
|
||||
import {
|
||||
ProductList_products_edges_node,
|
||||
ProductList_products_edges_node_variants
|
||||
ProductList_products_edges_node_pricing_priceRangeUndiscounted
|
||||
} from "@saleor/products/types/ProductList";
|
||||
import { ProductListUrlSortField } from "@saleor/products/urls";
|
||||
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 getProductPrice = (
|
||||
variants: ProductList_products_edges_node_variants[]
|
||||
priceRangeUndiscounted: ProductList_products_edges_node_pricing_priceRangeUndiscounted
|
||||
) => {
|
||||
if (!variants.length) {
|
||||
if (!priceRangeUndiscounted) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const { max, min } = getProductPriceRange(variants);
|
||||
const currency = variants[0].price.currency;
|
||||
const { start, stop } = priceRangeUndiscounted;
|
||||
const {
|
||||
gross: { amount: startAmount }
|
||||
} = start;
|
||||
const {
|
||||
gross: { amount: stopAmount }
|
||||
} = stop;
|
||||
|
||||
if (max === min) {
|
||||
if (startAmount === stopAmount) {
|
||||
return (
|
||||
<Money
|
||||
money={{
|
||||
amount: min,
|
||||
currency
|
||||
amount: startAmount,
|
||||
currency: start.gross.currency
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
@ -162,15 +166,15 @@ export const ProductList: React.FC<ProductListProps> = props => {
|
|||
<>
|
||||
<Money
|
||||
money={{
|
||||
amount: min,
|
||||
currency
|
||||
amount: startAmount,
|
||||
currency: start.gross.currency
|
||||
}}
|
||||
/>
|
||||
{" - "}
|
||||
<Money
|
||||
money={{
|
||||
amount: max,
|
||||
currency
|
||||
amount: stopAmount,
|
||||
currency: stop.gross.currency
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
|
@ -441,8 +445,10 @@ export const ProductList: React.FC<ProductListProps> = props => {
|
|||
displayColumns={settings.columns}
|
||||
>
|
||||
<TableCell className={classes.colPrice}>
|
||||
{product?.variants ? (
|
||||
getProductPrice(product.variants)
|
||||
{product?.pricing?.priceRangeUndiscounted ? (
|
||||
getProductPrice(
|
||||
product?.pricing?.priceRangeUndiscounted
|
||||
)
|
||||
) : (
|
||||
<Skeleton />
|
||||
)}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import { ProductList_products_edges_node_variants } from "@saleor/products/types/ProductList";
|
||||
|
||||
const prefix = "attribute";
|
||||
|
||||
export function getAttributeColumnValue(id: string) {
|
||||
|
@ -13,21 +11,3 @@ export function isAttributeColumnValue(value: string) {
|
|||
export function getAttributeIdFromColumnValue(value: string) {
|
||||
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,10 +113,18 @@ const productVariantAttributesFragment = gql`
|
|||
}
|
||||
}
|
||||
}
|
||||
variants {
|
||||
id
|
||||
price {
|
||||
...Money
|
||||
pricing {
|
||||
priceRangeUndiscounted {
|
||||
start {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
stop {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -158,14 +166,14 @@ export const productFragmentDetails = gql`
|
|||
chargeTaxes
|
||||
publicationDate
|
||||
pricing {
|
||||
priceRange {
|
||||
priceRangeUndiscounted {
|
||||
start {
|
||||
net {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
stop {
|
||||
net {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
|
@ -339,10 +347,18 @@ const productListQuery = gql`
|
|||
name
|
||||
}
|
||||
}
|
||||
variants {
|
||||
id
|
||||
price {
|
||||
...Money
|
||||
pricing {
|
||||
priceRangeUndiscounted {
|
||||
start {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
stop {
|
||||
gross {
|
||||
...Money
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,16 +58,37 @@ export interface CreateMultipleVariantsData_product_productType {
|
|||
variantAttributes: (CreateMultipleVariantsData_product_productType_variantAttributes | null)[] | null;
|
||||
}
|
||||
|
||||
export interface CreateMultipleVariantsData_product_variants_price {
|
||||
export interface CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface CreateMultipleVariantsData_product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: CreateMultipleVariantsData_product_variants_price | null;
|
||||
export interface CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: CreateMultipleVariantsData_product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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 {
|
||||
|
@ -75,7 +96,7 @@ export interface CreateMultipleVariantsData_product {
|
|||
id: string;
|
||||
attributes: CreateMultipleVariantsData_product_attributes[];
|
||||
productType: CreateMultipleVariantsData_product_productType;
|
||||
variants: (CreateMultipleVariantsData_product_variants | null)[] | null;
|
||||
pricing: CreateMultipleVariantsData_product_pricing | null;
|
||||
}
|
||||
|
||||
export interface CreateMultipleVariantsData_warehouses_edges_node {
|
||||
|
|
|
@ -60,35 +60,37 @@ export interface Product_productType {
|
|||
hasVariants: boolean;
|
||||
}
|
||||
|
||||
export interface Product_variants_price {
|
||||
export interface Product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface Product_variants_stocks_warehouse {
|
||||
__typename: "Warehouse";
|
||||
id: string;
|
||||
name: string;
|
||||
export interface Product_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: Product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
export interface Product_variants_stocks {
|
||||
__typename: "Stock";
|
||||
id: string;
|
||||
quantity: number;
|
||||
quantityAllocated: number;
|
||||
warehouse: Product_variants_stocks_warehouse;
|
||||
export interface Product_pricing_priceRangeUndiscounted_stop_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface Product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: Product_variants_price | null;
|
||||
sku: string;
|
||||
name: string;
|
||||
margin: number | null;
|
||||
stocks: (Product_variants_stocks | null)[] | null;
|
||||
trackInventory: boolean;
|
||||
export interface Product_pricing_priceRangeUndiscounted_stop {
|
||||
__typename: "TaxedMoney";
|
||||
gross: Product_pricing_priceRangeUndiscounted_stop_gross;
|
||||
}
|
||||
|
||||
export interface Product_pricing_priceRangeUndiscounted {
|
||||
__typename: "TaxedMoneyRange";
|
||||
start: Product_pricing_priceRangeUndiscounted_start | null;
|
||||
stop: Product_pricing_priceRangeUndiscounted_stop | null;
|
||||
}
|
||||
|
||||
export interface Product_pricing {
|
||||
__typename: "ProductPricingInfo";
|
||||
priceRangeUndiscounted: Product_pricing_priceRangeUndiscounted | null;
|
||||
}
|
||||
|
||||
export interface Product_category {
|
||||
|
@ -127,39 +129,6 @@ export interface Product_purchaseCost {
|
|||
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 {
|
||||
__typename: "ProductImage";
|
||||
id: string;
|
||||
|
@ -168,12 +137,43 @@ export interface Product_images {
|
|||
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 {
|
||||
__typename: "Product";
|
||||
id: string;
|
||||
attributes: Product_attributes[];
|
||||
productType: Product_productType;
|
||||
variants: (Product_variants | null)[] | null;
|
||||
pricing: Product_pricing | null;
|
||||
name: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
|
@ -186,6 +186,6 @@ export interface Product {
|
|||
isPublished: boolean;
|
||||
chargeTaxes: boolean;
|
||||
publicationDate: any | null;
|
||||
pricing: Product_pricing | null;
|
||||
images: (Product_images | null)[] | null;
|
||||
variants: (Product_variants | null)[] | null;
|
||||
}
|
||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductCreate_productCreate_product_productType {
|
|||
hasVariants: boolean;
|
||||
}
|
||||
|
||||
export interface ProductCreate_productCreate_product_variants_price {
|
||||
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__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_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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_pricing_priceRangeUndiscounted_stop_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductCreate_productCreate_product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: ProductCreate_productCreate_product_variants_price | null;
|
||||
sku: string;
|
||||
name: string;
|
||||
margin: number | null;
|
||||
stocks: (ProductCreate_productCreate_product_variants_stocks | null)[] | null;
|
||||
trackInventory: boolean;
|
||||
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_stop {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||
}
|
||||
|
||||
export interface ProductCreate_productCreate_product_pricing_priceRangeUndiscounted {
|
||||
__typename: "TaxedMoneyRange";
|
||||
start: ProductCreate_productCreate_product_pricing_priceRangeUndiscounted_start | null;
|
||||
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 {
|
||||
|
@ -133,39 +135,6 @@ export interface ProductCreate_productCreate_product_purchaseCost {
|
|||
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 {
|
||||
__typename: "ProductImage";
|
||||
id: string;
|
||||
|
@ -174,12 +143,43 @@ export interface ProductCreate_productCreate_product_images {
|
|||
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 {
|
||||
__typename: "Product";
|
||||
id: string;
|
||||
attributes: ProductCreate_productCreate_product_attributes[];
|
||||
productType: ProductCreate_productCreate_product_productType;
|
||||
variants: (ProductCreate_productCreate_product_variants | null)[] | null;
|
||||
pricing: ProductCreate_productCreate_product_pricing | null;
|
||||
name: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
|
@ -192,8 +192,8 @@ export interface ProductCreate_productCreate_product {
|
|||
isPublished: boolean;
|
||||
chargeTaxes: boolean;
|
||||
publicationDate: any | null;
|
||||
pricing: ProductCreate_productCreate_product_pricing | null;
|
||||
images: (ProductCreate_productCreate_product_images | null)[] | null;
|
||||
variants: (ProductCreate_productCreate_product_variants | null)[] | null;
|
||||
}
|
||||
|
||||
export interface ProductCreate_productCreate {
|
||||
|
|
|
@ -60,35 +60,37 @@ export interface ProductDetails_product_productType {
|
|||
hasVariants: boolean;
|
||||
}
|
||||
|
||||
export interface ProductDetails_product_variants_price {
|
||||
export interface ProductDetails_product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductDetails_product_variants_stocks_warehouse {
|
||||
__typename: "Warehouse";
|
||||
id: string;
|
||||
name: string;
|
||||
export interface ProductDetails_product_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductDetails_product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
export interface ProductDetails_product_variants_stocks {
|
||||
__typename: "Stock";
|
||||
id: string;
|
||||
quantity: number;
|
||||
quantityAllocated: number;
|
||||
warehouse: ProductDetails_product_variants_stocks_warehouse;
|
||||
export interface ProductDetails_product_pricing_priceRangeUndiscounted_stop_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductDetails_product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: ProductDetails_product_variants_price | null;
|
||||
sku: string;
|
||||
name: string;
|
||||
margin: number | null;
|
||||
stocks: (ProductDetails_product_variants_stocks | null)[] | null;
|
||||
trackInventory: boolean;
|
||||
export interface ProductDetails_product_pricing_priceRangeUndiscounted_stop {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductDetails_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||
}
|
||||
|
||||
export interface ProductDetails_product_pricing_priceRangeUndiscounted {
|
||||
__typename: "TaxedMoneyRange";
|
||||
start: ProductDetails_product_pricing_priceRangeUndiscounted_start | null;
|
||||
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 {
|
||||
|
@ -127,39 +129,6 @@ export interface ProductDetails_product_purchaseCost {
|
|||
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 {
|
||||
__typename: "ProductImage";
|
||||
id: string;
|
||||
|
@ -168,12 +137,43 @@ export interface ProductDetails_product_images {
|
|||
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 {
|
||||
__typename: "Product";
|
||||
id: string;
|
||||
attributes: ProductDetails_product_attributes[];
|
||||
productType: ProductDetails_product_productType;
|
||||
variants: (ProductDetails_product_variants | null)[] | null;
|
||||
pricing: ProductDetails_product_pricing | null;
|
||||
name: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
|
@ -186,8 +186,8 @@ export interface ProductDetails_product {
|
|||
isPublished: boolean;
|
||||
chargeTaxes: boolean;
|
||||
publicationDate: any | null;
|
||||
pricing: ProductDetails_product_pricing | null;
|
||||
images: (ProductDetails_product_images | null)[] | null;
|
||||
variants: (ProductDetails_product_variants | null)[] | null;
|
||||
}
|
||||
|
||||
export interface ProductDetails {
|
||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductImageCreate_productImageCreate_product_productType {
|
|||
hasVariants: boolean;
|
||||
}
|
||||
|
||||
export interface ProductImageCreate_productImageCreate_product_variants_price {
|
||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__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_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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_pricing_priceRangeUndiscounted_stop_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductImageCreate_productImageCreate_product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: ProductImageCreate_productImageCreate_product_variants_price | null;
|
||||
sku: string;
|
||||
name: string;
|
||||
margin: number | null;
|
||||
stocks: (ProductImageCreate_productImageCreate_product_variants_stocks | null)[] | null;
|
||||
trackInventory: boolean;
|
||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_stop {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||
}
|
||||
|
||||
export interface ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted {
|
||||
__typename: "TaxedMoneyRange";
|
||||
start: ProductImageCreate_productImageCreate_product_pricing_priceRangeUndiscounted_start | null;
|
||||
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 {
|
||||
|
@ -133,39 +135,6 @@ export interface ProductImageCreate_productImageCreate_product_purchaseCost {
|
|||
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 {
|
||||
__typename: "ProductImage";
|
||||
id: string;
|
||||
|
@ -174,12 +143,43 @@ export interface ProductImageCreate_productImageCreate_product_images {
|
|||
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 {
|
||||
__typename: "Product";
|
||||
id: string;
|
||||
attributes: ProductImageCreate_productImageCreate_product_attributes[];
|
||||
productType: ProductImageCreate_productImageCreate_product_productType;
|
||||
variants: (ProductImageCreate_productImageCreate_product_variants | null)[] | null;
|
||||
pricing: ProductImageCreate_productImageCreate_product_pricing | null;
|
||||
name: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
|
@ -192,8 +192,8 @@ export interface ProductImageCreate_productImageCreate_product {
|
|||
isPublished: boolean;
|
||||
chargeTaxes: boolean;
|
||||
publicationDate: any | null;
|
||||
pricing: ProductImageCreate_productImageCreate_product_pricing | null;
|
||||
images: (ProductImageCreate_productImageCreate_product_images | null)[] | null;
|
||||
variants: (ProductImageCreate_productImageCreate_product_variants | null)[] | null;
|
||||
}
|
||||
|
||||
export interface ProductImageCreate_productImageCreate {
|
||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductImageUpdate_productImageUpdate_product_productType {
|
|||
hasVariants: boolean;
|
||||
}
|
||||
|
||||
export interface ProductImageUpdate_productImageUpdate_product_variants_price {
|
||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__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_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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_pricing_priceRangeUndiscounted_stop_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductImageUpdate_productImageUpdate_product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: ProductImageUpdate_productImageUpdate_product_variants_price | null;
|
||||
sku: string;
|
||||
name: string;
|
||||
margin: number | null;
|
||||
stocks: (ProductImageUpdate_productImageUpdate_product_variants_stocks | null)[] | null;
|
||||
trackInventory: boolean;
|
||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_stop {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||
}
|
||||
|
||||
export interface ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted {
|
||||
__typename: "TaxedMoneyRange";
|
||||
start: ProductImageUpdate_productImageUpdate_product_pricing_priceRangeUndiscounted_start | null;
|
||||
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 {
|
||||
|
@ -133,39 +135,6 @@ export interface ProductImageUpdate_productImageUpdate_product_purchaseCost {
|
|||
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 {
|
||||
__typename: "ProductImage";
|
||||
id: string;
|
||||
|
@ -174,12 +143,43 @@ export interface ProductImageUpdate_productImageUpdate_product_images {
|
|||
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 {
|
||||
__typename: "Product";
|
||||
id: string;
|
||||
attributes: ProductImageUpdate_productImageUpdate_product_attributes[];
|
||||
productType: ProductImageUpdate_productImageUpdate_product_productType;
|
||||
variants: (ProductImageUpdate_productImageUpdate_product_variants | null)[] | null;
|
||||
pricing: ProductImageUpdate_productImageUpdate_product_pricing | null;
|
||||
name: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
|
@ -192,8 +192,8 @@ export interface ProductImageUpdate_productImageUpdate_product {
|
|||
isPublished: boolean;
|
||||
chargeTaxes: boolean;
|
||||
publicationDate: any | null;
|
||||
pricing: ProductImageUpdate_productImageUpdate_product_pricing | null;
|
||||
images: (ProductImageUpdate_productImageUpdate_product_images | null)[] | null;
|
||||
variants: (ProductImageUpdate_productImageUpdate_product_variants | null)[] | null;
|
||||
}
|
||||
|
||||
export interface ProductImageUpdate_productImageUpdate {
|
||||
|
|
|
@ -37,16 +37,37 @@ export interface ProductList_products_edges_node_attributes {
|
|||
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";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductList_products_edges_node_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: ProductList_products_edges_node_variants_price | null;
|
||||
export interface ProductList_products_edges_node_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductList_products_edges_node_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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 {
|
||||
|
@ -58,7 +79,7 @@ export interface ProductList_products_edges_node {
|
|||
isPublished: boolean;
|
||||
productType: ProductList_products_edges_node_productType;
|
||||
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 {
|
||||
|
|
|
@ -66,35 +66,37 @@ export interface ProductUpdate_productUpdate_product_productType {
|
|||
hasVariants: boolean;
|
||||
}
|
||||
|
||||
export interface ProductUpdate_productUpdate_product_variants_price {
|
||||
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__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_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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_pricing_priceRangeUndiscounted_stop_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductUpdate_productUpdate_product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: ProductUpdate_productUpdate_product_variants_price | null;
|
||||
sku: string;
|
||||
name: string;
|
||||
margin: number | null;
|
||||
stocks: (ProductUpdate_productUpdate_product_variants_stocks | null)[] | null;
|
||||
trackInventory: boolean;
|
||||
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||
}
|
||||
|
||||
export interface ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted {
|
||||
__typename: "TaxedMoneyRange";
|
||||
start: ProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start | null;
|
||||
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 {
|
||||
|
@ -133,39 +135,6 @@ export interface ProductUpdate_productUpdate_product_purchaseCost {
|
|||
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 {
|
||||
__typename: "ProductImage";
|
||||
id: string;
|
||||
|
@ -174,12 +143,43 @@ export interface ProductUpdate_productUpdate_product_images {
|
|||
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 {
|
||||
__typename: "Product";
|
||||
id: string;
|
||||
attributes: ProductUpdate_productUpdate_product_attributes[];
|
||||
productType: ProductUpdate_productUpdate_product_productType;
|
||||
variants: (ProductUpdate_productUpdate_product_variants | null)[] | null;
|
||||
pricing: ProductUpdate_productUpdate_product_pricing | null;
|
||||
name: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
|
@ -192,8 +192,8 @@ export interface ProductUpdate_productUpdate_product {
|
|||
isPublished: boolean;
|
||||
chargeTaxes: boolean;
|
||||
publicationDate: any | null;
|
||||
pricing: ProductUpdate_productUpdate_product_pricing | null;
|
||||
images: (ProductUpdate_productUpdate_product_images | null)[] | null;
|
||||
variants: (ProductUpdate_productUpdate_product_variants | null)[] | null;
|
||||
}
|
||||
|
||||
export interface ProductUpdate_productUpdate {
|
||||
|
|
|
@ -58,16 +58,37 @@ export interface ProductVariantAttributesFragment_productType {
|
|||
variantAttributes: (ProductVariantAttributesFragment_productType_variantAttributes | null)[] | null;
|
||||
}
|
||||
|
||||
export interface ProductVariantAttributesFragment_variants_price {
|
||||
export interface ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_start_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface ProductVariantAttributesFragment_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: ProductVariantAttributesFragment_variants_price | null;
|
||||
export interface ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: ProductVariantAttributesFragment_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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 {
|
||||
|
@ -75,5 +96,5 @@ export interface ProductVariantAttributesFragment {
|
|||
id: string;
|
||||
attributes: ProductVariantAttributesFragment_attributes[];
|
||||
productType: ProductVariantAttributesFragment_productType;
|
||||
variants: (ProductVariantAttributesFragment_variants | null)[] | null;
|
||||
pricing: ProductVariantAttributesFragment_pricing | null;
|
||||
}
|
||||
|
|
|
@ -66,35 +66,37 @@ export interface SimpleProductUpdate_productUpdate_product_productType {
|
|||
hasVariants: boolean;
|
||||
}
|
||||
|
||||
export interface SimpleProductUpdate_productUpdate_product_variants_price {
|
||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross {
|
||||
__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_pricing_priceRangeUndiscounted_start {
|
||||
__typename: "TaxedMoney";
|
||||
gross: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start_gross;
|
||||
}
|
||||
|
||||
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_pricing_priceRangeUndiscounted_stop_gross {
|
||||
__typename: "Money";
|
||||
amount: number;
|
||||
currency: string;
|
||||
}
|
||||
|
||||
export interface SimpleProductUpdate_productUpdate_product_variants {
|
||||
__typename: "ProductVariant";
|
||||
id: string;
|
||||
price: SimpleProductUpdate_productUpdate_product_variants_price | null;
|
||||
sku: string;
|
||||
name: string;
|
||||
margin: number | null;
|
||||
stocks: (SimpleProductUpdate_productUpdate_product_variants_stocks | null)[] | null;
|
||||
trackInventory: boolean;
|
||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop {
|
||||
__typename: "TaxedMoney";
|
||||
gross: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_stop_gross;
|
||||
}
|
||||
|
||||
export interface SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted {
|
||||
__typename: "TaxedMoneyRange";
|
||||
start: SimpleProductUpdate_productUpdate_product_pricing_priceRangeUndiscounted_start | null;
|
||||
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 {
|
||||
|
@ -133,39 +135,6 @@ export interface SimpleProductUpdate_productUpdate_product_purchaseCost {
|
|||
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 {
|
||||
__typename: "ProductImage";
|
||||
id: string;
|
||||
|
@ -174,12 +143,43 @@ export interface SimpleProductUpdate_productUpdate_product_images {
|
|||
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 {
|
||||
__typename: "Product";
|
||||
id: string;
|
||||
attributes: SimpleProductUpdate_productUpdate_product_attributes[];
|
||||
productType: SimpleProductUpdate_productUpdate_product_productType;
|
||||
variants: (SimpleProductUpdate_productUpdate_product_variants | null)[] | null;
|
||||
pricing: SimpleProductUpdate_productUpdate_product_pricing | null;
|
||||
name: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
|
@ -192,8 +192,8 @@ export interface SimpleProductUpdate_productUpdate_product {
|
|||
isPublished: boolean;
|
||||
chargeTaxes: boolean;
|
||||
publicationDate: any | null;
|
||||
pricing: SimpleProductUpdate_productUpdate_product_pricing | null;
|
||||
images: (SimpleProductUpdate_productUpdate_product_images | null)[] | null;
|
||||
variants: (SimpleProductUpdate_productUpdate_product_variants | null)[] | null;
|
||||
}
|
||||
|
||||
export interface SimpleProductUpdate_productUpdate {
|
||||
|
|
|
@ -51,7 +51,7 @@ const ProductVariantCreator: React.FC<ProductVariantCreatorProps> = ({
|
|||
})}
|
||||
/>
|
||||
<ProductVariantCreatorPage
|
||||
defaultPrice={data?.product?.variants[0].price.amount.toString()}
|
||||
defaultPrice={data?.product?.pricing?.priceRangeUndiscounted?.start?.gross.amount.toString()}
|
||||
errors={
|
||||
bulkProductVariantCreateOpts.data?.productVariantBulkCreate.errors ||
|
||||
[]
|
||||
|
|
|
@ -25221,7 +25221,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25280,7 +25280,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25339,7 +25339,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25398,7 +25398,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25457,7 +25457,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25516,7 +25516,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25575,7 +25575,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25634,7 +25634,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25693,7 +25693,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -25752,7 +25752,7 @@ Ctrl + K"
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id CategoryProductList-colPrice-id"
|
||||
>
|
||||
$5.00 - $10.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -124314,7 +124314,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00 - $49.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124390,7 +124390,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00 - $49.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124466,7 +124466,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00 - $49.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124542,7 +124542,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124618,7 +124618,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124694,7 +124694,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124770,7 +124770,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124846,7 +124846,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124922,7 +124922,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124998,7 +124998,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125074,7 +125074,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125150,7 +125150,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125226,7 +125226,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125302,7 +125302,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125378,7 +125378,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125454,7 +125454,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125530,7 +125530,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125606,7 +125606,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125682,7 +125682,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125758,7 +125758,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -127129,7 +127129,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00 - $49.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127205,7 +127205,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00 - $49.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127281,7 +127281,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127357,7 +127357,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127433,7 +127433,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -127910,7 +127910,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00 - $49.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127986,7 +127986,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128062,7 +128062,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128138,7 +128138,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128214,7 +128214,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128290,7 +128290,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128366,7 +128366,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128442,7 +128442,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128518,7 +128518,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128594,7 +128594,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128670,7 +128670,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128746,7 +128746,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128822,7 +128822,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128898,7 +128898,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128974,7 +128974,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00 - $7.00
|
||||
$3.00 - $8.00
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue