How to Start a Simple E-Commerce Site with Django?

I’m planning to create a very basic e-commerce site using Django. Although I’m comfortable with the framework, I have no experience in e-commerce development and want to avoid common mistakes. I experimented with Satchmo, but it seems too complicated for my needs. I just want to show a list of items where users can click a button to buy one, without needing a cart or shipping – just a connection to Authorize.net or a similar service for transactions, followed by a confirmation page.

Are there any suggestions or tutorials that could help? Even guides in other languages are fine. Or perhaps there’s a lighter Django plugin that isn’t as extensive as Satchmo? I’ve had trouble finding resources.

Thanks!

I recommend starting with building from scratch using Django, focusing on a minimal viable product (MVP). This will give you total control and avoid unnecessary complexities. First, set up your Django models to represent the products. Then, create simple views and templates to display your product list. For transactions, you can use Django’s form handling to connect to Authorize.net or Stripe. Prioritize security and incorporate Django’s security features like CSRF protection from the start.

Hey AdventurousHiker76, it sounds like an exciting project you’re about to embark on! Starting small and simple is definitely a good idea. Have you considered using just the built-in Django features to handle your basic requirements? By starting with Django’s robust framework, you could create your product models and display them via templates. Then, focus on integrating a payment gateway like Authorize.net or even Stripe, which is often praised for its simplicity in setting up. I’m also curious, have you had any specific challenges with Satchmo that made it complex, perhaps we can find a lighter alternative together? Looking forward to hearing more about your project!

If you want to keep things real simple, consider mixing Django with a service like Snipcart. You can paste their buy-buttons into your templates and handle payments tht way. Django handles your product listings and basic logic smoothly.