Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
mdagit
@mdagit
is there any support in saleor for multiple stores in a single backend? i'm working on building a system for a nonprofit that has centers in 6 cities, and the product inventory and pricing is different in each, although site design is basically the same. So one approach is a single frontend and single backend (with federation). Another is 6 frontend-backend pairs (completely siloed). Yet another is single frontend install with dynamic switching among 6 different backends.
mdagit
@mdagit
also curious about referral/affiliate tracking -- if someone comes into the site with a particular query string value, that is saved with the order so that the referrer can get acknowledgment
also, some products will require delivery or pickup which has to be scheduled, and we want to send out email reminders. So this is an extension to the order state machine and would require a webhook event. But i'm not seeing any docs or example plugins that would do something like that?
Marcin Gębala
@maarcingebala
@mdagit We don't support multi-store approach yet, BUT that's one of the biggest/most important features we'll be shipping this year! Basically the plan is to provide a way to define different sales channels through the dashboard/API. For each channel, you'll define inventory, pricing, even product descriptions if needed. We're still planning the scope of this feature but it's planned for late Q1 / Q2 this year.
Karol
@karolkielecki

@mdagit Hey! Regarding your question about referral/affiliate tracking - to store additional data in checkout like referral/affiliate IDs you could try to use our Metadata API - e.g. checkoutUpdateMetadata allows you to store arbitrary keys in your checkout. This metadata is later copied to order.

If you would like to have such an extension, we recommend to create a plugin. We don't have that kind of feature. If you have any questions or feedback, feel free to let us know.

