evershopcommerce / evershop Goto Github PK
View Code? Open in Web Editor NEW🛍️ NodeJS E-commerce Platform
Home Page: https://evershop.io/
License: GNU General Public License v3.0
🛍️ NodeJS E-commerce Platform
Home Page: https://evershop.io/
License: GNU General Public License v3.0
The variant management is available. But need to be refactored.
Describe the bug
In order to avoid errors like Invalid prop children of type array supplied to Component, expected a single ReactElement
we should replace PropTypes.element
where is used with PropTypes.node
. According to the documentation Element
is a subtype of node
which includes numbers, strings, elements or an array (or fragment) containing these types.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No errors observed in console.
Background (please complete the following information):
N/A
Additional context
N/A
Develop a module for tax management
Error: Body must be a string. Received: undefined.
Describe the bug
Warning: Failed prop type: Invalid prop featuredProducts[0].productId
of type string
supplied to FeaturedProducts
, expected number
.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The warning message should be gone
Error: Invalid command
at Object. (/home/ituge/codebase/gitlab/sisla_electricals/frontend/node_modules/@evershop/core/bin/evershop:31:11)
at Module._compile (node:internal/modules/cjs/loader:1149:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1203:10)
at Module.load (node:internal/modules/cjs/loader:1027:32)
at Module._load (node:internal/modules/cjs/loader:868:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Describe the bug
Layered navigation does not show selected options correctly
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All selected options must be marked as selected
Actual results
Only one option was marked as selected
Running npm run build fails with following stack trace :
ERROR in ./node_modules/@evershop/evershop/src/lib/components/react/server/render.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/core'
Require stack:
Server (webpack 5.75.0) compiled with 40 errors in 636 ms
Unhandled Rejection at: Promise Promise { null } reason: null
Implement a module for COD(Cash on delivery) payment
Describe the bug
When click the browser back button, the mini cart icon does not show the up-to-date cart information
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Mini cart icon should show the new cart information
Actual result
The mini cart shows outdated information
Hello,
I have seen your project and your project is currently missing the Code of Conduct. If you want to add one, then I can submit a PR including that. In that case, I would need your contact address (email address) so that I can add it to the Code of Conduct as well. Please let me know what do you think about this.
As you may know, EverShop is using GraphQL for data loading/fetching. It works just fine.
But during the implementation, I have a question to raise: Should we separate GraphQL schema for backend and frontend?
Because sometime, we have some field that only available for the admin user.
For example, The order list type should only be available for admin user to query.
To do that, I see 2 options:
What is the better option to you?
Thanks
Describe the bug
Warning: Failed prop type: Invalid prop products[0].productId
of type string
supplied to ProductList
, expected number
.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The warning message should be gone
Describe the bug
The fast refresh feature is now available.
It works, but
On the first time visiting a page, Webpack build will be executed to generate a bundle. This process take so long.
Even though this only happen in development mode, but we need to improve to provide better development experience and performance
To Reproduce
Steps to reproduce the behavior:
When customer add a product with variant to cart, selected variant property should be displayed (color, size)
Supporting nested category (parent, child)
For now, we do not support creating customer account from admin panel. Let's remove this button and route
Is your feature request related to a problem? Please describe.
The eslint config has not been followed
Describe the solution you'd like
npx eslint packages/evershop/src --fix
to fix the minor errorsDescribe alternatives you've considered
Additional context
None
To Reproduce
Steps to reproduce the behavior:
Actual behavior
Nothing happen, the item still in the cart
Expected behavior
The item should be remove, cart page should be updated with new item list
This module takes care of email transaction
Consider using SendGrid for email service
For now. EverShop support English out of the box.
We need to implement a solution for developer to provide their own translation and support other languages
Describe the bug
In Area component
A Warning message: Each child in a list should have a unique "key" prop.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The warning message should be gone
Describe the bug
In Area component
A Warning message: Failed prop type: Invalid prop coreComponents[0].component.default supplied to Area, expected a ReactNode
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The warning message should be gone
When i try run npm run build
, I got the error:
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Error: ENOENT: no such file or directory, mkdir 'D:\wordpress\evershop-main\.evershop\build'
at mkdirSync (node:fs:1349:3)
at Object.<anonymous> (D:\wordpress\evershop-main\packages\core\bin\build\index.js:43:3)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (D:\wordpress\evershop-main\packages\core\bin\evershop:21:5)
at Module._compile (node:internal/modules/cjs/loader:1105:14) {
errno: -4058,
syscall: 'mkdir',
code: 'ENOENT',
path: 'D:\\wordpress\\evershop-main\\.evershop\\build'
}
Describe the bug
Go to attribute grid and try to update a group name. The page refresh without any change, group name stays the same
I am working Evershop
I go to admin to create a new product -> I upload a picture and save.
I lost my image when creating a product.
Please help
Describe the bug
Warning: Failed prop type: The prop homeUrl
is marked as required in Logo
, but its value is undefined
.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The warning message should be gone
On product single page, when customer select for variant, we are reloading the page.
This should be avoided. Use API to update the product information instead of reloading the page
i am installing evershop and facing this error
❌ Error: Configuration property "system.database.host" is not defined
please hepl
Hi everyone,
As you may know, EverShop implements HMR feature. When a component is changed, the page will be updated automatically (without loosing the current state).
However, since we implement GraphQL feature, a GraphQL query can be defined directly in the component file
You can check our document for more information
https://evershop.io/docs/development/knowledge-base/data-fetching
The thing is, when a component is changed, we need to detect if the query is changed or not. If the query is changed, we need to reload the entire page. If the query is not changed, we can just let Webpack perform the HRM.
I tried some solution with no luck. Please share if you have any idea to solve this problem
Thank you
Implement GA for EverShop
Describe the bug
A warning message when visiting the order listing page from admin panel
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The error message should disappear
Describe the bug
A warning message when uploading more than 1 image when editing a product
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The warning message should disappear
Describe the bug
When editing a product with multiple image, Click a trash icon to remove 1 image. All image got removed
Expected behavior
Only corresponding image should be removed. The rest should stay
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The discount line should show the correct discount amount
For performance purpose, we need to find a solution to group the Graphql queries.
Same query should be grouped and executed 1 time only
When an Item has an error. For example "Not enough stock". This error should be display in red on shopping cart.
Actual result: The error is not seen
i am installing evershop, i am getting error when "npm build": Module parse failed: Unexpected token
error.txt
On category page, when customer filter for options, we are reloading the page.
This is not good for user experience.
When an option is selected, call API to update the product list and stop reloading
On the product list, the product thumbnails are not clickable now.
Expectation: They should be clickable and go to product detail page
I am facing an error when runing the build command
✖ Error: ENOENT: no such file or directory, stat '\evershop\.evershop\build\admin\attributeEdit'
Please help. Thanks!
Implement Paypal standard payment method
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.