These are chat archives for mirumee/saleor
I'm running on windows 10
I've created to key... but on my command is giving me errors.
SECRET_KEYis missing? Can you tell the steps you made?
cmd? If you are using powershell, try
$env:SECRET_KEY = "mysecret", with the
$; if standard
export SECRET_KEY='what you put'
exportbefore, otherwise it is not an environment variable but a simple variable (meaning Saleor won't have access to it)
get_pricefunction and handle the logic in there
I might have misunderstood something, but there's a model called
ProductAttributeTranslation which would store the translated properties(eg. name) of the
ProductAttribute, isn't that exactly what you're looking for?
We're keeping a ForeignKey relation between ProductAttribute and ProductAttributeTranslation, so one can be accessible from the other. Models displayed on the storefront should have their
ModelTranslation counterparts ready, we've merged it couple of days ago.