Hello guys, my idea is to sell a service as a product, for example the customer sends a file when he places an order, this file will be processed manually by the staff and subsequently to the customer will be sent either a physical product or a digital product.
Implement a custom function over the files (an automation), like for example a checksum control or file extension check, auto resize ecc..
calculation of additional costs based on size or others parameters
is there a way to implement these features in Saleor?
can you kindly link me the suitable documentation to eventually try to develop these functions?
Thanks
We do have basic support for digital products in the API, e.g. you can create a product type with isDigital flag set and later provide digitalContent objects that can hold e.g. files. It's still not supported in the UI yet.
But to sell e.g. a service which doesn't involve downloading any files, you can use products without shipping for that. Again, you need to create a product type and configure it as not requiring any shipping. This can be done in our dashboard:

Products that don't require shipping can be sold without providing shipping method and shipping address.
thanks for the reply, currently there is no way to attach a file during checkout?
e.g

reading the API documentation, it would be nice to be able to pass a customFile object while creating a checkout object
mutation{
checkoutCreate(input:{
lines: {
quantity: 5
variantId: "UHJvZHVjdFZhcmlhbnQ6NQ=="
customFiles: [
{
id: "XXXX"
url: "fileurls"
},
{
id: "XX22"
url: "fileurls2"
}
]
}
email: "[email protected]"
...
.....
@Cerix No, there is no such feature in Saleor now. I can imagine that we could use for that our attributes system - each attribute has an input type and if we had "file input" type, then maybe that would be possible.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
@Cerix No, there is no such feature in Saleor now. I can imagine that we could use for that our attributes system - each attribute has an input type and if we had "file input" type, then maybe that would be possible.