R
R
Rustem Vorozheikin2015-07-17 14:24:28
Django
Rustem Vorozheikin, 2015-07-17 14:24:28

How to create an online store in django?

Good afternoon.
I still can’t understand the principle of creating an online store on Django.
Let's say I created an application that displays a list of products (name, price, description) on the main page of the site. Each item has an add to cart button. Here's what should happen after I clicked on the "add to cart" button?
I would be very grateful for a link to articles / tutorials / documentation or just a description of the procedure / basic steps for creating an online store on Django.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
I
Igor Lyutoev, 2015-07-17
@loader777

Also asked this question recently, chose django-osacr ( https://github.com/django-oscar/django-oscar ).
Pros:
- own admin panel (pleasant)
- normal documentation
- a lot of ready-made things (catalog, basket, discounts, promotions, etc.)
- there are additional batteries with various payment methods

V
Valentine, 2015-07-17
@vvpoloskin

Won , take any and pick.

I
IvanOne, 2015-07-17
@IvanOne

Hello, I want to advise you right away https://github.com/divio/django-shop , if you really want to write everything yourself, then look at the sources that are in this application, but if specifically about your question, then you need to create basket, and put in it the product id and quantity. The basket is usually stored either in the session or in the database.

A
asd111, 2015-07-17
@asd111

Slides
www.slideshare.net/kranonit/kranonits20

A
Ali Aliyev, 2015-07-17
@ali_aliev

The principle of creating an online store in Django is the same as in any other framework. It all depends on the specification. Taking a ready-made solution is not an option, otherwise Django is not needed. The main components are 1) a shopping cart 2) products and categories 3) a payment system (here you can take a suitable package, for example dj-stripe). By all means, read the book. www.apress.com/9781430225355

E
Emerya, 2016-12-11
@Emerya

The principle of creating an online store in Django is the same as in any other framework. It all depends on the specification. Taking a ready-made solution is not an option, otherwise Django is not needed. The main components are 1) a shopping cart 2) products and categories 3) a payment system (here you can take a suitable package, for example dj-stripe). In general, read the book www.apress.com/9781430225355

Ali Aliyev The link is broken. I would like to read. Thank you!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question