scenario
Product design often involves pages that are accessible conditionally, and entering them directly is an error or business exception. In this article, I’ll take a look at how some of the most common pages or scenes deal with these details,
Case 1: Order Payment Page (Order Payment)
After we select the order, we will make payment on the order confirmation page, and then enter the payment result page, which may be successful or failed. What if I go directly to the order confirmation page via the link? What could be possible? First of all, we analyze the order data, which includes basic commodity information, order information and user information. The order information generally exposes an order ID, which generally includes commodity information, user information and the order information. When we visit directly, the first step must be to get the user information, because without the user information as the authentication, our order information is not safe to be exposed to other users. This step in wechat will be a Web 2.0 page authentication and redirection; In the app it intercepts to the login page and then redirect to the intercepting page; The second step is to make an information match for the user and the order number. If it is correct, the corresponding processing will be done. If the payment has not been made, there can be two kinds of payment, one of which stays on the page for payment, or you can open a new page for payment. If the payment has already been made, a page redirection to the payment success page is performed.
Case 2: Single order only (paid course)
For example, a product with special attributes is not allowed to be purchased repeatedly. For example, a user is allowed to purchase a certain educational course only once in theory. Then, when the user enters the course page through other channels. User authentication: If you are not a user of our product, you can ignore the following logics. If you are already a user of our product, you can have two design logics. 1. In the position of the purchase button, it indicates that the purchase has been made, and then provides the entrance to view the order. This kind of relatively common 2. 2. When it is found that the user has purchased, the user can be redirected to the purchase success page or order list page, where the user can view the course content again through the thumbnail or link of the course.
Case 3: Scenarios with valid opportunities deducted (raffle, knowledge contest)
In some operational activities, we often have similar products of lottery or knowledge contest, and then deduct an opportunity for each participant. However, if the design of the page is not reasonable, and every time you enter the page is deducted opportunity, then users using the system or gestures, or simply copying links to enter the page, will lead to uncontrolled reduction of opportunity, which is not what we want. So in order to avoid this problem, we must give the user the opportunity to deduct the operation, not the page load, so that we can solve this problem. The design is as follows: when the user clicks to start the lottery or start the answer, the prompt will be given, which will deduct a chance, the user clicks OK and then deduct. Note: for the page data sensitive pages, such as knowledge competition topics, in order to prevent users from repeatedly viewing the topic information through this gap, you can make a mask and frost-glass effect for the information of the page.
Case 4: Middle page of process (Select payment method)
In a process, if the user interrupts the process and accesses the page directly through the interrupt page, the page will also be inaccessible due to incomplete data. In this case, the processing needs to be done as follows: 1. Determine the logic of the page requiring information integrity; 2. 1 Return to the previous flow page 2 on this page. 2 Return to the initial page 2 of the process. 3 Go to product home page 2. 4 Back to personal center
summary
Because the Web page has the related uncontrollability, so each of our core pages that may affect the business should consider some unconventional access, and make corresponding processing or jump, to ensure the effectiveness of the overall product access, the normality of business data.