Online flower shop sales system (with source code + courseware + explanation + information + database)

    1. background

The flower sales industry was originally a physical sales of individual flower sellers, and later developed into a form where flowers entered the wholesale market and then distributed. The traditional flower sales model is based on physical flower shops. Until later, due to the rapid development of the Internet and the intervention of e-commerce, great changes have taken place in flower sales. With the improvement of people's living standards and the requirements for the quality of life, the prospects for the development of the flower sales industry are getting better and better. At present, many large flower sales brands have started online sales of flowers, which facilitates consumers to buy flowers and saves a lot of time. However, the flower sales of many individual flower sellers are still not booming, and they are still in the state of traditional flower shops. In this way, not only consumers have to go into the flower shop to purchase in person, but also a series of processes such as flower packaging waste a lot of time, and flower sellers will also reduce sales due to defects in physical sales. In addition, the traditional flower shop's customers are limited due to regional constraints and the division of customer range. Therefore, the development of online flower shop sales system is more important and more promising. This can expand the flower consumption market and realize profit growth. The realization of the online flower shop sales system not only shortens the time to market flowers, saves costs, facilitates consumers to purchase, facilitates administrator management, saves a lot of time and a lot of manpower and material resources, but also enhances the emotional communication between people.

1.2 Design and implementation of the system homepage

The homepage of the system has a simple and clear style. On the top bar, you can choose to register and log in. On the left side, there are flower search, flower classification, sales rankings and flower shop announcements. Users can browse related content according to their needs. The right side of the page is a list of flowers, and users can click the corresponding link to view details or add to the shopping cart. The design of the home page is shown in Figure 1.

The specific implementation process is: the index.jsp file mainly includes the flower list part, and the head.jsp with yellow horizontal bars and the left.jsp on the left are introduced into the index.jsp page.

2.1 The design and realization of the front desk function of the system

2.1.1 Design and implementation of user registration module

User registration needs to fill in the corresponding information, mainly including user name, password, confirmation password, name, delivery address and mobile phone number. The design of the user registration page is shown in Figure 2.

This page corresponds to register.jsp in the code. This page has format requirements for each input data. The user name cannot be empty and must be numbers, letters or underscores. The password cannot be empty and must be at least 6 characters. Confirm the password To be consistent with the password, the name, delivery address and mobile phone number cannot be empty, and the mobile phone number must conform to the correct format. When the user registers, the page will first check the input data format, and if the input is wrong, there will be a corresponding prompt. In addition, when the user enters the data in the correct format and clicks the registration button, the system will compare it with the database. If the user name has been registered, the system will also pop up a corresponding prompt. Insert the data into the database, prompt that the registration is successful and jump to the home page. The specific implementation process is to logically process the registration in IndexServlet.java, and operate the database in UserDao.java.

When the user registers, firstly, there should be no null value, secondly, the input of the two passwords must be consistent, and thirdly, the format of each item of data must be correct. In addition, the username cannot be already registered. The flow chart of the user registration program is shown in Figure 3. 

 2.1.2 Design and implementation of user login module

The user needs to fill in the user name and password to log in. The design of the login page is shown in Figure 4:

When the user logs in, the user name and password must be consistent. If they are correct, the login can be successful. Otherwise, the login fails and the login information needs to be re-entered. The flow chart of the user login program is shown in Figure 5. 

2.1.3 Design and implementation of bulletin browsing module 

Users can browse flower shop announcements on the homepage, and view detailed information of flower shop announcements by clicking on the title of flower shop announcements. Figure 6 and Figure 7 show the design of the flower shop announcement page and the announcement details page.

 

2.1.4 Design and implementation of flower list module 

Users can browse flowers in the flower list on the home page of the system. The flower list includes flower names, pictures, category names, flower prices, and two operations of viewing details and adding to the shopping cart. After clicking View Details, the page will jump to the flower information details page. The flower list page and the flower information detail page are shown in Figures 8 and 9.

 

 2.1.5 Design and implementation of user shopping cart module

My shopping cart page, including flower name, unit price, purchase time, subtotal. Users can modify the purchase quantity or delete items in the shopping cart, and can also click on the link to jump to the order page. My shopping cart page design is shown in Figure 10.

2.1.6 Design and implementation of user order module

My order page, including order number, consignee name, order status, production time, total price, and the operation to view order details. Users can also view and search their own orders. My order page is shown in Figure 11.

2.1.7 Design and implementation of user information management module 

Users can manage their own information on the personal information page, mainly to change the name, mobile phone number and delivery address, and can modify the password on the password modification page. Design of user information page and modification of password

The design is shown in Figures 12 and 13.

 

2.2.1 Design and implementation of the background page of the system 

After successful login, the administrator will enter the system background page, mainly including the main menu on the left and the welcome page in the middle. The main menu includes category management, flower management, announcement management, order management, and user management. The system background page is shown in Figure 14.

2.2.2 Design and implementation of classification management function 

Through this function, administrators can view, modify, and delete existing categories, as well as add new categories. The classification management page of the system is shown in Figure 15.

2.2.3 Design and implementation of flower management function

Through this function, administrators can view, modify, delete existing flowers, and also add new flowers. The flower management page of the system is shown in Figure 16.

 2.2.4 Design and implementation of announcement management system

Through this function, administrators can view, modify, and delete existing announcements, and can also add new announcements. The announcement management page of the system is shown in Figure 17.

 

2.2.5 Design and implementation of order management function

Administrators can view and process orders through this function. The system order management page is shown in Figure 18.

2.2.6 Design and implementation of user management function 

Administrators can view and delete users through this function. The system user management page is shown in Figure 19.

Share and encourage each other~~~

If you have any resources, you can share with each other, and if you have any questions, you can also discuss with each other~~~

Tsk~~~ You and me alone, then we can't learn from each other~~~ (dog head)

Open source projects and data sharing: free access to source code courseware and other materials supporting the system. Free prostitution method: like + follow + private message me~ (Qiuqiu give a like and follow to support)

If there is a novice who wants to get started with Java and Python, but he doesn't know what to learn and how to learn? You can private message me and share the webpan information of Java and Python selflessly~~~
 

Shangxuetang brings a brand-new Java 300 set course to students! A must-have high-quality tutorial for self-study Java for zero-basic beginners in java_Hand-in-hand diagrams to learn Java, making learning a kind of enjoyment_哔哩哔哩_bilibili

 

Guess you like

Origin blog.csdn.net/hutubiancheng/article/details/126469747