These are chat archives for mirumee/saleor

27th
Nov 2018
Ömer Karışman
@okaris
Nov 27 2018 07:05
Hello. Are there any tools or code snippets for migrating products from another ecommerce platform. Or at least a way to just submit products in bulk (1M variations)
Filip Kucharczyk
@Pacu2
Nov 27 2018 08:06
Hi, we have GraphQL API implemented and it can be used for that purpose
Ömer Karışman
@okaris
Nov 27 2018 09:22
Hi @Pacu2 I saw that thank you. I was asking for a code snippet because there are a lot of connections for a product (variations, attributes etc.) I would like to account for everything. And I am kind of new to django and graphql so I wouldn't want to go through a lot of trial and error.
Maybe it is possible to get the mutation from the product page and study that?
Marcin Gębala
@maarcingebala
Nov 27 2018 09:31
I'd recommend going through our product models and understanding how it works, take a look at this section in the docs: http://docs.getsaleor.com/en/latest/architecture/products.html
We don't have tools to perform batch upload of products but we're planning to add something like that in the future. GraphQL might be used for that although it wasn't optimized against uploading 1M products, so I don't know how effective would that be.
Marcin Gębala
@maarcingebala
Nov 27 2018 09:41
Where do you want to import the products from? Is it a existing ecommerce platform, a REST API or a file? We used to write dedicated scripts to perform such operations in Saleor. Django offers quite convenient mechanisms for writing custom shell commands, where you have access to all the models and can easily fetch, process and create new data.
I hope this helps, let me know if you have further questions @okaris :)
Ömer Karışman
@okaris
Nov 27 2018 10:02
Thank you for your detailed answer. I will be migrating from Prestashop but I can modify the inventory data in any otherway. For example if you have a migration tool for Magento or else I can change my struccture to that
Marcin Gębala
@maarcingebala
Nov 27 2018 10:28
Not yet, but we're planning to have migration tools for other platforms, Magento would be one of the first to add. But those are plans for the next year.
Joe Czepil
@ProgrammingJoe_twitter
Nov 27 2018 17:58
Hi, is there a list of examples anywhere where companies took Saleor and extended it for their own purposes?
Daniel Piestrak
@gnihton_gitlab
Nov 27 2018 18:48
@ProgrammingJoe_twitter our hackergroup has been extending Saleor to deploy happily in a Kubernetes cloud and control code from the git / custom changes on a store by store basis.
we found extendign it for our own pourposes was okay on a single store, but if we wanted to push a feature update/rollback to "stores that sell furniture" we needed to formalize those deplpoyment scripts, which Kubernetes does beautifully.
Joe Czepil
@ProgrammingJoe_twitter
Nov 27 2018 18:56
@gnihton_gitlab Aside from deployments, have you made many significant changes to the code? I'm looking at re-writing the look, feel, and some of the functionality of the store and I'm wondering how difficult it will be to merge updates when Saleor releases new versions. I'm also not going to be using many features like Shipping, Discounts, and some of the product features.
I've heard before that Saleor is meant to be used as a whole and it's better to reference the code rather than to pick and choose if you're not going to use the full codebase.
Daniel Piestrak
@gnihton_gitlab
Nov 27 2018 19:14
@ProgrammingJoe_twitter ah, my perspective is we start with base saleor, and on sites 1-3, we add features. on sites 2-5 we disable features, im the cloud guy of our team so to a man with the hammer the whole world is a nail. this is my first time settign deploys with django so im not sure of best practices. Hoping that if we can extend it to be more flexible on a client ot client basis and maintain that we can make meaningful contributions to the core codebase with mirumee team. but we are a few weeks before we're even ready to publish our documentation so im only loosly speculating now, sorry i cant be of more concrete help.
Joe Czepil
@ProgrammingJoe_twitter
Nov 27 2018 19:17
@gnihton_gitlab No worries, it's helpful to know there are other developers working on extending it and it sounds like you are both adding and disabling features within Saleor. Are any other members of your team who are working on the features in this chat?
Daniel Piestrak
@gnihton_gitlab
Nov 27 2018 19:32
@ProgrammingJoe_twitter just me.
Joe Czepil
@ProgrammingJoe_twitter
Nov 27 2018 19:42
Cool, no worries. Thanks for your input :)
jdivins
@jdivins
Nov 27 2018 23:03
We have linked saleor with a Google Cloud Storage, Is there a way to show http://www.exampleshop.com/__sized__/products/p-thumbnail-510x510.png
instead of google cloud storage url ? Thank you