saleor

Git/Github: Replace a submodule of a forked repository

爷,独闯天下 提交于 2021-02-20 01:58:18
问题 Whant I Want I have an open source parent repository which I want to make a fork to work with it, this repository is composed of 3 submodules and some configuration files. What I want is to replace one of the submodules( saleor-storefront ) with my own implementation(private repository) and I want to be able to update the other submodules and files with the changes made by the upstream repository. Should I just change the path of the module I want to replace from the .gitmodules file or are

Saleor - Trying to modify the dashboard (add 'Job Title' to 'Customer' / 'Account')

北城余情 提交于 2021-01-29 11:10:33
问题 I'm new here :) I'm trying to build an eCommerce site using Saleor as the framework, I'm having trouble understanding the framework with the intention to modify the admin dashboard and database. To start simple and practice, I'm trying to add a 'Job Title' field to customers, and want this to be editable on the dashboard. Currently, I've performed a django migration and the new field is liked up to the database - I modified /saleor/saleor/account/modles.py class User(PermissionsMixin,

Saleor front-end installation

*爱你&永不变心* 提交于 2020-07-22 11:05:33
问题 I am trying to install saleor front-end package from github.The documentation is outdated and i get an error when i try >>>nmp start Error: Environment variable API_URI not set I found this variable in different places but did not know what to change, and where to set it EDIT:Solved.just in case somebody is going through the same problem in webpack>config.base.js process.env.API_URI = 'http://localhost:8000/graphql/' 回答1: On Linux, I fixed this by setting environment variable before running

Saleor Product Bulk upload script

夙愿已清 提交于 2019-12-11 06:26:43
问题 I am new to saleor and is creating a ecommerce platform. I have downloaded saleor and made it up and running. I have 1000+ products to add. To add manually is a big nightmare. Checking if there is any scripts or ways to bulk upload products along with details (like images etc) to the saleor 回答1: Saleor has GraphQL API that can be used for that purpose. Here's brief documentation: https://docs.getsaleor.com/en/latest/architecture/graphql.html Queries you'll be most interested in lives in https