Giter Club home page Giter Club logo

bitcart-store's Introduction

Bitcart

Github All Contributors CircleCI Codecov Python versions

Bitcart is a platform for merchants, users and developers which offers easy setup and use.

Linked repositories

Our ecosystem consists of a few packages, this is our central repository.

It is recommended to propose feature requests to Bitcart ecosystem as a whole on that repository.

Full list of our repositories:

https://github.com/bitcart/bitcart - Bitcart Core Daemons and Merchants API

https://github.com/bitcart/bitcart-admin - The admin panel of Bitcart

https://github.com/bitcart/bitcart-store - Bitcart ready store

https://github.com/bitcart/bitcart-docker - Docker packaging, base for all deployment methods

https://github.com/bitcart/bitcart-sdk - Python library for coins connection

https://github.com/bitcart/bitccl - The BitCCL scripting language for checkout flow automation

https://github.com/bitcart/bitcart-docs - Bitcart documentation

https://github.com/bitcart/bitcart-site - Bitcart official site

Docs

Docs are available at https://docs.bitcart.ai or in our docs repository

Contributing

See our contributing guidelines for details.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

MrNaif2018
MrNaif2018

🚧 💻 📖 🎨
tomasmor42
tomasmor42

💻
Yağız Değirmenci
Yağız Değirmenci

💻
Weidong Sun
Weidong Sun

💻
kartecianos
kartecianos

💻
CYBORG
CYBORG

🎨
Saksham Singh
Saksham Singh

🎨
Orestis Charalampakos
Orestis Charalampakos

🎨 💻
TobyAsE
TobyAsE

💻 🎨
Shadman Ahmed
Shadman Ahmed

🎨
Karol Trzeszczkowski
Karol Trzeszczkowski

💻
Maxime Koitsalu
Maxime Koitsalu

💻 🎨
Shubham-Singh-Rajput
Shubham-Singh-Rajput

🌍
Nicolás Giacconi
Nicolás Giacconi

💻 🎨
leovoon
leovoon

💻 🎨 ️️️️♿️
Mustapha Nezzari
Mustapha Nezzari

🌍
surfer190
surfer190

📖
restyler
restyler

📖
gruve-p
gruve-p

💻
g00g1
g00g1

💻
RAVAAN
RAVAAN

🛡️

This project follows the all-contributors specification. Contributions of any kind welcome!

Copyright and License

Copyright (C) 2019 MrNaif2018

Licensed under the MIT license

bitcart-store's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar leovoon avatar maximekoitsalu avatar mrnaif2018 avatar renovate[bot] avatar sakshamsingh01 avatar xaconi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bitcart-store's Issues

Fix checkout design

изображение
Currently, checkout design is not mobile friendly and not very functional.
The actual checkout should display coin selection, description of the product, title of the product, amount in USD and converted to selected currency, and maybe some more details.
Help is welcome.
Also, more features might be needed to add to this store template.

Show cart panel on the right

Currently to visit the cart, user has to press cart button. It is suboptimal
If cart is not empty, on the right side of the screen cart panel should be displayed, showing selected products, allowing to edit quantity and with link to go to checkout. Existing components for cart may be re-used (maybe with slight modifications)

Visiting product page directly results in server error

https://store.bitcartcc.com/products/donate-1
изображение
Logs:

ERROR  render function or template not defined in component: anonymous

  at Qi (node_modules/vue-server-renderer/build.prod.js:1:66749)
  at io (node_modules/vue-server-renderer/build.prod.js:1:70622)
  at ro (node_modules/vue-server-renderer/build.prod.js:1:70272)
  at eo (node_modules/vue-server-renderer/build.prod.js:1:67519)
  at node_modules/vue-server-renderer/build.prod.js:1:70739
  at Yi (node_modules/vue-server-renderer/build.prod.js:1:67229)
  at io (node_modules/vue-server-renderer/build.prod.js:1:70641)
  at ro (node_modules/vue-server-renderer/build.prod.js:1:70272)
  at eo (node_modules/vue-server-renderer/build.prod.js:1:67519)
  at node_modules/vue-server-renderer/build.prod.js:1:70739

Seems like a regression in some of the recently upgraded dependencies

Edit: possible related log:

