Coder Social home page Coder Social logo

saja's People

Contributors

agalmame avatar oussama4 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

saja's Issues

orders modeling

Order model:

  • fields:

    • created -> date time
    • payment date -> date time
    • status -> character field
    • user -> foreign key
    • shipping_address -> foreign key
  • methods:

    • calculation of total price of order

Order Item model:

  • fields:

    • order -> foreign key
    • product -> foreign key
    • quantity -> integer
  • methods:

    • calculation of total price of item

charter

  • add the logos in /Charte/logos to identify the entities that are responsible for the secure processing of online transactions
  • terms and conditions page

profile info

show a modal containing links uncompleted user profile data

products badges

  • possibility of sticking informative badges(producer flag, best seller, 100% natural...) to particular product at the listing products and product details

project roadmap

  • profile
    • signup
    • login/logout
    • create address
    • change address
    • change personal info
    • email verification
    • password reset
    • rewrite address model
    • social auth
  • home page
  • catalog
    • brand page
    • category page
    • product page
  • orders
  • checkout
  • cart
  • search
  • boring pages (about, contact, )

cart modeling

Method one (manyToMany-relationship) :

 _**cart table:**_
      fields:
          userId -> foreignkey
          productId -> foreignkey
          createdDate -> date
          quantity -> int

Method two (2Tables):

   **_cart table_:**
       fields:
             id -> primarykey 
             userId -> foreignkey
             createdDate -> date 
       methods:
             get_total_price
    **_cart item table:_**
       fields:
             id -> primarykey
             cartId -> foreignkey
             productId -> foreignkey
             quantity -> int
             createdDate -> date
      method:
             get_total_price

orders

  • send invoices through email
  • enhance order management in admin
  • solve bugs + tests

pre deployment checklist

issues that needs to be handled before deployment:

  • too mush database queries
  • catalog pages (brand, category, product) redesign
  • looking up any bugs and fixing them
  • finishing the home page
  • colorful categories because why not

products redesign

design 1:

  • move products from wagtail page model to plain old django model
  • add group/line/range model that represent a group of related products

design 2:

  • leave products as wagtail pages
  • add group/line/range model that represent a group of related products

products attributes stay the same in both designs
products attributes and group/line/range models will be represented as snippets in admin
group/line/range model contains shared fields between products

proposed group/line/range model:

  • title

  • category

  • brand

  • description

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.