RexSoft · Articles · Case Studies

Article

Online store with shopping cart, Paypal payment processing and coupon discounts integration

Tools: Python / Flask / Flask-login / Bootstrap / PayPal API / Google Cloud App Engine & Storage

Customized Vintage Watch Online Shop

This online store offers a curated collection of customized vintage watches and watch parts, featuring a shopping cart with coupon discount functionality, PayPal payment processing, and tools for sellers to manage the store efficiently.


This is an old version of the website, which is located in archive by address https://newoldwatches.lm.r.appspot.com.To visit new version follow the link https://newoldwatches.com.


The platform is built on Google Cloud App Engine, using Python Flask for the back end, Bootstrap for a responsive front end, and the PayPal REST API for seamless payment processing.

Features

Public Pages and Showcases

Beyond the shopping cart, the website offers online showcases that allow visitors to browse examples of vintage watches.

Shopping Cart and Discounts

The shopping cart is designed with a focus on user convenience and functionality:

1.    Session-Based Cart:

• The shopping cart data is stored in browser cookies, eliminating the need to save every visitor’s cart on the server.

2.    Coupon Discounts:

o   Visitors can apply coupon codes at checkout. The system recalculates the total amount automatically when a valid code is entered.

Seamless PayPal Integration

The site integrates PayPal for secure and user-friendly payment processing:


Admin and Management Tools

The site includes robust management functionality for authorized sellers:

1.    Authentication:

Seller access is managed using Flask-Login for authentication and Werkzeug-Security for password encryption.

• A login button, discreetly placed in the footer, directs authorized users to the admin panel.

2.    Inventory Management:

Admins can:

View and organize items across various categories (e.g., Shop, Showcases, Collections, Archives).

Move items between categories (e.g., from Shop to Archive or vice versa).

Create, edit, or delete items, including updating SKUs, titles, prices, descriptions, and images.

3.    Coupon Management:

Admins can generate and manage discount coupons, specifying the discount price for each coupon.

• A full list of coupons is available, with options to enable or disable each code.

Customers can use these codes at checkout to receive discounts.


Technology Stack


This customized vintage watch store combines functionality and elegance, offering a smooth shopping experience for customers and powerful management tools for sellers. With its robust architecture and seamless integration of payment and discount features, the platform ensures efficiency, scalability, and a user-friendly experience. The system’s flexibility makes it an excellent foundation for future enhancements, such as expanding showcases or introducing new payment methods.


Link to app : https://newoldwatches.lm.r.appspot.com

Link to source code : https://github.com/SergeRex/FlaskOnlineShop