Update product list tests
This commit is contained in:
parent
b001c74af2
commit
1e93827deb
3 changed files with 583 additions and 163 deletions
|
@ -34,7 +34,7 @@ const ProductVariantPrice: React.FC<ProductVariantPriceProps> = props => {
|
|||
const classes = useStyles(props);
|
||||
const intl = useIntl();
|
||||
|
||||
const formErrors = getFormErrors(["price_override", "cost_price"], errors);
|
||||
const formErrors = getFormErrors(["price", "cost_price"], errors);
|
||||
|
||||
return (
|
||||
<Card>
|
||||
|
@ -48,13 +48,13 @@ const ProductVariantPrice: React.FC<ProductVariantPriceProps> = props => {
|
|||
<div className={classes.grid}>
|
||||
<div>
|
||||
<PriceField
|
||||
error={!!formErrors.price_override}
|
||||
error={!!formErrors.price}
|
||||
name="price"
|
||||
label={intl.formatMessage({
|
||||
defaultMessage: "Selling price override"
|
||||
})}
|
||||
hint={
|
||||
getProductErrorMessage(formErrors.price_override, intl) ||
|
||||
getProductErrorMessage(formErrors.price, intl) ||
|
||||
intl.formatMessage({
|
||||
defaultMessage: "Optional",
|
||||
description: "optional field",
|
||||
|
|
|
@ -318,11 +318,6 @@ export const products = (
|
|||
{
|
||||
__typename: "Product",
|
||||
attributes: [],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 15,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo2MQ==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -335,16 +330,37 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 15,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 35,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 49,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
attributes: [],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 15,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo2NA==",
|
||||
isAvailable: true,
|
||||
isPublished: false,
|
||||
|
@ -357,16 +373,37 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 15,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 49,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
attributes: [],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 15,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo2NQ==",
|
||||
isAvailable: true,
|
||||
isPublished: false,
|
||||
|
@ -379,7 +416,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 15,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 49,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -399,11 +462,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3NQ==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -416,7 +474,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -436,11 +520,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3Ng==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -453,7 +532,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -473,11 +578,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3Mg==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -490,7 +590,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -510,11 +636,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3MQ==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -527,7 +648,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -547,11 +694,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3NA==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -564,7 +706,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -584,11 +752,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3OQ==",
|
||||
isAvailable: true,
|
||||
isPublished: false,
|
||||
|
@ -601,7 +764,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -621,11 +810,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3Mw==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -638,7 +822,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -658,11 +868,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo3OA==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -675,7 +880,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -695,11 +926,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo4OQ==",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -712,7 +938,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -732,11 +984,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDoxMDc=",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -749,7 +996,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -769,11 +1042,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDoxMDg=",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -786,7 +1054,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -806,11 +1100,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDoxMDk=",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -823,7 +1112,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -843,11 +1158,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDoxMTA=",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -860,7 +1170,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -880,11 +1216,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDoxMTU=",
|
||||
isAvailable: true,
|
||||
isPublished: false,
|
||||
|
@ -897,7 +1228,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -917,11 +1274,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDoxMTY=",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -934,7 +1286,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -954,11 +1332,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 30,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDoxMTc=",
|
||||
isAvailable: true,
|
||||
isPublished: true,
|
||||
|
@ -971,7 +1344,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
__typename: "Product",
|
||||
|
@ -991,11 +1390,6 @@ export const products = (
|
|||
]
|
||||
}
|
||||
],
|
||||
basePrice: {
|
||||
__typename: "Money",
|
||||
amount: 20,
|
||||
currency: "USD"
|
||||
},
|
||||
id: "UHJvZHVjdDo4NQ==",
|
||||
isAvailable: true,
|
||||
isPublished: false,
|
||||
|
@ -1008,7 +1402,33 @@ export const products = (
|
|||
thumbnail: {
|
||||
__typename: "Image",
|
||||
url: placeholderImage
|
||||
}
|
||||
},
|
||||
variants: [
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 5,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 7,
|
||||
currency: "USD"
|
||||
}
|
||||
},
|
||||
{
|
||||
__typename: "ProductVariant",
|
||||
price: {
|
||||
__typename: "Money",
|
||||
amount: 3,
|
||||
currency: "USD"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -124803,7 +124803,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00
|
||||
From $15.00 to $49.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124868,7 +124868,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00
|
||||
From $15.00 to $49.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -124933,7 +124933,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00
|
||||
From $15.00 to $49.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
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125063,7 +125063,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125128,7 +125128,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125193,7 +125193,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125258,7 +125258,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125323,7 +125323,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125388,7 +125388,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125453,7 +125453,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125518,7 +125518,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125583,7 +125583,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125648,7 +125648,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125713,7 +125713,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125778,7 +125778,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125843,7 +125843,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125908,7 +125908,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -125973,7 +125973,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -126038,7 +126038,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$20.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -127398,7 +127398,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00
|
||||
From $15.00 to $49.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127463,7 +127463,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00
|
||||
From $15.00 to $49.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127528,7 +127528,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127593,7 +127593,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -127658,7 +127658,7 @@ exports[`Storyshots Views / Products / Product list not published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$20.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -128124,7 +128124,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$15.00
|
||||
From $15.00 to $49.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128189,7 +128189,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128254,7 +128254,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128319,7 +128319,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128384,7 +128384,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128449,7 +128449,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128514,7 +128514,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128579,7 +128579,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$3.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128644,7 +128644,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128709,7 +128709,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128774,7 +128774,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128839,7 +128839,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128904,7 +128904,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -128969,7 +128969,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
<tr
|
||||
|
@ -129034,7 +129034,7 @@ exports[`Storyshots Views / Products / Product list published 1`] = `
|
|||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id ProductList-colPrice-id"
|
||||
>
|
||||
$30.00
|
||||
From $3.00 to $7.00
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue