menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Saleor Commerce

The world’s fastest growing open-source e-commerce platform with billions of dollars transacted. Powered by Python, GraphQL, ReactJS and PWA.

Channels
Team

Can not save descriptions from products, categories and website content 3.0

July 12, 2021 at 6:26pm

Can not save descriptions from products, categories and website content 3.0

July 12, 2021 at 6:26pm
Hi I setup Saleor on a public instance (dashboard and storefront have different urls) and somehow can not save descriptions. I set USE_JSON=True but it still does not work. Everything else works e.g. setting a title for a product or creating a shipment method. Did somebody have the same problem? Thanks for any help (GraphQL and Storefront do not log any problem). Best regards Reto

July 13, 2021 at 12:02pm
(sinns) Hey! It was a bug. Are you using the newest beta version? It's been fixed--you can save descriptions in products, etc. Please try the newest beta version, and let me know if it works ok.
like-fill
1

July 14, 2021 at 10:28am
(karolkielecki) Thanks a lot for your input and your work with Saleor. It is working fine now!
Since you seem pretty competent about Saleor, may I ask you another question?
When I try to create a new product via Playground, how can I get the correct permissions to do so? Via wiki I found the following Authorization method but it does not seem to work with Saleor 3.0.
{
"Authorization": "JWT your-token"
}
mutation{
productCreate(input:{category: "Q2F0ZWdvcnk6Mg==", chargeTaxes:true, name: "A13", productType:"UHJvZHVjdFR5cGU6MQ=="}){
errors{
field
message
}
product{
id
name
}
}
}
like-fill
1

July 15, 2021 at 8:44am
(sinns) You can find more info regarding permissions and group permissions here: https://docs.saleor.io/docs/3.0/developer/permissions