Shopping cart management method and device, equipment, storage medium and program product
By displaying the first product card of multiple stacked product cards, the products in the shopping cart are managed responsively based on user operations, which solves the problem that shopping cart management tools in the prior art are difficult to manage efficiently, and improves the efficiency of shopping cart management. efficiency and user experience.
Patent Information
- Application Number
- CN202410827086.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-06
Smart Images

Figure CN118608253A
Abstract
Description
Technical Field
[0001] The present application relates to the field of interface display, and in particular to a shopping cart management method, device, equipment, storage medium and program product. Background Art
[0002] With the rapid development of the Internet and e-commerce, more and more companies have developed various e-commerce platforms. As the user scale of e-commerce platforms increases, more and more users are facing the problem of full shopping carts and difficulty in adding items. Therefore, it is necessary to sort out the items in the shopping cart.
[0003] However, current shopping cart management tools usually display different shopping cart management interfaces to users for different types of management operations performed on products. When users have multiple types of product management needs, they need to repeatedly switch shopping cart management interfaces, which makes it difficult for users to manage products efficiently. Based on this, shopping cart management tools need to be updated iteratively to facilitate users to manage shopping carts. Summary of the invention
[0004] Based on this, it is necessary to provide a shopping cart management method, device, equipment, storage medium and program product to address the above technical problems, which can improve the user's management efficiency of shopping cart items.
[0005] In a first aspect, the present application provides a shopping cart management method, comprising:
[0006] Displaying a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product;
[0007] Based on the commodity management operation performed on a plurality of stacked commodity cards, the commodities in the shopping cart are managed and processed.
[0008] In one embodiment, based on the product management operation performed on multiple stacked product cards, the products in the shopping cart are managed and processed, including: in response to the product card switching operation, switching the display of the first product card to display other product cards in the multiple stacked product cards; or, in response to the product information viewing operation, displaying the product details page of the product corresponding to the first product card; wherein the product details page includes the second product description information of the product corresponding to the first product card.
[0009] In one of the embodiments, the product management operation includes at least one of the following operations: a product browsing operation, a product deleting operation, a product classifying operation, a canceling operation, a filter item switching operation, and an information viewing operation.
[0010] In one embodiment, the other product cards include at least one of the following: product cards adjacent to the first product card in stacking order, product cards before switching display, and product cards corresponding to the filtering attributes of each filtering item.
[0011] In one of the embodiments, in response to a product card switching operation, displaying a first product card is switched to displaying other product cards among a plurality of stacked product cards, including: in response to a product browsing operation, according to a gesture operation direction corresponding to the product browsing operation, controlling the first product card to slide in a target direction until the first product card moves out of a card display area of a shopping cart management interface, and during the sliding of the first product card, displaying other product cards according to a sliding position of the first product card; wherein the target direction is determined according to a gesture operation direction corresponding to the product browsing operation; in response to a product deletion operation, deleting the first product card and displaying other product cards; in response to a product classification operation, controlling the first product card to move to a target position until the first product card moves out of the card display area of the shopping cart management interface, and during the movement of the first product card, displaying other product cards according to a moving position of the first product card; wherein the target position is determined according to an operation position of the product classification operation.
[0012] In one of the embodiments, the method further includes: determining other product cards from two product cards adjacent to the first product card in a stacking order according to a gesture operation direction of the product browsing operation.
[0013] In one of the embodiments, the first product card includes a product deletion control; accordingly, the product deletion operation is a touch operation on the product deletion control, or a sliding operation toward the product deletion control.
[0014] In one of the embodiments, if the product deletion operation is a sliding operation toward the product deletion control, the first product card is deleted and other product cards are displayed, including: controlling the movement of the first product card according to a preset trajectory until the first product card moves out of the card display area of the shopping cart management interface; during the movement of the first product card, displaying other product cards according to the moving position of the first product card.
[0015] In one of the embodiments, the shopping cart management interface includes at least one product category control, and different product category controls correspond to different product lists; accordingly, the product category operation is a triggering operation on a target product category control in at least one product category control, or a sliding operation toward a target product category control.
[0016] In one of the embodiments, the method further includes: zooming and displaying the first product card in a direction toward the target product category control.
[0017] In one of the embodiments, during the movement of the first product card, other product cards are displayed according to the moving position of the first product card, including: during the process of zooming and displaying the first product card, areas of other product cards that are not covered by the first product card are displayed; when a zoom termination condition is met, the first product card is no longer displayed, and all other product cards are displayed.
[0018] In one of the embodiments, scaling and displaying the first product card along a direction toward a target product category control includes: scaling and displaying the first product card along the direction toward the target product category control based on a target scaling factor; wherein the size of the target scaling factor is negatively correlated with the distance of the first product card from the target product category control; and / or, in the process of scaling and displaying the first product card, displaying the first product card based on a target transparency; wherein the target transparency is greater than the transparency of product cards other than the first product card among multiple stacked product cards.
[0019] In one of the embodiments, at least one product category control is displayed in a tiled manner in a label display area in a shopping cart management interface, and different product category labels are displayed on different product category controls.
[0020] In one of the embodiments, the method further includes at least one of the following: in response to a category control expansion operation, displaying a hidden product category control in the label display area; in response to a position adjustment operation on the category control to be adjusted, adjusting the arrangement order of at least one product category control associated with the category control to be adjusted.
[0021] In one of the embodiments, the method further includes: in response to a tag adding operation in the shopping cart management interface, displaying a tag adding interface; in response to a tag adding operation in the tag adding interface, displaying a product category control corresponding to the added tag in the shopping cart management interface.
[0022] In one of the embodiments, the tag adding interface includes a product image of at least one product in the shopping cart; in response to a tag adding operation in the tag adding interface, a product classification control corresponding to the added tag is displayed in the shopping cart management interface, including at least one of the following: after the tag adding interface detects a selection operation on the displayed product image, in response to the tag adding operation in the tag adding interface, a product classification control corresponding to the added tag is displayed in the shopping cart management interface; after the tag adding interface detects a selection operation on the displayed product image, in response to the tag adding operation in the tag adding interface, according to the selection operation on the displayed product image in the tag adding interface, the selected product image is added to the list of products under the tag to be added, and the product classification control corresponding to the added tag is displayed in the shopping cart management interface; in response to the tag adding operation in the tag adding interface, according to the tag name input operation on the tag adding interface, a tag name is generated, and the product classification control with the added tag name is displayed in the shopping cart management interface.
[0023] In one of the embodiments, the shopping cart management interface includes a tag adding control; the tag adding operation includes a touch operation on the tag adding control.
[0024] In one embodiment, the shopping cart management interface includes a product cancellation control, and the cancellation operation includes a gesture operation on the product cancellation control; or, the first product card includes a product information viewing control, and the product information viewing operation includes a touch operation on the product viewing control; or, the shopping cart management interface includes a filter item switching control; the filter item switching operation includes a touch operation associated with the filter item switching control.
[0025] In one embodiment, the filter item switching control is a drop-down box control; the filter item is any drop-down option in the drop-down box control; the filter item switching operation is a selection operation on any drop-down option in the drop-down box control; different filter items correspond to different time attributes and / or content attributes of the filter attributes.
[0026] In one of the embodiments, different filtering items include an invalid product item; the product card under the invalid product item corresponds to an invalid product in an invalid state; the method further includes: in response to a product repurchase operation on an invalid product card in an invalid state currently displayed, displaying an add-to-cart page for the product corresponding to the invalid product card; in response to an add-to-cart operation on the add-to-cart page, switching the currently displayed first product card to a second product card; wherein the second product card is a product card corresponding to the newly added product, or is the next product card covered by other product cards.
[0027] In one of the embodiments, at least one of the following is also displayed in the shopping cart management interface: the number of stacked product cards, the stacking order of the first product card, the number of deleted product cards, the number of classified product cards, and the number of filtered product cards.
[0028] In a second aspect, the present application also provides a shopping cart management device, including:
[0029] An interface display module, used to display a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product;
[0030] The commodity management module is used to manage and process commodities in a shopping cart based on commodity management operations performed on a plurality of stacked commodity cards.
[0031] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0032] Displaying a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product;
[0033] Based on the commodity management operation performed on a plurality of stacked commodity cards, the commodities in the shopping cart are managed and processed.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0035] Displaying a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product;
[0036] Based on the commodity management operation performed on a plurality of stacked commodity cards, the commodities in the shopping cart are managed and processed.
[0037] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0038] Displaying a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product;
[0039] Based on the commodity management operation performed on a plurality of stacked commodity cards, the commodities in the shopping cart are managed and processed.
[0040] The above-mentioned shopping cart management method, device, equipment, storage medium and program product, by displaying a shopping cart management interface currently displaying the first commodity card among a plurality of stacked commodity cards, and after detecting a commodity management operation based on the shopping cart management interface, responding to the commodity management operation based on the plurality of stacked commodity cards, so as to achieve management processing of commodities corresponding to the commodity cards in the shopping cart. Since the shopping cart management interface adopts the method of displaying the first commodity card among a plurality of stacked commodity cards, so that the user can perform management processing matching the commodity management operation, there is no need to frequently switch between different shopping cart management interfaces for different management operations, so that the shopping cart management process is more convenient and quick, and the management efficiency of the shopping cart is improved, which further helps to improve the use efficiency of the shopping cart function. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 This is an application environment diagram of a shopping cart management method in one embodiment;
[0043] Figure 2A A timing diagram showing a shopping cart management interface in one embodiment;
[0044] Figure 2B A flowchart of a shopping cart management method in one embodiment;
[0045] Figure 2C A schematic diagram of a shopping cart management interface in one embodiment;
[0046] Figure 2D A schematic diagram showing a shopping cart management interface in one embodiment;
[0047] Figure 2E A schematic diagram of commodity position switching in one embodiment;
[0048] Figure 2FA schematic diagram of a shopping cart management interface in another embodiment;
[0049] Figure 3 A flowchart of steps for responding to a commodity management operation in one embodiment;
[0050] Figure 4A A flowchart of a product management operation response step in another embodiment;
[0051] Figure 4B A schematic diagram of a product browsing operation in one embodiment;
[0052] Figure 5A is a timing diagram of a commodity deletion operation in one embodiment;
[0053] Figure 5B A flowchart of a commodity management operation response step in another embodiment;
[0054] Figure 5C A schematic diagram of a commodity deletion operation in one embodiment;
[0055] Fig. 6A is a timing diagram of a commodity classification operation in one embodiment;
[0056] Figure 6B A flowchart of a commodity management operation response step in another embodiment;
[0057] Figure 6C A schematic diagram of a commodity classification operation in an embodiment;
[0058] Fig.6D A schematic diagram of a commodity classification operation in another embodiment;
[0059] Fig. 6E A schematic diagram of a commodity classification operation in another embodiment;
[0060] Fig. 7A A schematic diagram of a process for displaying a commodity classification control in one embodiment;
[0061] Figure 7B A schematic diagram of a commodity classification operation in another embodiment;
[0062] Figure 7C A schematic diagram of a commodity classification operation in another embodiment;
[0063] Fig. 8A A timing diagram of a new operation of a classification control in one embodiment;
[0064] Figure 8B A schematic diagram of a process of adding tags in one embodiment;
[0065] Figure 8C A schematic diagram of a tag adding operation in one embodiment;
[0066] Fig.8D A schematic diagram of a tag adding operation in one embodiment;
[0067] Fig. 8E A schematic diagram of a tag adding operation in one embodiment;
[0068] Fig.8F A schematic diagram of a tag adding operation in one embodiment;
[0069] Fig. 9A is a timing diagram of a revocation operation in one embodiment;
[0070] Fig. 9B A schematic diagram of a revocation operation in one embodiment;
[0071] Fig. 9C A schematic diagram of a revocation operation in another embodiment;
[0072] Fig.10 A schematic diagram of a filter item switching operation in one embodiment;
[0073] Fig.11A is a timing diagram of a commodity re-purchase operation in one embodiment;
[0074] Fig. 11B A schematic diagram of a process of switching filter items in an embodiment;
[0075] Fig. 11C A schematic diagram of a commodity re-purchase operation in one embodiment;
[0076] Fig. 12A A flowchart of a commodity management operation response step in another embodiment;
[0077] Fig. 12B A schematic diagram showing a product information viewing operation in one embodiment;
[0078] Fig.13 is a structural block diagram of a shopping cart management device in one embodiment;
[0079] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0080] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0081] The shopping cart management method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 can be a terminal for a user to log in to the e-commerce platform based on an account, and the server 104 can be a management server of the corresponding e-commerce platform. Furthermore, the server 104 can manage the product information in the e-commerce platform and the information of different users in the e-commerce platform. It can be understood that the user's information includes not only the user's registration information, but also the user's transaction information on the e-commerce platform.
[0082] Specifically, the terminal 102 can display a shopping cart management interface, wherein the shopping cart management interface currently displays the first product card among multiple stacked product cards; the product card corresponds to the product in the shopping cart; the product card includes first product description information of the corresponding product; after the terminal 102 detects the product management operation based on the shopping cart management interface, it can respond to the product management operation based on multiple stacked product cards to manage and process the products in the shopping cart.
[0083] Furthermore, the server 104 manages the corresponding commodities in the shopping cart in response to the commodity management operation on the shopping cart management interface on the terminal 102. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, and tablet computers. The server 104 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0084] In an exemplary embodiment, Figure 1 Based on the application environment shown, see Figure 2A The timing diagram showing the shopping cart management interface includes:
[0085] S210A, the terminal sends a product management instruction to the server in response to a trigger operation on a management control in a shopping cart display interface.
[0086] Among them, the commodity management instruction includes account identification information.
[0087] S220A, the server determines the corresponding shopping cart list and the product elements in the shopping cart list according to the account identification information in the product management instruction.
[0088] S230A, the server synchronizes the commodity elements in the shopping cart list to the terminal.
[0089] S240A, the terminal displays a shopping cart management interface associated with the user.
[0090] Further, see Figure 2B A shopping cart management method is shown, and the method is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:
[0091] S210B, display the shopping cart management interface.
[0092] The shopping cart management interface currently displays the first product card among multiple stacked product cards; the product card corresponds to the product in the shopping cart; the product card includes the first product description information of the corresponding product. The first product description information may be information that summarizes the product, for example, it may include product pictures, product brands, product names, product net contents, product prices, and product participation activities, etc. This application does not make any limitation on this.
[0093] It should be noted that the shopping cart management interface currently displays the first product card among multiple stacked product cards, wherein the first product card may be the top product card among the multiple stacked product cards. Other product cards covered by the first product card may be directly displayed or hidden (i.e., not displayed), and this application does not impose any limitation on this.
[0094] See also Figure 2C In the shopping cart management interface shown in the figure, the card display area 1 is displaying the first product card, and the information display area 2 in the card display area 1 can be used to display the first product description information of the product corresponding to the first product card. The first product description information displayed in the information display area 2 may include the product image, product brand, product name, product net content, product price, and product participation activities of the product corresponding to the first product card.
[0095] See also Figure 2D The display schematic diagram of the shopping cart management interface shown in the figure switches the shopping cart display interface to the shopping cart management interface when a trigger operation on the product management control 3 on the shopping cart display interface is detected.
[0096] In an optional implementation, there are many ways to determine the stacking order of the product cards. It can be determined based on the purchase time of the products, the number of similar products, or random. This application does not impose any limitation on this.
[0097] Exemplarily, the items in the shopping cart may be sorted according to the time when the items were added to the shopping cart, either from early to late or from late to early, and this application does not impose any limitation on this.
[0098] For example, the commodities in the shopping cart may be classified in advance, and then the stacking order of the commodity cards may be determined according to the number of commodities of the same type. For example, the commodities in the shopping cart may be classified into multiple commodity types such as clothing, beauty, sports, pets, daily necessities, and household appliances, and the different commodity types may be sorted according to the number of commodities contained in the commodity type (either from most to least or from least to most). For different commodities in the same commodity type, the corresponding stacking order may be determined randomly or according to the time when the commodity is added to the purchase.
[0099] In another optional implementation, in order to facilitate the user to manage the goods in the shopping cart, the stacking order of multiple stacked product cards may correspond to the display order of different products in the shopping cart display interface. The shopping cart display interface may be a common shopping cart interface, and the display order of different products in the shopping cart display interface may be determined according to the purchase time of the products. In this embodiment, the display order of different products in the shopping cart display interface may be used as the stacking order of product cards in the shopping cart management interface.
[0100] Furthermore, in order to facilitate the user to manage the goods in the shopping cart, in another optional implementation, the display order of different goods in the shopping cart display interface can be adjusted according to user needs. Exemplarily, the display order of different goods in the shopping cart display interface can be adjusted in response to the display order switching operation for different goods. The order switching operation can be a user's gesture or a user's touch operation on the order switching control in the shopping cart display interface, and this application does not impose any limitation on this.
[0101] Illustratively, in this embodiment, when a sliding operation on a certain product is detected, the product is moved according to the sliding direction to move the product to an area where the sliding end position is located, thereby adjusting the order of the product with other products.
[0102] See also Figure 2E The schematic diagram of switching the position of the goods in the shopping cart display interface is shown, and the shopping cart display interface displays different goods in the shopping cart from top to bottom. Further, when a drag operation for a certain product is detected on the shopping cart display interface, the display order of the dragged product is adjusted to the sliding end position.
[0103] Exemplarily, in this embodiment, a sequence switching control is provided in the shopping cart display interface. When it is detected that two items are currently selected in the shopping cart display interface and there is a touch operation on the sequence switching control, the order of the two currently selected items is swapped.
[0104] In order to facilitate those skilled in the art to understand, in this embodiment, Figure 2F The shopping cart display interface shown is used as an example for explanation. The shopping cart display interface includes the total number of items in the shopping cart, search controls, management controls, selection controls, item information in the shopping cart, the store name of the store to which each item belongs, and the current activities of the e-commerce platform or store. Among them, the item information may include the name, style, price, selected quantity, and supported services (for example, support / non-support of seven-day no-reason return) of the item.
[0105] In such Figure 2F In the shopping cart display interface shown, when a touch operation on the management control is detected, the shopping cart display interface is switched to the shopping cart management interface. Exemplarily, the terminal can also detect a selection operation on the "current ongoing activities of the e-commerce platform or store" before switching to the shopping cart management interface, so as to display different shopping cart management interfaces according to different activity selection operations. For example, when a touch operation on the management control is detected, and a click operation on the "all" option in the activity selection is detected, a shopping cart management interface including all the goods in the shopping cart is displayed; when a touch operation on the management control is detected, and a click operation on the "cross-store every 300 minus 40" option in the activity selection is detected, a shopping cart management interface including goods in the shopping cart that meet the "cross-store every 300 minus 40" is displayed; when a touch operation on the management control is detected, and a click operation on the "cross-store every 300 minus 20" option in the activity selection is detected, a shopping cart management interface including goods in the shopping cart that meet the "cross-store every 300 minus 20" is displayed.
[0106] It should be noted that when a click operation on different activity filter controls in the activity selection is detected, the terminal will control the clicked activity filter control to be displayed differently from other unclicked activity filter controls. For example, the color of the clicked activity filter control will change from transparent to gray. Figure 2F In the displayed shopping cart display interface, the active filter control that was clicked is "All".
[0107] For example, in order to help users understand the order of the currently managed commodities, an order display area may be provided in the shopping cart management interface to display the order of the currently displayed first commodity card.
[0108] See also Figure 2F In the shopping cart management interface shown, the order display area 4 can be set above the card display area. Further, in the order display area 4, the total number of stacked commodity cards and the stacking order of the currently displayed first commodity card can also be displayed.
[0109] S220B, managing and processing the commodities in the shopping cart based on the commodity management operation performed on the plurality of stacked commodity cards.
[0110] The product management operation may include at least one of a product card switching operation for instructing switching of product cards and a product information viewing operation for instructing display of product information.
[0111] In an optional embodiment, the commodity management operation may include at least one of the following operations: commodity browsing operation, commodity deletion operation, commodity classification operation, undo operation, filter item switching operation and commodity information viewing operation. Among them, the commodity browsing operation is an operation of sequentially browsing commodity cards. The commodity deletion operation is an operation of deleting the commodity corresponding to the commodity card from the shopping cart. The commodity classification operation is an operation of classifying the commodities in the shopping cart. The undo operation is an operation of undoing the most recent historical operation. The filter item switching operation is an operation of filtering the categories of the stacked commodity cards in the shopping cart management interface. The commodity information viewing operation is an operation of viewing the detailed information of the commodity corresponding to the commodity card.
[0112] Exemplarily, the commodity management operation can be presented in the form of voice operation and gesture operation, and the present application does not make any limitation on this. Among them, the gesture operation can include at least one of a sliding operation and a clicking operation, and the present application does not make any limitation on this.
[0113] In an optional implementation, at least one commodity management control may be set in the shopping cart management interface, and when a touch operation on a different commodity management control is detected, a plurality of stacked commodity cards are managed accordingly to associate the commodities in the shopping cart. It is understandable that in response to the touch operation on the different commodity management controls, the manner of responding to the commodity management operation based on the plurality of stacked commodity cards is at least partially different, and the specific implementation steps are described in detail in the following embodiments.
[0114] In the above shopping cart management method, by displaying a shopping cart management interface currently displaying the first product card among a plurality of stacked product cards, and after detecting a product management operation based on the shopping cart management interface, responding to the product management operation based on the plurality of stacked product cards, management processing of the products corresponding to the product cards in the shopping cart is achieved. Since the shopping cart management interface adopts the method of displaying the first product card among a plurality of stacked product cards, the user can perform management processing matching the product management operation, and there is no need to frequently switch between different shopping cart management interfaces for different management operations, which makes the shopping cart management process more convenient and quick, improves the management efficiency of the shopping cart, and further helps to improve the efficiency of using the shopping cart function.
[0115] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the commodity management operation response step in S220B is refined.
[0116] See also Figure 3 The product management operation response steps shown include:
[0117] S310: In response to a product card switching operation, switching the display of a first product card to displaying other product cards among a plurality of stacked product cards.
[0118] The product card switching operation is an operation of switching the currently displayed product card, for example, at least one of a product browsing operation, a product deletion operation, a product classification operation, a cancellation operation, and a filter item switching operation.
[0119] Exemplarily, the product card switching operation may include a sliding operation and a clicking operation on the product card. In the case where a product switching control is provided in the product card, the product switching operation may also include a touch operation on the product switching control, such as a clicking operation; and may also include a sliding operation toward the product switching control.
[0120] Among them, the other product cards may be any product cards different from the first product card. Optionally, the other product cards may include product cards that are positionally associated with the first product card. Or, optionally, the other product cards may include at least one of product cards adjacent to the first product card in the stacking order, product cards before switching display, and product cards corresponding to the filter attributes of each filter item.
[0121] In an optional implementation, when the product card switching operation is a product browsing operation, the other product cards may be product cards adjacent to the first product card in the stacking order, for example, a product card adjacent to the left of the first product card (which has previously covered the first product card); or for another example, a product card adjacent to the right of the first product card (which is currently covered by the first product card).
[0122] In an optional implementation, when the product card switching operation is a product deletion operation and a product classification operation, the other product card may be a product card that is right adjacent to the first product card (currently covered by the first product card).
[0123] In an optional implementation, when the product card switching operation is a cancel operation, the other product card is the product card before the switching display, for example, the product card adjacent to the left of the first product card (previously covering the first product card).
[0124] In an optional implementation, when the product card switching operation is a filter item switching operation, the other product cards may be product cards corresponding to the filter attributes of the corresponding filter items.
[0125] In the above embodiment, a product management operation is provided, namely, a product card switching operation, so that the shopping cart management method is more diverse. Furthermore, for different product card switching operations, the display of the first product card is switched to display different other product cards in a plurality of stacked product cards, so that the product card switching display of the display interface is realized, laying a foundation for the management of the products corresponding to other product cards.
[0126] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the product management operation response step in S220 is refined from the interface display level.
[0127] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, when the product management operation is a product browsing operation, the product browsing operation is refined into gesture operations corresponding to the product browsing operation, and the response process of the interface display layer under the product browsing operation is described in detail.
[0128] See also Figure 4A The product management operation response steps shown include:
[0129] S410: Control the first product card to slide in a target direction according to the gesture operation direction corresponding to the product browsing operation, until the first product card is moved out of the card display area of the shopping cart management interface.
[0130] Among them, the gesture operation corresponding to the product browsing operation can be regarded as the first gesture operation.
[0131] Optionally, a product browsing control may be provided in the shopping cart management interface, and accordingly, the first gesture operation may be a touch operation on the product browsing control. Accordingly, the target direction corresponding to the first gesture operation may be determined according to the position where the product browsing control is provided. For example, the target direction corresponding to the product browsing control provided on the left side is left; and the target direction corresponding to the product browsing control provided on the right side is right.
[0132] Alternatively, the first gesture operation may be a browsing sliding operation for the first product card. Accordingly, the target direction is determined according to the gesture operation direction of the first gesture operation. Exemplarily, the target direction may be the same as the gesture operation direction of the first gesture operation. Specifically, if the first gesture operation is a left sliding operation, the target direction is left; if the first gesture operation is a right sliding operation, the target direction is right.
[0133] When the first gesture operation is a sliding operation on the first product card, the operation position of the first gesture operation may be any position in the shopping cart management interface. For example, it may be the position of the first product card in the shopping cart management interface.
[0134] Exemplarily, when the first gesture operation is a sliding operation on the first product card, the first product card can be moved out of the card display area of the shopping cart management interface when it is detected that the operation duration of the first gesture operation exceeds the first preset duration threshold; the first product card can also be moved out of the card display area of the shopping cart management interface when it is detected that the operation distance of the first gesture operation exceeds the first preset distance threshold. The first preset duration threshold and the first preset distance threshold can both be determined based on manual experience or through a large number of experiments. Exemplarily, the first preset duration threshold can be 2 seconds; the first preset distance threshold can be determined based on the width of the product card, for example, the first preset distance threshold can be half the width of the product card.
[0135] S420: During the sliding of the first product card, other product cards are displayed according to the sliding position of the first product card.
[0136] Among them, the product card may be a product card adjacent to the first product card in the stacking order. The method for determining other product cards may be: according to the gesture operation direction of the first gesture operation, determine other product cards from two product cards adjacent to the first product card in the stacking order. Exemplarily, if the gesture operation direction of the first gesture operation is to the left, the other product cards are product cards covered by the first product card; if the gesture operation direction of the first gesture operation is to the right, the other product cards are product cards that once covered the first product card.
[0137] It should be noted that in the shopping cart management interface, if the first product card is the first of all the stacked product cards, the terminal only responds to the first gesture operation with the gesture operation direction being left. If the first product card is the last of all the stacked product cards, the terminal only responds to the first gesture operation with the gesture operation direction being right.
[0138] In this embodiment, when the first gesture operation is detected and the operation of the first gesture operation does not meet the requirement of moving the first product card out of the card display area of the shopping cart management interface, that is, when the first product card slides and is not moved out of the card display area of the shopping cart management interface, a partial area of other product cards can be displayed. Among them, the displayed part of the other product cards is the part that is not covered by the first product card due to the sliding of the first product card. Exemplarily, if the first gesture operation is to slide to the left, the other product cards displayed are the right side of the other product cards, which are not covered by the first product card. It can be understood that the partial area of the displayed other product cards will change accordingly with the movement of the first product card.
[0139] It should be noted that in order to distinguish the first product card from other product cards, in this embodiment, during the sliding of the first product card, the display attributes of the partial areas of other product cards displayed may be different from the display attributes of the first product card, for example, the font color, transparency, border or background color may be different.
[0140] In order to help users understand the order of the currently displayed product cards, the number of stacked product cards and the stacking order of the first product card are displayed in the shopping cart management interface.
[0141] In order to facilitate those skilled in the art to understand this embodiment, Figure 4B Taking the first gesture operation of sliding left as an example, a schematic diagram of a product browsing operation is provided. After detecting the presence of the first gesture operation of sliding left for the first product card, the first product card can be controlled to slide in the target direction according to the gesture operation direction of the first gesture operation. During the sliding of the first product card to the left, the area of other product cards not covered by the first product card is displayed according to the sliding position of the first product card. In the case of detecting that the first product card is moved out of the card display area of the shopping cart management interface, continue to refer to Figure 4B , all other product cards are displayed in the card display area of the shopping cart management interface.
[0142] In an optional implementation, in order to better enhance the display of the first product card and weaken the display of other product cards, continue to refer to Figure 4B Optionally, when the first product card is not removed from the card display area of the shopping cart management interface, the transparency of other product cards may be greater than the transparency of the first product card. Correspondingly, when the first product card is removed from the card display area of the shopping cart management interface, the transparency of other product cards may be 0.
[0143] In another optional implementation, continue to refer to Figure 4B, when an order display area is displayed above the card display area, the number of stacked product cards (corresponding to the value 177 in the figure) and the stacking order of the first product card (corresponding to the value 1 in the figure) are displayed in the order display area. Figure 4B After detecting that the first product card is moved out of the card display area of the shopping cart management interface, the number of stacked product cards (corresponding to the value 177 in the figure) and the stacking order of the first product card (corresponding to the value 2 in the figure) are displayed in the order display area. That is, the original stacking order of the first product card (1) is adjusted to the stacking order of other product cards (2).
[0144] In the above embodiment, the corresponding response method at the interface display level is provided when the product management operation is a product browsing operation, so that the response process of the product browsing operation is clearer. Specifically, the user can view other product cards by sliding the first product card left and right, which is convenient for comparing the first product card with other product cards, and further convenient for the user to manage the products in the shopping cart.
[0145] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, when the commodity management operation is a commodity deletion operation, the response process under the commodity deletion operation is described in detail.
[0146] To facilitate understanding, we first explain the response process of the product deletion operation at the background processing level.
[0147] In an optional embodiment, in response to the commodity management operation, the commodity corresponding to the first commodity card is deleted from the corresponding commodity list of the shopping cart.
[0148] There is an association relationship between each product card and its corresponding product. Exemplarily, there is a corresponding relationship between the identification information of the product card and the product. Exemplarily, after the product deletion operation is detected, the corresponding product is determined from the shopping cart according to the identification information of the first product card and the corresponding relationship, and then the product is deleted from the product list.
[0149] Specifically, in response to the product deletion operation on the first product card, a product deletion instruction for the product corresponding to the first product card may be sent to the server; in response to the product deletion instruction, the server deletes the product corresponding to the first product card from the product list corresponding to the shopping cart.
[0150] For details, see Figure 5A The sequence diagram of the product deletion operation shown includes:
[0151] S510A: When the terminal detects that there is a product deletion operation for the first product card, the terminal sends a product deletion instruction to the server.
[0152] Specifically, the commodity deletion instruction carries the identification information of the first commodity card.
[0153] S520A: The server determines the product to be deleted corresponding to the first product card according to the identification information in the product deletion instruction.
[0154] Specifically, the server determines the product corresponding to the first product card according to the identification information in the product deletion instruction and the corresponding relationship between the identification information of the product card and the product, and uses the product as the product to be deleted.
[0155] S530A: The server deletes the product to be deleted from the product list corresponding to the shopping cart, and adds the product to be deleted to the product deletion list.
[0156] Based on the above response process at the background processing level, the following describes the response process at the front-end display interface level in detail. Figure 5B The product management operation response steps shown include:
[0157] S510B, in response to the product deletion operation, the first product card is deleted and other product cards are displayed.
[0158] Among them, the gesture operation corresponding to the product deletion operation can be regarded as the second gesture operation.
[0159] Optionally, the second gesture operation may be a delete sliding operation on the first product card. For example, the first product card may be slid upwards, or may be slid downwards. To avoid confusion, it is only necessary to ensure that the sliding direction is different from that of the product browsing operation.
[0160] In this embodiment, when a classification sliding operation (sliding up or down) for the first product card is detected, the first product card can be moved to a corresponding position according to the sliding direction of the classification sliding operation, and at the same time, the partial area of other product cards not covered by the first product is displayed. When the first product slides to a preset position or the sliding time is greater than a preset time threshold, the first product card is deleted from the card display area, and all other product cards are displayed. The preset position and the preset time threshold can be determined according to the sliding direction. For example, when the sliding direction is upward, the preset position can be above the shopping cart management interface; when the sliding direction is downward, the preset position can be below the shopping cart management interface.
[0161] In an optional embodiment, the first product card may include a product deletion control, and accordingly, the second gesture operation is a touch operation on the product deletion control, or a sliding operation toward the product deletion control. The product deletion control can be set at any position in the shopping cart management interface, for example, it can be the upper left corner, the upper right corner, the lower left corner or the lower right corner, and this application does not impose any limitation on this.
[0162] It should be noted that in order to distinguish the first product card from other product cards, in this embodiment, during the movement of the first product card, the display attributes of the partial areas of other product cards displayed may be different from the display attributes of the first product card, for example, the font color, transparency, border or background color may be different.
[0163] In order to facilitate those skilled in the art to understand this embodiment, Figure 5C Taking the example of setting the product deletion control in the upper right corner of the shopping cart management interface, a schematic diagram of the product deletion operation is provided. Figure 5C As shown, a product deletion control 5 is provided in the upper right corner of the shopping cart management interface. When the second gesture operation is a sliding operation toward the product deletion control, the first product card currently displayed is rotated toward the deletion control according to a preset trajectory, and the uncovered area of other product cards covered by the first product card is displayed during the rotation process; when the rotation termination condition is met, the first product card is no longer displayed, and all other product cards are displayed. The rotation termination condition may be that the rotation angle reaches a preset angle threshold, or the rotation duration reaches a preset duration threshold, etc.
[0164] Furthermore, after the first product card is deleted, if an order display area is displayed above the card display area, the number of stacked product cards (corresponding to Figure 5C The value 177 in the first product card) and the stacking order of the first product card (corresponding to Figure 5C 1). Accordingly, after the product deletion operation on the first product card is performed, the number of stacked product cards (corresponding to the value 176 in the figure) and the stacking order of the first product card (corresponding to the value 1 in the figure) are displayed in the order display area. That is, the original stacking number of product cards (176) is adjusted to the new stacking number of product cards (175). It can be understood that since the product card directly covered by the first product card becomes the currently stacked product card, the product card becomes the first product card with a stacking order of 1.
[0165] It should be noted that after deleting a product, the total number of all products in the shopping cart will be reduced by 1.
[0166] In order to facilitate users to understand the progress of shopping cart management and to facilitate users to view deleted product cards, in one embodiment, the number of deleted product cards is displayed on the product deletion control. Figure 5C After deleting the first product card, the card display area 2 displays other product cards; accordingly, the total number of currently stacked product cards is reduced by 1; further, the number of deleted product cards 1 can also be displayed on the product deletion control 5. Figure 5C In the embodiment, a display graphic may be set around the quantity value of the deleted product card displayed on the product deletion control 5, or the quantity value may be displayed in the form of graphic text, and the present application does not impose any limitation on this.
[0167] In the process of moving the first product card, other product cards are displayed according to the moving position of the first product card. The preset track can be determined based on manual experience, for example, the preset track can be a straight line or a curve, and this application does not make any limitation on this.
[0168] It should be noted that, in the present embodiment, during the movement of the first product card, the size of the first product card can maintain the original size, or can be reduced according to a preset reduction ratio, and the present application does not impose any limitation on this. The first product card can be moved vertically or horizontally, or can be rotated and moved based on a preset rotation direction, and the present application does not impose any limitation on this. The transparency of the first product card can be 0, or it can be a preset transparency. Among them, the preset reduction ratio, rotation direction and preset transparency can be determined based on manual experience, or can be determined through a large number of experiments, and the present application does not impose any limitation on this. Exemplarily, the preset reduction ratio can be 40%.
[0169] In the above embodiment, the response method of the interface display layer is given when the product management operation is a product deletion operation, so that the response process of the product deletion operation is clearer. Specifically, the user can delete the first product card by touching the product deletion operation or sliding toward the product deletion control, so that the deletion method of the product card is more diverse.
[0170] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, when the commodity management operation is a commodity classification operation, the response process under the commodity classification operation is described in detail.
[0171] To facilitate understanding, we first explain the response process of the product deletion operation at the background processing level.
[0172] In an optional embodiment, in response to the commodity management operation, the commodity corresponding to the first commodity card is classified into the commodity list indicated by the commodity classification operation.
[0173] Exemplarily, when a product classification operation is detected for the first product card, a product list corresponding to the product classification operation is determined, and the corresponding product is determined from the shopping cart based on the identification information of the first product card and the corresponding relationship, and then the product is classified into the corresponding product list.
[0174] Specifically, in response to a product classification operation on a first product card, a product classification instruction for the product corresponding to the first product card may be sent to the server; in response to the product classification instruction, the server may migrate the product corresponding to the first product card from the product list corresponding to the shopping cart to the product list indicated by the product classification operation.
[0175] Furthermore, when the product classification operation is a product classification operation corresponding to the target product classification control, the server will respond to the product classification instruction and migrate the product corresponding to the first product card from the product list corresponding to the shopping cart to the product list corresponding to the target product classification control.
[0176] For details, see Fig. 6A The timing diagram of the commodity classification operation shown includes:
[0177] S610A: When the terminal detects that there is a commodity classification operation for the first commodity card, the terminal sends a commodity classification instruction to the server.
[0178] Specifically, the commodity classification instruction carries identification information of the first commodity card and identification information of the target commodity classification control.
[0179] S620A: The server determines the commodity corresponding to the first commodity card according to the identification information in the commodity classification instruction.
[0180] Specifically, the server determines the commodity corresponding to the first commodity card according to the identification information in the commodity classification instruction and the corresponding relationship between the identification information of the commodity card and the commodity, and uses the commodity as the commodity to be classified.
[0181] S630A, the server deletes the product to be classified from the product list corresponding to the shopping cart, and adds the product to be classified to the product list corresponding to the target product classification control.
[0182] Based on the above response process at the background processing level, the following describes the response process at the front-end display interface level in detail. Figure 6B The product management operation response steps shown include:
[0183] S610B, according to the gesture operation corresponding to the product classification operation, control the first product card to move to the target position until the first product card moves out of the card display area of the shopping cart management interface.
[0184] The gesture operation corresponding to the commodity classification operation can be regarded as the third gesture operation. For example, the third gesture operation can be a classification sliding operation related to the target position. The target position can be a pre-set position in the shopping cart management interface, or a position determined according to the operation position of the third gesture operation. For example, the target position can be the sliding end position of the third gesture operation. The classification sliding operation is different from the aforementioned browsing sliding operation and the deletion sliding operation.
[0185] Optionally, when the third gesture operation is a classified sliding operation for the first commodity card, the first commodity card can be moved out of the card display area of the shopping cart management interface when it is detected that the operation duration of the third gesture operation exceeds the second preset duration threshold. Alternatively, the first commodity card can also be moved out of the card display area of the shopping cart management interface when it is detected that the operation distance of the third gesture operation exceeds the second preset distance threshold. Alternatively, if the third gesture operation is used to indicate that the first commodity card is scaled, the first commodity card can also be moved out of the card display area of the shopping cart management interface when it is detected that the size of the first commodity card is less than the preset size. Among them, the second preset duration threshold, the second preset distance threshold and the preset size can all be determined based on manual experience, or can be determined through a large number of experiments. The second preset duration threshold can be the same as the first preset duration threshold, or it can be different. The second preset distance threshold can be the same as the first preset distance threshold, or it can be different, and this application does not make any limitation on this.
[0186] In another optional implementation, the shopping cart management interface may include at least one product category control, and different product category controls correspond to different product lists; accordingly, the product category operation may be a trigger operation on a target product category control in at least one product category control, or a sliding operation toward a target product category control.
[0187] Among them, different commodity classification controls correspond to different commodity lists. For any commodity classification control, the corresponding commodity list stores commodities of the same type. The position of the commodity classification control can be set according to demand. For example, it can be set below the card display area or above the card display area, and this application does not impose any restrictions on this. The commodity classification control can be named with a classification label or named with the creation time of the corresponding commodity classification control, and this application does not impose any restrictions on this. The target commodity classification control can be a commodity classification control clicked or triggered by a user, and the target position can be the setting position of the target commodity classification control in the shopping cart management interface.
[0188] In an optional implementation, in order to facilitate users to classify in different dimensions, multiple commodity classification controls are displayed in a tiled manner in the label display area of the shopping cart management interface, and different commodity classification labels are displayed on different commodity classification controls. Based on this setting, it is convenient for users to select the target commodity classification control, so as to achieve fine-grained classification of commodities and improve the accuracy of commodity classification results.
[0189] Among them, the product classification label is used to distinguish the classification dimensions of different product classification controls. The product classification label can be named with the label number, for example, label 1, label 2, and label 3. In order to facilitate users to understand the classification dimensions corresponding to different product classification controls, the product classification label can be the category description of each product in the product list corresponding to the corresponding product classification control. For example, the product classification label can also be named after the product category, such as skin care, beauty and accessories.
[0190] S620B: During the movement of the first product card, other product cards are displayed according to the movement position of the first product card.
[0191] Among them, the other product cards may be product cards that are adjacent to the first product card in the stacking order, and illustratively, may be product cards covered by the first product.
[0192] In this embodiment, when the third gesture operation is detected and the first product card is moving but not moved out of the card display area, a partial area of other product cards may be displayed. The displayed partial other product cards may be the area of other product cards that is not covered by the moving first product card.
[0193] It should be noted that in order to distinguish the first product card from other product cards, in this embodiment, during the sliding of the first product card, the display attributes of the partial areas of other product cards displayed may be different from the display attributes of the first product card, for example, the font color, transparency, border or background color may be different.
[0194] In order to facilitate those skilled in the art to understand this embodiment, Figure 6C Taking the case where a product classification control is set below the card display area and the product classification control is named after a product classification label as an example, a schematic diagram of a product classification operation is provided. A label display area 6 is set below the card display area, and the label display area 6 includes at least one product classification control displayed in a tiled manner, and each product classification control corresponds to a product classification label and is named after the corresponding classification name.
[0195] In an optional embodiment, in response to the third gesture operation of other product cards, the first product card can be directly moved to the target position until the first product card is moved out of the card display area of the shopping cart management interface; during the movement of the first product card, the area not covered by the first product card is displayed; further, after the first product card is moved out of the card display area of the shopping cart management interface, all other product cards are displayed and the first product card is no longer displayed.
[0196] In another alternative embodiment, see Figure 6C In response to the third gesture operation, the first product card is scaled to update the first product card; in the process of scaling the first product card, the areas of other product cards that are not covered by the scaled first product card are gradually displayed; the scaled first product card is moved to the target position until the scaled first product card is moved out of the card display area of the shopping cart management interface; in the process of moving the scaled first product card, the areas of other product cards that are not covered by the scaled first product card are displayed; further, after the scaled first product card is moved out of the card display area of the shopping cart management interface, all other product cards are displayed, and the scaled first product card is no longer displayed.
[0197] Optionally, continue the case Figure 6C , when the first product card is not removed from the card display area of the shopping cart management interface, the transparency of other product cards may be greater than the transparency of the first product card. Correspondingly, when the first product card is removed from the card display area of the shopping cart management interface, the transparency of the first product card may be 0.
[0198] In order to make the interface display of the commodity classification operation richer, in another optional embodiment, a more visually interactive dynamic effect can be added during the classification process to enhance the user's interactive experience. Exemplarily, in the process of controlling the first commodity card to move to the target position, the first commodity card can be zoomed and displayed in the direction toward the target commodity classification control. Accordingly, in the process of zooming and displaying the first commodity card, the area of other commodity cards that is not covered by the first commodity card is displayed; when the zoom termination condition is met, the first commodity card is no longer displayed, and all other commodity cards are displayed.
[0199] The zoom termination condition can be determined based on manual experience. For example, the zoom termination condition can be that the zoom times reach a preset number, such as 4 times; the zoom termination condition can also be that the size of the first commodity card after zooming reaches a preset minimum size, and this application does not impose any restrictions on this. The preset number and the preset minimum size can be set or adjusted by technicians according to needs or experience, and this application does not impose any restrictions on this.
[0200] Furthermore, in order to make the scaling of the first product card more beautiful, in an optional embodiment, the first product card can be scaled and displayed based on the target scaling factor along the direction toward the target product classification control; wherein the size of the target scaling factor is negatively correlated with the distance of the first product card from the target product classification control. In other words, as the distance between the first product card and the target product classification control gets closer, the first product card gets smaller. The correspondence between the distance of the first product card from the target product classification control and the target scaling factor can be set or adjusted by the technician according to needs or experience, and the present application does not impose any restrictions on this. Optionally, the above correspondence can be implemented by function mapping.
[0201] In order to better strengthen the display of other product cards and weaken the display of the first product card, in an optional embodiment, during the process of zooming and displaying the first product card, the first product card can be displayed based on the target transparency. The target transparency is greater than the transparency of the product cards other than the first product card among the multiple stacked product cards. Exemplarily, the target transparency can be 30%. That is, the transparency of the first product card is greater than the transparency of other product cards.
[0202] In order to facilitate those skilled in the art to understand this embodiment, Fig.6D Taking the case where the product classification control is set below the card display area and the product classification control is named after the product classification label as an example, another schematic diagram of the product classification operation is provided. Fig.6D As shown, in the process of the first product card moving toward the target product category control 7, as the distance between the first product card and the target product category control becomes closer and closer, the first product card becomes smaller and smaller. The card display area 2 displays the area of other product cards that is not covered by the first product card. Furthermore, the transparency of the scaled first product card is greater than the transparency of other product cards to weaken the display of the first product card.
[0203] In a specific implementation, see Fig.6DIn order to guide the user to classify the shopping cart, in the shopping cart management interface, classification prompt information 8 can also be displayed between the card display area 2 and the label display area 6 to prompt the user how to classify the goods.
[0204] Furthermore, when the zoom termination condition is met, the first product card is no longer displayed, and all other product cards are displayed.
[0205] It should be noted that if an order display area is displayed above the card display area, the number of stacked product cards (corresponding to Figure 6C and Fig.6D The value 176 in the first product card) and the stacking order of the first product card (corresponding to Figure 6C and Fig.6D 5). Accordingly, after the classification operation of the first product card is performed, the number of stacked product cards (corresponding to the value 175 in the figure) and the stacking order of the first product card (corresponding to the value 5 in the figure) are displayed in the order display area. That is, the original stacking number of product cards (176) is adjusted to the new stacking number of product cards (175). It can be understood that since the first product card has been classified into the product list corresponding to the target product classification control, the stacked product cards will no longer include the first product card, and the other product cards are adjusted to the original stacking order of the first product card (5).
[0206] Alternatively, see Fig. 6E After the first product card is no longer displayed, the number of products (corresponding to the product category label) that is cumulatively classified to the target product category control 7 can also be displayed on the target product category control 7. Fig. 6E The value in 1).
[0207] It should be noted that a display graphic may be provided around the quantity value displayed on the target product classification control 7, or the quantity value may be displayed in the form of graphic text, and the present application does not impose any limitation on this.
[0208] In the above embodiment, the response mode of the interface display layer is provided when the commodity management operation is a commodity classification operation, so that the response process of the commodity classification operation is clearer. Specifically, the user can store the first commodity card in the commodity list corresponding to the target commodity classification control by triggering the target commodity classification control, thereby reducing the number of commodities in the shopping cart, thereby improving the efficiency of the shopping cart function. At the same time, it can also facilitate the classification management of the commodities in the shopping cart by the user.
[0209] On the basis of the above embodiments, further, although the size of the label display area is limited, the number of commodity category controls in the label display area is not limited to the number that the label display area can display. In one embodiment, a category display control is set at the end of the label display area. Fig. 7A As shown, the shopping cart management method provided in this embodiment also includes the following steps:
[0210] S710: In response to a triggering operation on a category expansion control, a hidden product category control is displayed in a label display area.
[0211] The category display control is used to expand the undisplayed part of the label display area to display the hidden commodity category control in the label display area. The trigger operation may be a click operation on the category expansion control.
[0212] Exemplarily, in this embodiment, when the terminal detects a trigger operation on the category expansion control, it controls the commodity category control displayed in the label display area to move to the left, thereby displaying the hidden commodity category control in the label display area.
[0213] In order to facilitate those skilled in the art to understand this embodiment, Figure 7B Taking the case where the category expansion control is set at the end of the label display area as an example, a schematic diagram of the category expansion operation is provided. Figure 7B As shown, a category display control 9 is provided at the tail of the label display area 6. When a trigger operation for a category expansion control is detected, a hidden commodity category control can be displayed in the label display area, and part of the commodity category controls previously displayed can be hidden.
[0214] It should be noted that the above S710 is only a category display method provided in the embodiment of the present application. In another optional implementation, the shopping cart management interface may not be provided with a category expansion control, such as Figure 7C As shown, when the terminal detects a sliding operation on the label display area 6, the terminal displays the hidden commodity classification control in the label display area.
[0215] Furthermore, in order to facilitate users to manage the shopping cart, if the hidden product category control is used frequently, the hidden product category control can be automatically moved to the default display area in the label display area, and the product category control with a lower frequency of use in the default display area, such as the lowest product category control, can be moved back as a hidden product category control.
[0216] Of course, the user may also adjust the position of the commodity classification control. Exemplarily, in response to the position adjustment operation of the classification control to be adjusted, the arrangement order of at least one commodity classification control associated with the classification control to be adjusted is adjusted.
[0217] Among them, the classification control to be adjusted is a commodity classification control that needs to be adjusted in order. In the process of adjusting the arrangement order of the classification control to be adjusted, the arrangement order of at least two commodity classification controls adjacent to the classification control to be adjusted will be adjusted accordingly. Exemplarily, the original commodity classification control A is adjusted to the position of the original commodity classification control B. At this time, the positions of the original commodity classification control A and the original commodity classification control B are swapped. Alternatively, the commodity classification control includes sequentially arranged controls A to E. After dragging control A to control C, the arrangement order of controls A to E will be adjusted from "ABCDE" to "BCADE".
[0218] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, in order to facilitate the user to manage the shopping cart, in addition to the method of setting the commodity classification control by the developer, an additional method of allowing the user to add the commodity classification control by himself is introduced. The response process of adding the commodity classification control is described in detail below.
[0219] To facilitate understanding, we first explain the response process of adding a product category control at the background processing level.
[0220] In an optional embodiment, in response to the category control adding operation, a new commodity category list is created as the commodity category list corresponding to the commodity category control. Further, the commodity corresponding to the commodity card targeted by the operation is deleted from the corresponding commodity list of the shopping cart, and at the same time, the commodity corresponding to the first commodity card is added to the commodity category list corresponding to the commodity category control.
[0221] Specifically, in response to the category control adding operation, a category control creation instruction may be sent to the server; the server may respond to the category control creation instruction to create a new product category list and add the products corresponding to the corresponding product cards to the newly created product category list.
[0222] For details, see Fig. 8A The sequence diagram of the new operation of the category control shown includes:
[0223] S810A, when the terminal detects a touch operation for adding a product category control, the terminal sends a category control creation instruction to the server.
[0224] Exemplarily, the category control creation instruction may include at least one of label information of the newly created commodity category control and commodity identification information corresponding to the newly created commodity category control.
[0225] S820A, the server creates a commodity category list corresponding to the commodity category control according to the category control creation instruction.
[0226] When the category control creation instruction includes label information for creating a new product category control, the label information is used as the name of the new product category list; when the category control creation instruction includes product identification information, the product corresponding to the product identification information is added to the new product category list.
[0227] S830A, the terminal displays the newly created product category control.
[0228] Based on the above response process at the background processing level, the following describes the response process at the front-end display interface level in detail. Figure 8B The steps for adding the product category control shown include:
[0229] S810B, in response to a tag adding operation in the shopping cart management interface, displaying a tag adding interface.
[0230] The tag adding operation is used to trigger the display of the tag adding interface. The tag adding interface may be an interface including at least some of the products in the shopping cart, an interface including a tag naming control, or an interface including both some of the products in the shopping cart and a tag naming control, and this application does not impose any limitation on this.
[0231] In an optional implementation, the tag adding operation may be a tag sliding operation on the tag display area, for example, a left sliding operation on the tag display area, or a right sliding operation on the tag display area. When a sliding operation on the tag display area is detected in the shopping cart management interface, the tag adding interface is displayed.
[0232] In an optional implementation, the shopping cart management interface includes a tag adding control, which can be set at any position in the shopping cart management interface, for example, the tag adding control is located at the tail position of at least one product category control displayed in a tiled manner. It should be noted that, when the shopping cart management interface includes a tag adding control, the tag adding operation includes a touch operation on the tag adding control, for example, a click operation on the tag adding control.
[0233] For example, see Figure 8C As shown in the schematic diagram of the tag adding operation, in the shopping cart management interface, a tag adding control 10 is displayed at the end of the tag display area 6. In this embodiment, when the terminal detects a touch operation on the tag adding control, the shopping cart management interface switches to the tag adding interface (for example, an interface that only includes a tag naming control).
[0234] For example, see Fig.8DAs shown in the schematic diagram of the tag adding operation, the tag adding interface displays product selection prompt information 11, and when a touch operation on the tag adding control is detected, the shopping cart management interface is switched to the tag adding interface (for example, an interface that only includes at least some of the products in the shopping cart).
[0235] For example, see Fig. 8E As shown in the schematic diagram of the tag adding operation, the tag adding interface displays product selection prompt information 11, and when the product detects a touch operation on the tag adding control, the shopping cart management interface switches to the tag adding interface (for example, an interface that includes at least some of the products in the shopping cart and an interface of the tag naming control).
[0236] S820B, in response to a tag adding operation in the tag adding interface, a commodity category control corresponding to the added tag is displayed in the shopping cart management interface.
[0237] In an optional implementation, the tag adding interface may include a tag naming control; accordingly, after a touch operation on the tag naming control is detected and the naming is completed, a commodity classification control corresponding to the added tag is displayed in the shopping cart management interface. The added tag is determined based on the content input into the tag naming control. The input content may be voice content or text content, etc., and this application does not impose any limitation on this. For example, after detecting that "Tag A" is added in the tag adding interface, a commodity classification control named "Tag A" is displayed in the shopping cart management interface.
[0238] In another optional implementation, the tag adding interface includes a product image of at least one product in the shopping cart. Accordingly, after detecting that a selection operation on the displayed product image exists in the tag adding interface, in response to the tag adding operation in the tag adding interface, a product classification control corresponding to the added tag is displayed in the shopping cart management interface.
[0239] It should be noted that, in order to facilitate the selection of product images, a selection box may be provided on each product image.
[0240] See Fig.8F As shown, the tag adding interface includes product selection prompt information 11, some product images in the shopping cart, and a product classification control creation control 12. When it is detected that there is a click operation on the selection box corresponding to the displayed product image in the tag adding interface, and there is a click operation on the product classification control creation control 12, the tag adding interface is switched to the shopping cart management interface, and the product classification control corresponding to the added tag is displayed in the shopping cart management interface.
[0241] It should be noted that the position of the newly added product category control in the label display area can be at the first, at the end, or in the middle, and this application does not impose any limitation on this.
[0242] Furthermore, in this embodiment, in response to a selection operation on a displayed product image in the tag adding interface, the selected product image can be added to the product list under the added tag.
[0243] It should be noted that the product classification control corresponding to the added label can be named after the corresponding product name, or the category of the corresponding product, or the creation time, or named in the order of adding the product classification control based on the default name, etc. This application does not impose any restrictions on this.
[0244] Exemplarily, the tag adding interface also includes a tag name input control. The tag adding interface generates a tag name according to the input content in response to the input operation in the tag name input control; in the case of a click operation on the creation control of the commodity classification control, the commodity classification control with the added tag name is displayed in the shopping cart management interface. Fig. 8E The tag adding interface includes a tag name input control 13. The tag adding interface detects that there is a click operation on the selection box corresponding to the displayed product image, and after the tag name, such as "pet", is entered in the tag name input control 13, in response to the triggering operation of the product classification control creation control 12, it switches to the shopping cart management interface, and displays the product classification control 14 with the tag name "pet" in the shopping cart management interface.
[0245] It should be noted that since the selected product image is added to the product list under the added label, that is, the product corresponding to the selected product image has been sorted, therefore, after switching to the shopping cart management interface, the total number of stacked product cards is reduced by 1.
[0246] In the above embodiment, an operation method for adding a commodity classification control is provided, so that the user can add the commodity classification control by himself, which is convenient for the user to manage the commodities in the shopping cart.
[0247] Based on the technical solutions of the above embodiments, in the shopping cart management interface, the user may have a product management operation triggered by mistake. In order to cancel the product management operation triggered by mistake, the present application also provides an optional embodiment, in which the response process when the product management operation is a cancellation operation is described in detail.
[0248] To facilitate understanding, the response process of the undo operation at the background processing level is first explained.
[0249] In an optional embodiment, in response to the undo operation, other commodities corresponding to the undo operation are restored to the commodity list before the latest historical operation is performed.
[0250] Among them, the other products corresponding to the undo operation are the product cards before switching to display.
[0251] Exemplarily, in response to a cancel operation on a product card before switching display, a product withdrawal instruction for the product corresponding to the product card before switching display can be sent to the server; in response to the product withdrawal instruction, the server restores the product corresponding to the product card before switching display to the product list before executing the latest historical operation.
[0252] Optionally, when it is detected that there is an undo operation on the product card before the display is switched, the latest historical operation before the undo operation is determined, and the product corresponding to the product card before the display is switched is restored to the product list before the latest historical operation is performed.
[0253] Optionally, if the latest historical operation before the product cancellation operation is a product deletion operation, the product corresponding to the product card before the switching display is moved from the deleted products and restored to the product list where the product was previously located. If the latest historical operation before the product cancellation operation is a product classification operation, the product corresponding to the product card before the switching display is removed from the product list corresponding to the corresponding product classification control and restored to the product list where the product was previously located.
[0254] For details, see Fig. 9A The timing diagram of the undo operation shown includes:
[0255] S910: When the terminal detects that there is a cancellation operation on the commodity card before the switching display, the terminal sends a cancellation instruction to the server.
[0256] Specifically, the cancel instruction carries the identification information of the commodity card before the switching display.
[0257] S920: The server determines, based on the identification information in the cancellation instruction, the product corresponding to the previous product card to be switched for display.
[0258] Specifically, the server determines the commodity corresponding to the commodity card before switching display according to the identification information in the cancellation instruction and the corresponding relationship between the identification information of the commodity card and the commodity, and uses the commodity as the commodity to be cancelled.
[0259] S930, the server deletes the product to be revoked from the current corresponding product list, and adds the product to be revoked to the product list corresponding to the shopping cart.
[0260] Based on the response process at the background processing level described above, the response process at the front-end display interface level is described in detail below.
[0261] The shopping cart management interface includes a product cancellation control, wherein the product cancellation control can be set at any position in the shopping cart management interface, illustratively, can be set at the upper left corner of the shopping cart management interface.
[0262] Correspondingly, the undo operation includes a gesture operation corresponding to the product undo control, and the gesture operation corresponding to the product undo control can be regarded as the fourth gesture operation. The fourth gesture operation can be a trigger operation on the product undo control, or a sliding operation toward the product undo control, and this application does not make any limitation on this.
[0263] It should be noted that the undo operation is used to undo the latest historical operation before the undo operation and display the corresponding other product cards. It should be noted that the other product cards corresponding to the undo operation are the product cards before the switching display. In the case where the latest historical operation before the undo operation is a touch operation associated with the product deletion control, that is, in the case of a product deletion operation, after detecting the fourth gesture operation for the product undo control, the product card deleted by the latest historical operation will be restored as another product card, and the number of deleted product cards displayed on the product deletion control will be reduced by 1. At the same time, the total number of stacked product cards will be increased by 1.
[0264] See Fig. 9B In the undo operation diagram shown, the product undo control is set at the upper left of the shopping cart management interface. When a touch operation on the product undo control 15 is detected, the card display area 2 resumes displaying the latest deleted product card. At the same time, the number of deleted product cards displayed on the product deletion control is reduced by 1, and the total number of currently stacked product cards is increased by 1.
[0265] If the latest historical operation before the undo operation is a touch operation associated with the product classification control, that is, a product classification operation, after detecting the fourth gesture operation on the product undo control, the product card classified by the latest historical operation will be restored and displayed as other product cards, and the product corresponding to the other product card will be removed from the product list corresponding to the corresponding product classification control. At the same time, the total number of stacked product cards is increased by 1.
[0266] See Fig. 9C In the undo operation diagram shown, when a touch operation on the product undo control 15 is detected, the card display area 2 resumes displaying the latest classified product card. At the same time, the number of classified product cards displayed on the target product classification control 16 is reduced by 1, and the total number of stacked product cards is increased by 1.
[0267] The latest historical operation before the undo operation is a touch operation associated with the product browsing control, that is, in the case of a product browsing operation, after detecting the fourth gesture operation on the product undo control, the product card browsed by the latest historical operation will be restored and displayed as other product cards.
[0268] It should be noted that the undo operation cannot respond infinitely. Normally, the first product card currently displayed will be switched to another product card only when the undo condition is met. The undo condition is that the number of consecutive undo operations does not exceed a preset number of operations (e.g., 10 times), or there is no latest historical operation before the undo operation.
[0269] On the basis of the technical solutions of the above-mentioned embodiments, in order to further improve the efficiency of shopping cart management by users and make shopping cart management more compatible with the current management needs of users, the present application also provides an optional embodiment. In this optional embodiment, users can filter the commodities that need to be managed at present. Specifically, the shopping cart management interface includes a filter item switching control, and correspondingly, the filter item switching operation includes a touch operation associated with the filter item switching control, for example, it can be a click operation on the filter item switching control, or it can be a sliding operation on the filter item switching control, and the present application does not make any limitation on this.
[0270] Exemplarily, when a click operation on the filter item switch control is detected, the current filter item is adjusted.
[0271] In an optional implementation, the filter item switching control may be a drop-down box control; the filter item is any drop-down option in the drop-down box control; and the filter item switching operation is a selection operation of any drop-down option in the drop-down box control. Each drop-down option displays the number of products in the shopping cart that meet the filter attributes of the corresponding drop-down option.
[0272] It should be noted that different filter items correspond to different time attributes and / or content attributes of the filter attributes. The time attribute may correspond to the time when the product was added to the shopping cart or the latest access time of the product, etc. The content attribute may correspond to the type of product or the validity of the product, etc.
[0273] See Fig.10 In the filter item switching diagram shown, after a click operation on the drop-down control 16 is detected, a drop-down box control 17 is displayed, in which the current filter item is marked (e.g., marked with a check mark). When a click operation on any drop-down option 18 in the drop-down box control 17 is detected, the clicked drop-down option is switched to a new current filter item 4, and other product cards corresponding to the new current filter item 4 are displayed in the card display area 1.
[0274] The other product cards corresponding to the new current filter item may be the top product cards among the products corresponding to the filter attributes of the switched filter item. The product attributes of the products corresponding to the product cards correspond to the filter attributes of the default filter item. The default filter item may be an "unmanaged" filter item, indicating that all products under the filter item are not managed in the shopping cart.
[0275] It should be noted that the “unsorted” label can be set on the drop-down control 16, so that the drop-down control 16 can be used as a filter item in a summary form, and can be combined with other filter items (such as Fig.10 Accordingly, the filter item "Unsorted" can include product cards in all other filter items. It is worth noting that in filter items other than the filter item "Unsorted", there may be duplicate product cards. For example, product card A may exist in both the filter item "Same product" and the filter item "Added to purchase one year ago".
[0276] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, different filter items include an invalid product item, wherein the product card under the invalid product item corresponds to an invalid product in an invalid state. The product card of the invalid product is displayed separately from the product card of the non-invalid product. In the case where the product management operation is a repurchase operation for an invalid product, the response under the product repurchase operation is described in detail.
[0277] Among them, an invalid product may be a product that has been sold out or has been removed from the shelves. A non-invalid product may be a product that is normally on sale. When the product cards of invalid products and non-invalid products are displayed separately, the two may have different font colors, different transparencies, or different background colors, and this application does not impose any restrictions on this.
[0278] To facilitate understanding, the response process of the product re-purchase operation at the background processing level is first explained.
[0279] In an optional embodiment, in response to the commodity re-purchase operation, the commodity card corresponding to the newly purchased commodity is added to the corresponding commodity list, and the invalid commodity is deleted from the invalid commodity list.
[0280] For details, see Fig.11A The timing diagram of the commodity re-purchase operation shown includes:
[0281] S1110A, when the terminal detects that there is a commodity repurchase operation for an invalid commodity card, the terminal sends a commodity repurchase instruction to the server.
[0282] The commodity repurchase instruction carries identification information of the invalid commodity card.
[0283] S1120A, the server determines a product purchase page corresponding to the expired product according to the identification information in the product repurchase instruction.
[0284] S1130A, the terminal displays a product purchase add-on page, and upon detecting that there is a product purchase add-on operation, sends a product purchase add-on instruction to the server.
[0285] The product purchase add-on instruction carries identification information of the product to be purchased.
[0286] S1140A, the server determines the product to be added to the shopping cart according to the identification information in the product purchase instruction, adds the product to be added to the shopping cart list, and deletes the corresponding invalid product in the invalid product list.
[0287] Based on the above response process at the background processing level, the following describes the response process at the front-end display interface level in detail. Fig. 11B The steps for repurchasing the goods shown include: (backend response)
[0288] S1110B, in response to a product re-purchase operation on a currently displayed invalid product card in an invalid state, displaying an additional purchase page for the product corresponding to the invalid product card.
[0289] The invalid product card is a product card of an invalid product currently displayed. The product repurchase operation may be a click operation or a long press operation on the invalid product card, and this application does not impose any limitation on this.
[0290] The add-to-cart page is used to display the style information of the corresponding product, so that the user can select the style of the corresponding product and complete the re-purchase of the corresponding product. For example, the add-to-cart page displays the optional styles of the corresponding product, the sales status of each style, price information and the number of additional purchases, etc. The sold-out products are displayed separately from the unsold products, for example, the corresponding information of the sold-out products is displayed in gray.
[0291] S1120B: In response to a product purchase operation on the purchase page, the currently displayed first product card is switched to a second product card.
[0292] The second product card is a product card corresponding to the newly added product, or is a next product card covered by other product cards corresponding to the new current filter item. The first product card currently displayed may be an invalid product card in an invalid state.
[0293] Exemplarily, if it is detected that the product add-to-cart operation on the add-to-cart page has been completed, that is, at least one of the other styles of the product corresponding to the invalid product card has been selected by the user, the currently displayed first product card is switched to the product card corresponding to the newly added product, or switched to the next product card of the currently displayed product card in the product card corresponding to the filter attribute of the current filter item.
[0294] In an optional implementation, the invalid product card includes a product repurchase control; accordingly, the product repurchase operation is a touch operation on the product repurchase control. For example, the product repurchase operation may be a click operation on the product repurchase control. Further, when a click operation on the product repurchase control is detected, the add-to-purchase page for the product corresponding to the corresponding product card is displayed.
[0295] See also Fig. 11C In the schematic diagram of repurchasing a product, a repurchasing control 19 is provided on the invalid product card. When a touch operation on the repurchasing control 19 is detected, the shopping cart management interface is switched to the add-on purchase page of the product corresponding to the invalid product card. Further, when a click operation (i.e., an add-on purchase operation) on the unsold product style on the add-on purchase page is detected, the corresponding product is added to the shopping cart, and the currently displayed first product card is switched to the second product card, and at the same time, the add-on purchase page is switched to the shopping cart management interface.
[0296] It should be noted that after the currently displayed first product card is switched to the second product card, when the shopping cart management interface is entered next time, the quantity in the invalid product item is reduced by 1. Furthermore, the quantity of the unmanaged product is increased by 1.
[0297] Based on the technical solutions of the above embodiments, in order to facilitate users to understand the detailed information of the product corresponding to the product card in the shopping cart management interface, the present application also provides an optional embodiment. In this optional embodiment, the product management operation includes a product information viewing operation.
[0298] See also Fig. 12A The product management operation response steps shown include:
[0299] S1210: In response to the product information viewing operation, display a product details page of the product corresponding to the first product card.
[0300] Among them, the product information viewing operation can be a click operation on the first product card, or a long press operation on the first product card, and this application does not impose any limitation on this.
[0301] The product details page includes the second product description information of the product corresponding to the first product card. The second product description information is used to provide a detailed introduction to the product based on the first product description information of the corresponding product. Exemplarily, the second product description information includes the first product description information of the corresponding product, and at least one of the information such as the sold quantity, the attention quantity, the browsing quantity, and the added purchase quantity of the corresponding product.
[0302] It should be noted that when displaying the product details page, the product details page may occupy the entire terminal display interface, or may be displayed above the shopping cart management interface, covering part of the shopping cart management interface.
[0303] When the product details page covers part of the shopping cart management interface, in order to distinguish the shopping cart management interface from the product details page, the two can be displayed differently, for example, with different font colors, different transparencies, or different background colors.
[0304] In an optional implementation, the first product card includes a product viewing control, wherein the product viewing control can be set at any position of the first product card, illustratively, it can be set at the lower right corner of the first product card, or it can be set at the lower left corner of the first product card, and this application does not impose any limitation on this. Accordingly, the product information viewing operation includes a touch operation on the product viewing control. For example, it can be a click operation on the product viewing control.
[0305] For example, see Fig. 12B In the schematic diagram of viewing product information shown, the product viewing control 20 is set below the card display area 1. Further, when a click operation on the product viewing control 20 is detected, the product details page of the product corresponding to the first product card is displayed.
[0306] It should be noted that at least one product image of the corresponding product may be displayed in an overlapping manner on the product details page. When there are multiple product images, the product details page may display other product images of the product when a sliding operation on a product image is detected.
[0307] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0308] Based on the same inventive concept, the embodiment of the present application also provides a shopping cart management device for implementing the shopping cart management method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more shopping cart management device embodiments provided below can refer to the limitations of the shopping cart management method above, and will not be repeated here.
[0309] In an exemplary embodiment, Fig.13 As shown, a shopping cart management device is provided, including: an interface display module 1310 and a commodity management module 1320, wherein:
[0310] The interface display module 1310 is used to display a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product;
[0311] The commodity management module 1320 is used to manage commodities in the shopping cart based on commodity management operations performed on a plurality of stacked commodity cards.
[0312] In one embodiment, the product management module 1320 includes a first management unit for switching the display of a first product card to display other product cards among a plurality of stacked product cards in response to a product card switching operation; and a second management unit for displaying a product details page of the product corresponding to the first product card in response to a product information viewing operation; wherein the product details page includes second product description information of the product corresponding to the first product card.
[0313] In one embodiment, the product management operation includes at least one of the following operations: a product browsing operation, a product deleting operation, a product classifying operation, a canceling operation, a filtering item switching operation, and an information viewing operation.
[0314] In one embodiment, the first management unit includes a first display subunit, which is used to respond to a product browsing operation and control the first product card to slide in a target direction according to a gesture operation direction corresponding to the product browsing operation until the first product card moves out of the card display area of the shopping cart management interface, and during the sliding of the first product card, other product cards are displayed according to the sliding position of the first product card; wherein the target direction is determined according to the gesture operation direction corresponding to the product browsing operation; a second display subunit, which is used to respond to a product deletion operation, delete the first product card, and display other product cards; a third display subunit, which is used to respond to a product classification operation, control the first product card to move to a target position until the first product card moves out of the card display area of the shopping cart management interface, and during the movement of the first product card, other product cards are displayed according to the moving position of the first product card; wherein the target position is determined according to the operation position of the product classification operation.
[0315] In one embodiment, the first management unit further includes a card determination subunit, which is used to determine other product cards from two product cards adjacent to the first product card in stacking order according to the gesture operation direction of the product browsing operation.
[0316] In one embodiment, the first product card includes a product deletion control; accordingly, the product deletion operation is a touch operation on the product deletion control, or a sliding operation toward the product deletion control.
[0317] In one embodiment, if the product deletion operation is a sliding operation toward the product deletion control, the second display subunit is specifically used to control the movement of the first product card according to a preset trajectory until the first product card moves out of the card display area of the shopping cart management interface; during the movement of the first product card, other product cards are displayed according to the moving position of the first product card.
[0318] In one embodiment, the shopping cart management interface includes at least one product category control, and different product category controls correspond to different product lists; accordingly, the product category operation is a triggering operation on a target product category control in at least one product category control, or a sliding operation toward a target product category control.
[0319] In one embodiment, the first management unit further includes a card zooming subunit, which is used to zoom and display the first commodity card in a direction toward the target commodity category control.
[0320] In one embodiment, the third display subunit is specifically used to display areas of other product cards that are not covered by the first product card during zooming and displaying the first product card; when the zoom termination condition is met, the first product card is no longer displayed, and all other product cards are displayed.
[0321] In one embodiment, the card zoom subunit is specifically used to zoom and display the first product card based on a target zoom factor along a direction toward a target product category control; wherein the size of the target zoom factor is negatively correlated with the distance of the first product card from the target product category control; and / or, in the process of zooming and displaying the first product card, display the first product card based on a target transparency; wherein the target transparency is greater than the transparency of product cards other than the first product card among multiple stacked product cards.
[0322] In one embodiment, at least one product category control is displayed in a tiled manner in a label display area in the shopping cart management interface, and different product category labels are displayed on different product category controls.
[0323] In one embodiment, the third display subunit is also used to perform at least one of the following steps: in response to a category control expansion operation, displaying a hidden product category control in the label display area; in response to a position adjustment operation of the category control to be adjusted, adjusting the arrangement order of at least one product category control associated with the category control to be adjusted.
[0324] In one embodiment, the first management unit also includes an interface display subunit, which is used to display a tag adding interface in response to a tag adding operation in the shopping cart management interface; and a control display subunit, which is used to display a product category control corresponding to the added tag in the shopping cart management interface in response to a tag adding operation in the tag adding interface.
[0325] In one embodiment, the label adding interface includes a product image of at least one product in the shopping cart; the control display subunit includes at least one of the following subunits: a first control display subunit, which is used to, after detecting a selection operation on the displayed product image in the label adding interface, respond to the label adding operation in the label adding interface, and display a product classification control corresponding to the added label in the shopping cart management interface; a second control display subunit, which is used to, after detecting a selection operation on the displayed product image in the label adding interface, respond to the label adding operation in the label adding interface, add the selected product image to the list of products under the label to be added according to the selection operation on the displayed product image in the label adding interface, and display a product classification control corresponding to the added label in the shopping cart management interface; a third control display subunit, which is used to, in response to the label adding operation in the label adding interface, generate a label name according to the label name input operation on the label adding interface, and display the product classification control with the added label name in the shopping cart management interface.
[0326] In one embodiment, the shopping cart management interface includes a tag adding control; the tag adding operation includes a touch operation on the tag adding control.
[0327] In one embodiment, the shopping cart management interface includes a product undo control, and the undo operation includes a gesture operation on the product undo control; or, the first product card includes a product information viewing control, and the product information viewing operation includes a touch operation on the product viewing control; or, the shopping cart management interface includes a filter item switching control; the filter item switching operation includes a touch operation associated with the filter item switching control.
[0328] In one embodiment, the filter item switching control is a drop-down box control; the filter item is any drop-down option in the drop-down box control; the filter item switching operation is a selection operation on any drop-down option in the drop-down box control; different filter items correspond to different time attributes and / or content attributes of the filter attributes.
[0329] In one embodiment, different filtering items include invalid product items; the product card under the invalid product item corresponds to an invalid product in an invalid state; the first management unit also includes a purchase add-on page display subunit, which is used to display a purchase add-on page for the product corresponding to the invalid product card in response to a product re-purchase operation on the currently displayed invalid product card in an invalid state; a card switching subunit, which is used to switch the currently displayed first product card to a second product card in response to a product purchase add-on operation on the purchase add-on page; wherein the second product card is a product card corresponding to the newly purchased product, or is the next product card covered by other product cards.
[0330] In one embodiment, the interface display module 1310 is used to display at least one of the following information when displaying the shopping cart management interface: the number of stacked product cards, the stacking order of the first product card, the number of deleted product cards, the number of classified product cards, and the number of filtered product cards.
[0331] Each module in the above shopping cart management device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0332] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.14As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a shopping cart management method is implemented. Those skilled in the art can understand that Fig.14 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0333] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, any step in the above embodiment is implemented.
[0334] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above embodiment is implemented.
[0335] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any step in the above embodiments is implemented.
[0336] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0337] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0338] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A shopping cart management method, characterized in that: include: Displaying a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product; Based on the commodity management operation performed on the plurality of stacked commodity cards, management processing is performed on the commodities in the shopping cart.
2. The method according to claim 1, characterized in that The managing and processing of the commodities in the shopping cart based on the commodity management operation performed on the plurality of stacked commodity cards includes: In response to a product card switching operation, switching the display of the first product card to displaying other product cards among the plurality of stacked product cards; or, In response to the product information viewing operation, a product details page of the product corresponding to the first product card is displayed; wherein the product details page includes second product description information of the product corresponding to the first product card.
3. The method according to claim 1, characterized in that The commodity management operation includes at least one of the following operations: a commodity browsing operation, a commodity deleting operation, a commodity classifying operation, a canceling operation, a filtering item switching operation, and an information viewing operation.
4. The method according to claim 2, characterized in that The other commodity cards include at least one of the following: The product cards adjacent to the first product card in stacking order, the product card before switching display, and the product cards corresponding to the filtering attributes of each filtering item.
5. The method according to claim 2, characterized in that: In response to the commodity card switching operation, switching the display of the first commodity card to displaying other commodity cards among the plurality of stacked commodity cards includes: In response to a product browsing operation, according to a gesture operation direction corresponding to the product browsing operation, the first product card is controlled to slide in a target direction until the first product card moves out of a card display area of the shopping cart management interface, and during the sliding of the first product card, the other product cards are displayed according to the sliding position of the first product card; wherein the target direction is determined according to the gesture operation direction corresponding to the product browsing operation; In response to the product deletion operation, the first product card is deleted and the other product cards are displayed; In response to a product classification operation, the first product card is controlled to move to a target position until the first product card moves out of a card display area of the shopping cart management interface, and during the movement of the first product card, the other product cards are displayed according to the moving position of the first product card; wherein the target position is determined according to the operation position of the product classification operation.
6. The method according to claim 5, characterized in that The method further comprises: The other product cards are determined from two product cards adjacent to the first product card in a stacking order according to the gesture operation direction of the product browsing operation.
7. The method according to claim 5, characterized in that The first product card includes a product deletion control; accordingly, the product deletion operation is a touch operation on the product deletion control, or a sliding operation toward the product deletion control.
8. The method according to claim 7, characterized in that If the product deletion operation is a sliding operation toward the product deletion control, deleting the first product card and displaying the other product cards includes: Controlling the movement of the first product card according to a preset trajectory until the first product card moves out of a card display area of the shopping cart management interface; During the movement of the first commodity card, the other commodity cards are displayed according to the moving position of the first commodity card.
9. The method according to claim 5, characterized in that The shopping cart management interface includes at least one product category control, and different product category controls correspond to different product lists; accordingly, the product category operation is a triggering operation on a target product category control in the at least one product category control, or a sliding operation toward the target product category control.
10. The method according to claim 9, characterized in that The method further comprises: The first product card is displayed by zooming in a direction toward the target product category control.
11. The method according to claim 10, characterized in that The step of displaying the other product cards according to the moving position of the first product card during the movement of the first product card includes: During the process of zooming and displaying the first product card, displaying the area of the other product cards that is not covered by the first product card; When the zoom termination condition is met, the first product card is no longer displayed, and all the other product cards are displayed.
12. The method according to claim 11, characterized in that The zooming and displaying the first commodity card in a direction toward the target commodity category control includes: The first commodity card is displayed in a scaled manner based on a target scaling factor along a direction toward the target commodity classification control; wherein the magnitude of the target scaling factor is negatively correlated with the distance of the first commodity card from the target commodity classification control; and / or, In the process of zooming and displaying the first product card, the first product card is displayed based on a target transparency; wherein the target transparency is greater than the transparency of product cards other than the first product card among the plurality of stacked product cards.
13. The method according to claim 9, characterized in that The at least one commodity category control is displayed in a tiled manner in the label display area of the shopping cart management interface, and different commodity category labels are displayed on different commodity category controls.
14. The method according to claim 13, characterized in that The method further comprises at least one of the following: In response to a category control expansion operation, displaying a hidden commodity category control in the label display area; In response to the position adjustment operation on the category control to be adjusted, the arrangement order of at least one commodity category control associated with the category control to be adjusted is adjusted.
15. The method according to claim 9, characterized in that The method further comprises: In response to a tag adding operation in the shopping cart management interface, displaying a tag adding interface; In response to a tag adding operation in the tag adding interface, a commodity category control corresponding to the added tag is displayed in the shopping cart management interface.
16. The method according to claim 15, characterized in that The tag adding interface includes a product image of at least one product in the shopping cart; the displaying of a product classification control corresponding to the added tag in the shopping cart management interface in response to a tag adding operation in the tag adding interface includes at least one of the following: After the tag adding interface detects a selection operation on the displayed product image, in response to the tag adding operation on the tag adding interface, a product classification control corresponding to the added tag is displayed in the shopping cart management interface; After the tag adding interface detects a selection operation on the displayed product image, in response to the tag adding operation on the tag adding interface, according to the selection operation on the displayed product image on the tag adding interface, the selected product image is added to the list of products under the tag to be added, and a product classification control corresponding to the added tag is displayed in the shopping cart management interface; In response to a tag adding operation on the tag adding interface, a tag name is generated according to a tag name input operation on the tag adding interface, and a commodity classification control with the tag name added is displayed in the shopping cart management interface.
17. The method according to claim 15, characterized in that The shopping cart management interface includes a tag adding control; the tag adding operation includes a touch operation on the tag adding control.
18. The method according to claim 3, characterized in that: The shopping cart management interface includes a product cancellation control, and the cancellation operation includes a gesture operation on the product cancellation control; or, The first product card includes a product information viewing control, and the product information viewing operation includes a touch operation on the product viewing control; or, the shopping cart management interface includes a filter item switching control, and the filter item switching operation includes a touch operation associated with the filter item switching control.
19. The method according to claim 18, characterized in that The filter item switching control is a drop-down box control; the filter item is any drop-down option in the drop-down box control; the filter item switching operation is a selection operation on any drop-down option in the drop-down box control; different filter items correspond to different time attributes and / or content attributes of the filter attributes.
20. The method according to claim 19, characterized in that The different screening items include invalid product items; The product card under the invalid product item corresponds to the invalid product in the invalid state; the method further includes: In response to a product re-purchase operation on an invalid product card currently displayed in an invalid state, displaying a purchase page for the product corresponding to the invalid product card; In response to a product purchase operation on the purchase page, switching a currently displayed first product card to a second product card; The second product card is a product card corresponding to the newly purchased product, or is a next product card covered by other product cards.
21. The method according to any one of claims 1 to 20, characterized in that At least one of the following is also displayed in the shopping cart management interface: The number of stacked and displayed commodity cards, the stacking order of the first commodity cards, the number of deleted commodity cards, the number of classified commodity cards and the number of filtered commodity cards.
22. A shopping cart management device, characterized in that: The device comprises: An interface display module, used to display a shopping cart management interface; wherein the shopping cart management interface currently displays a first product card among a plurality of stacked product cards; wherein the product card corresponds to a product in the shopping cart; and the product card includes first product description information of the corresponding product; The commodity management module is used to manage and process the commodities in the shopping cart based on the commodity management operation performed on the plurality of stacked commodity cards.
23. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 21 are implemented.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 21 are implemented.
25. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 21 are implemented.