Partappanda
@Partappanda
Hi guys I am new to Saleor and was wondering if someone has a ebay/amazon channel integration?
Currently we had a project going in Shopware 6 and just stumbled across this it does seem promising.
Karol
@karolkielecki
@Partappanda Hi there and welcome to Saleor! There is no such integration. However, we're going to work on the multi-channel feature - it's one of our priorities for the next months. We'll keep you and the community updated on the progress. If you have more questions, we'll be happy to answer them.
Karol
@karolkielecki
@/all One of the features we are working on is CSV import/export. What do you think about it? Any feedback is welcome! mirumee/saleor#5174
Pydevo
@bzotec
Hi Karol,
I am still waiting for nginx config for saleor 2.0. Thx in advance
Karol
@karolkielecki
mirumee/saleor-storefront#507 Thanks to Arthur, one of our contributors, we've approved the changes in the repo. But it's only for the storefront.
Fredrick Simi
@fredrickkemosi
I have deployed saleor storefront on heroku but upon deploying the site, the images are not showing on the site. Is there a workaround?
Pydevo
@bzotec
@fredrickkemosi Check saleor docs for using AWS to store your images there.
aliasgartaksali
@aliasgartaksali
When I am running python manage.py migrate, I am getting an excetion stating as: "is_shipping_required" exists on model <class 'saleor.checkout.models.Checkout'> but it's not a field. Can anyone help through it?
aliasgartaksali
@aliasgartaksali
*exception
Karol
@karolkielecki
Hey! Could you please send the screenshot?
resourceldg
@resourceldg
Hi guys! to create sataff user this query is correct?
resourceldg
@resourceldg
solved ! :)
Karol
@karolkielecki
@resourceldg Great! If you need any help, let me know.
aliasgartaksali
@aliasgartaksali
@karolkielecki
Can you please
Provide with your mail id so that I can mail you a screenshot
Karol
@karolkielecki
You can send me here via PM
aliasgartaksali
@aliasgartaksali
@karolkielecki
Jonathan Léon
@Jonathan.Leon_gitlab
Hi @karolkielecki , do you know if saleor has product taxonomies/tags implementation?
Jonathan Léon
@Jonathan.Leon_gitlab
Or can we use attributes as tags? The goal would be to display or filter out items based on tags/attributes
Karol
@karolkielecki
@aliasgartaksali Are you using Saleor 2.9.0 or master branch?
Karol
@karolkielecki
@Jonathan.Leon_gitlab Hi there! If you want to filter the items, you can use and adapt attributes to your needs: dashboard ---> configuration ----> attributes.
image.png
Jonathan Léon
@Jonathan.Leon_gitlab
@karolkielecki Thanks for your answer! This looks great! Can we assign multiple attributes to 1 item?
Karol
@karolkielecki
@Jonathan.Leon_gitlab Yes, you can assign multiple attributes to 1 item.
aliasgartaksali
@aliasgartaksali
@karolkielecki I've cloned the one on github.com/mirumee/saleor
meshek2015
@meshek2015
How can I deploy saleor store front to production? Seems docker is available for backend alone.. can you help here?
Karol
@karolkielecki
@meshek2015 You can deploy storefront on any cloud you want such as heroku, aws, netlify, etc.
Chad Cassady
@beatboxchad
Docker support was just merged into the storefront repository last week. I posted at https://spectrum.chat/saleor/general/saleor-install-with-frontend-and-dashboard~7c2b43e7-cfa3-443c-9797-5e641f0cf833 with modifications to the classic Django repository's Docker Compose files to get the whole suite up and running
(This isn't pertinent to your question about production, necessarily, just a remark about Docker, although Docker Compose can be used to deploy to production depending on your environment)
Chad Cassady
@beatboxchad
adrienshen
@adrienshen

https://www.dropbox.com/s/kegmazybntcdz3p/Screenshot%202020-01-22%2001.32.11.png?dl=0

I put a value for weight, but it still says 'weight' expects a value. This is a brand new Saleor instance on AWS.

meshek2015
@meshek2015
Ok thanks Chad and Karol
Karol
@karolkielecki
@meshek2015 You're welcome. We're here to help :)
@adrienshen Let me take a look
adrienshen
@adrienshen
I'm experience an build error while deploying the dashboard on aws elastic beanstalk
  Step 12/16 : RUN STATIC_URL=${STATIC_URL} API_URI=${API_URI} APP_MOUNT_URI=${APP_MOUNT_URI} npm run build
   ---> Running in f8dee4792ae2

  > saleor-dashboard@2.0.0 build /app
  > webpack -p

  Starting type checking service...
  Using 1 worker with 2048MB memory limit
  ESC[91mKilled
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m ESC[0mESC[91mcodeESC[0mESC[91m ELIFECYCLE
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m ESC[0mESC[91merrnoESC[0mESC[91m 137
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m saleor-dashboard@2.0.0 build: `webpack -p`
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m Exit status 137
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m 
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m Failed at the saleor-dashboard@2.0.0 build script.
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m This is probably not a problem with npm. There is likely additional logging output above.
  ESC[0mESC[91m
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m A complete log of this run can be found in:
  ESC[0mESC[91mnpmESC[0mESC[91m ESC[0mESC[91mERR!ESC[0mESC[91m     /root/.npm/_logs/2020-01-22T11_15_26_755Z-debug.log
  ESC[0mThe command '/bin/sh -c STATIC_URL=${STATIC_URL} API_URI=${API_URI} APP_MOUNT_URI=${APP_MOUNT_URI} npm run build' returned a non-zero code: 137
  Failed to build Docker image aws_beanstalk/staging-app: g
  ESC[0mThe command '/bin/sh -c STATIC_URL=${STATIC_URL} API_URI=${API_URI} APP_MOUNT_URI=${APP_MOUNT_URI} npm run build' returned a non-zero code: 137. Check snapshot logs for details. (Executor::NonZeroExitStatus)


[2020-01-22T11:15:28.365Z] ERROR [3717]  : Command CMD-Startup failed!
[2020-01-22T11:15:28.385Z] INFO  [3717]  : Command processor returning results: 
{"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"(TRUNCATED)...n-zero code: 137\nFailed to build Docker image aws_beanstalk/staging-app: g\n\u001b[0mThe command '/bin/sh -c STATIC_URL=${STATIC_URL} API_URI=${API_URI} APP_MOUNT_URI=${APP_MOUNT_URI} npm run build' returned a non-zero code: 137. Check snapshot logs for details. \nHook /opt/elasticbeanstalk/hooks/appdeploy/pre/03build.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI","returncode":137,"events":[{"msg":"Failed to build Docker image aws_beanstalk/staging-app, retrying...","severity":"WARN","timestamp":1579690880},{"msg":"Failed to build Docker image aws_beanstalk/staging-app: g\n\u001b[0mThe command '/bin/sh -c STATIC_URL=${STATIC_URL} API_URI=${API_URI} APP_MOUNT_URI=${APP_MOUNT_URI} npm run build' returned a non-zero code: 137. Check snapshot logs for details.","severity":"ERROR","timestamp":1579691728}]}],"truncated":"true"}
[2020-01-22T13:56:35.276Z] DEBUG [32620] : Reading config file: /etc/elasticbeanstalk/.aws-eb-stack.properties
[2020-01-22T13:56:35.277Z] DEBUG [32620] : Checking if the command processor should execute...
[2020-01-22T13:56:35.280Z] DEBUG [32620] : Checking whether the command is applicable to instance (i-011820325002009fd)..
[2020-01-22T13:56:35.280Z] INFO  [32620] : Command is applicable to this instance (i-011820325002009fd)..
Perhaps I should try using Nodejs instead of Docker?
adrienshen
@adrienshen
It seems like the new Dashboard is a static application? It can be deployed on S3 bucket?
Karol
@karolkielecki
@adrienshen Saleor Dashboard requires node.js 10.0+ https://github.com/mirumee/saleor-dashboard#prerequisites
Yes, it can be deployed on S3