productBySlug #
productBySlug(productSlug: String) PProduct
Example #
query productBySlug($productSlug: String!){
productBySlug(productSlug: $productSlug) {
id
name
slug
description
sku
stock
maxItemPerOrder
price
images
fullImages
isDigitalProduct
views
productUnit
createdAt
updatedAt
category {
id
name
slug
description
image
fullImage
productCount
position
}
attributes {
id
name
values
isRequired
createdAt
updateAt
}
variations {
id
name
price
sku
stock
}
digitalItems {
id
title
description
position
contents {
id
title
contentType
isTrialAllowed
contentText
contentUrl
updatedAt
position
}
}
feedbacks {
rating
comment
createdAt
}
productSpecificDiscount
}
}