ERROR  Cannot find module 'is-https' from '/src'

  at Function.resolveSync [as sync] (node_modules/resolve/lib/sync.js:89:15)
  at node_modules/vue-server-renderer/build.prod.js:1:77713
  at Object.<anonymous> (webpack:/external "is-https":1:0)
  at __webpack_require__ (webpack/bootstrap:25:0)
  at Module.98 (pages/products/_slug.js:33:26)
  at __webpack_require__ (webpack/bootstrap:25:0)
  at async server.js:2110:19
  at async Promise.all (index 0)
  at async getRouteData (.nuxt/utils.js:131:0)
  at async Promise.all (index 0)

Add ability to customize store UI (theming support)

Also tracked in bitcart/bitcart#166

We need to add ability to customize theme colors of the store (for custom brands). Probably the best solution is to use css variables.

I have implemented basic theming support in 3730413 and 1d02318

There are few things left to make it fully customizeable:

:root {
  --brand-color: #162d50;
  --primary: var(--brand-color) !important;
  --success: var(--brand-color) !important;
  --link: var(--brand-color) !important;
}

The css should be loaded dynamically via head function inside default layout.
Css file url itself is a variable got from store object.
Merchants API needs to be customized to add new store theming settings, see bitcart/bitcart#244

  • And if all of the above is implemented, we could try to allow using bulmaswatch for easily selecting themes. This means that some existing styles might need to be customized to allow this

Note that all themes being applied should happen at the runtime, so at sass compilation step we should provide all needed css variables for modification later

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm vuex-persistedstate Unavailable

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • Update dependency bulma to v1
  • Update dependency eslint to v9
  • Update dependency sass-loader to v16
  • Update nuxt packages (major) (@nuxtjs/eslint-config, @nuxtjs/eslint-module)
  • 🔐 Create all pending approval PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

circleci
.circleci/config.yml
  • bitcart 2
dockerfile
Dockerfile
  • node 20-alpine
npm
modules/@bitcart/core/package.json
package.json
  • @chenfengyuan/vue-qrcode ^1.0.1
  • @ergonode/vuems ^1.1.0
  • @nuxtjs/axios ^5.12.5
  • @nuxtjs/router ^1.7.0
  • buefy ^0.9.0
  • is-https ^4.0.0
  • lazysizes ^5.3.2
  • nuxt-start ^2.15.1
  • slugify ^1.4.6
  • socks-proxy-agent ^8.0.0
  • vee-validate ^2.2.15
  • vuex-persistedstate ^4.0.0
  • @babel/eslint-parser ^7.16.5
  • @fortawesome/fontawesome-free ^6.0.0
  • @nuxtjs/eslint-config ^10.0.0
  • @nuxtjs/eslint-module ^3.0.0
  • @nuxtjs/pwa ^3.3.4
  • bulma 0.9.4
  • bulma-css-vars ^0.8.0
  • bulma-steps ^2.2.1
  • bulma-switch ^2.0.0
  • eslint ^8.0.0
  • eslint-config-prettier ^9.0.0
  • eslint-plugin-nuxt >=2.0.0
  • eslint-plugin-prettier ^4.0.0
  • lodash.debounce ^4.0.8
  • lodash.mergewith ^4.6.2
  • nuxt ^2.15.1
  • prettier ^2.2.1
  • pug ^3.0.1
  • pug-plain-loader ^1.1.0
  • sass <1.77.7
  • sass-loader ^10.1.1
  • sass <1.77.7

  • Check this box to trigger a request for Renovate to run again on this repository

Add linter prettier to the project

Add the prettier linter to the project following this manual.
Make sure prettier also works for the hot-reloading and as a pre-commit hook.

Migrate all stylus styles to sass

We currently have at least 2 style engines utilized: sass and stylus. There is no need in stylus as we have sass already. We need to migrate all styles to sass to be able to customize theme colors in the future
Some examples:
https://github.com/bitcartcc/bitcart-store/blob/ca1ba4e8d782999c9c02e46fbddf9ec806dd6bfb/components/Switch.vue#L24-L26
https://github.com/bitcartcc/bitcart-store/blob/8909d56c7c2cf431ae93e8b97958a418cd3aa366/pages/index.vue#L53-L68
https://github.com/bitcartcc/bitcart-store/blob/8909d56c7c2cf431ae93e8b97958a418cd3aa366/components/Sidebar.vue#L64-L101

Also any improvements to the existing files are welcome!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.