laitimes

Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

author:Everybody is a product manager
In the previous content, the author has shared the business background and architecture design of the coupon system, and in this article, the author then elaborates on the prototype diagram design and the actual logical part, and introduces the page display logic and some operations in the coupon management page, let's take a look.
Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

In the previous article, I shared with you the coupon business background, product architecture, and new coupon template parts, and today I will continue to share with you the prototype diagram design and logical practical part in the coupon management series: the content of the coupon management page.

1. Coupon template management page

Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

II. Background

Unified management and maintenance of company-wide coupons, click the coupon management menu to enter this page.

3. Description of the management status of coupon templates

Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

Fourth, the logical description of the query area

Organization: The organization to which the coupon belongs, the optional value is the organization to which the current user has permissions, such as company, region, city, the minimum dimension is city, so the user is a regional user, and the optional value is the region to which the user belongs and the city under the region;

Encoding: Exact query.

Name: Fuzzy query.

Status: Single selection, the selectable values are Pending Submission, Pending Review, Pending Start, Active, Closed, Rejected.

Type: Single selection, the available value is "full discount coupon, discount coupon, exchange coupon, cash coupon".

Query: Query the data that meets the criteria.

Reset: Clears all search conditions.

Export: Export data that meets the query conditions, and the exported content is the same as the content displayed in the list.

5. Logical description of the data list

Collation: Reverse order by creation time.

Coupon Information:

  • Coupon type icons: Different types of coupons display different icons
  • The name of the coupon
  • Coupon code: The code generation rule is "organization code + year, month and day + three-digit serial number"
  • Coupon status: Different statuses and different colors are displayed
  • Discount information: Different types of coupons display different contents, and the display rules are as follows

Full discount coupons: The rules for copywriting display are as follows:

Discount Coupons: Copywriting display rules such as:

Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

Voucher: X for Y yuan, X refers to the price filled in, and Y refers to the face value filled in.

Voucher: Empty.

  • Effective time: The display rule is "effective for X days after collection, valid for Y days", and if X is 0, "Valid on the day after collection" is displayed.
  • Attention: When the status is a coupon in the activity, and there is no coupon issuance record for more than X days [that is, the user has not received it, the system has not automatically sent it, and the user has not purchased it], the following label will be displayed to remind the business personnel to pay attention to it, and when the mouse is moved to the attention tag, it will prompt "no collection/purchase data for X consecutive days"

Affiliated Organization: The organization that you selected when you created the coupon.

Scope of use: the applicable stores and products selected when creating the coupon, and the display rules are as follows:

  • Stores: "All stores" is displayed when all stores are selected, and "Some stores" is displayed when specific stores are selected.
  • Products: "All products" is displayed when all products are selected, and "Some products" is displayed when a specific category or item is selected.
  • When you click on all/some of the stores, the store list will pop up, and the content displayed will be "store code, store name, region, city".
  • When you click on all/some of the products, the product list will pop up, and the content displayed will be "Product Code, Product/Store Name, Type [Single Item, Category], and Category"

Activity Period: The activity time entered when you created the coupon.

Inventory Quantity: Remaining Quantity/Total Inventory; Click to pop up the inventory modification page, which supports adding and decreasing the remaining inventory.

Write-off: Write-off quantity/Received quantity. Click to pop up the coupon details page.

Created by: Created by + Creation time.

Operation: The logic of this part is more complicated, which will be described separately in a subsequent article.

6. Modify inventory

Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

Type: New or Decreased, Single Select, New by Default;

Quantity: 1 by default, you can also enter an integer of [1,99999].

Cancel: Close the pop-up page

OK: The logic is as follows

Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

7. The details page of the verification has been received

Coupon system from beginner to proficient (4) - prototype design and logic practical part - coupon management

The relevant instructions and operation logic of the page will be shared in a separate article in the future.

8. Summary

This article mainly introduces the page display logic and some operations in the coupon management page, and the next article will continue to share other related operations on this page.

This article was originally published by @刚哥 on Everyone is a Product Manager. Reproduction without permission is prohibited.

The title image is from Unsplash and is licensed under CC0

The views in this article only represent the author's own, everyone is a product manager, and the platform only provides information storage space services.

Read on