Shopping cart adding method and device
By responding to users' product selection operations on the e-commerce platform, displaying the attribute interface and turning on the multi-select mode, the selection and addition process of products of different attributes is simplified, the user's cumbersome operation problems are solved, and the shopping experience and efficiency are improved. It is especially suitable for A cost-effective product.
Patent Information
- Application Number
- CN202310631864.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2024-12-03
AI Technical Summary
In e-commerce platforms, when users need to purchase products with different attributes, they need to frequently switch interfaces to select attributes, resulting in cumbersome operations, affecting user experience and shopping loss.
Provide a shopping cart addition method and device, which displays the attribute interface and enables multiple selection mode in response to user selection of products, allows users to continuously select and add product information of different attributes, simplifies the shopping cart addition process, and jumps directly during settlement. Go to the payment interface.
It simplifies the process of users purchasing diversified products on e-commerce platforms, reduces the number of interface switching times, improves user experience and shopping efficiency, especially for products with higher cost performance, and increases the willingness to purchase.
Smart Images

Figure CN119067737A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the fields of computer technology and Internet technology, and in particular, to a method and device for adding items to a shopping cart. Background Art
[0002] With the continuous advancement of technology, there are currently two common ways to add shopping carts on e-commerce platforms: go to the product details page and add a shopping cart; or, add a shopping cart on the store's product list interface.
[0003] On the product details page, if the product is relatively simple and has no attributes such as color, version, model, etc. to distinguish it, the user can directly click the Add to Cart button to add the product without any interface jumps, and can add products continuously. However, when the product has multiple attributes such as color and model to distinguish it, the user needs to confirm the attributes of the product before clicking the Add to Cart button to add the product. At the same time, the interface will jump to prompt that the addition is successful.
[0004] In this case, there is a problem. If the user needs to purchase two products with different attributes, he needs to close the redirected interface and enter the attribute selection interface again to confirm the product attributes, which will cause the user to repeat tedious operations, resulting in loss of customer flow and poor user experience. Summary of the invention
[0005] Embodiments of the present disclosure provide a shopping cart adding method, device, electronic device, and computer-readable medium.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for adding to a shopping cart, the method comprising: in response to receiving a selection operation of a target product by a current user, presenting a first attribute interface of the target product to the current user, wherein the first attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control in an unselected state; in response to receiving a selection operation of the multiple-selection control by the current user, starting a multiple-selection mode of attributes of the target product; in the multiple-selection mode of attributes of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, adding the target attribute information corresponding to the selection operation to the shopping cart interface; presenting a second attribute interface of the target product and addition prompt information corresponding to the selection operation to the current user, so as to continue to receive new selection operations of the current user on multiple candidate attribute information in the second attribute interface, and adding the target attribute information corresponding to the new selection operation to the shopping cart interface, wherein the second attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control in a selected state.
[0007] In some embodiments, the second attribute interface also includes a settlement control; and the method also includes: in response to receiving a selection operation of the settlement control by the current user, presenting a shopping cart interface; in response to receiving a settlement operation of the target product in the shopping cart interface by the current user, presenting a payment interface for the target product; in response to receiving a payment operation of the current user in the payment interface, generating and presenting payment prompt information.
[0008] In some embodiments, the method also includes: obtaining the statistical number of selection operations of the current user on multiple candidate attribute information; in response to determining that the statistical number exceeds a preset number, presenting a shopping cart interface; in response to receiving the current user's settlement operation on the target product in the shopping cart interface, presenting the payment interface of the target product; in response to receiving the current user's payment operation in the payment interface, generating and presenting payment prompt information.
[0009] In some embodiments, the method also includes: obtaining the display status of a multiple-selection control; in response to determining that the display status of the multiple-selection control is an unselected state, turning on a single-selection mode for the attributes of the target product; in response to receiving a selection operation of the current user on multiple candidate attribute information, adding the target attribute information corresponding to the selection operation to the shopping cart interface; and presenting to the current user the addition prompt information corresponding to the selection operation and a recommendation interface associated with the target product.
[0010] In a second aspect, an embodiment of the present disclosure provides a shopping cart adding device, which includes: a presentation module, configured to present a first attribute interface of the target product to the current user in response to receiving a selection operation of the current user on the target product, wherein the first attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control in an unselected state; an opening module, configured to open the attribute multiple-selection mode of the target product in response to receiving a selection operation of the current user on the multiple-selection control; an adding module, configured to add the target attribute information corresponding to the selection operation to the shopping cart interface in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface in the attribute multiple-selection mode of the target product; the presentation module, further configured to present a second attribute interface of the target product and addition prompt information corresponding to the selection operation to the current user, so as to continue to receive new selection operations of the current user on multiple candidate attribute information in the second attribute interface, and add the target attribute information corresponding to the new selection operation to the shopping cart interface, wherein the second attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control in a selected state.
[0011] In some embodiments, the second attribute interface also includes a settlement control; and the presentation module is further configured to: in response to receiving a selection operation of the settlement control by the current user, present a shopping cart interface; in response to receiving a settlement operation of the target product in the shopping cart interface by the current user, present a payment interface for the target product; in response to receiving a payment operation of the current user in the payment interface, generate and present payment prompt information.
[0012] In some embodiments, the device also includes an acquisition module; the acquisition module is configured to: obtain the statistical number of selection operations of the current user on multiple candidate attribute information; the presentation module is further configured to: in response to determining that the statistical number exceeds a preset number, present a shopping cart interface; in response to receiving the current user's settlement operation on the target product in the shopping cart interface, present a payment interface for the target product; in response to receiving the current user's payment operation in the payment interface, generate and present payment prompt information.
[0013] In some embodiments, the device also includes an acquisition module; the acquisition module is configured to: acquire the display status of the multiple-selection control; the opening module is further configured to: in response to determining that the display status of the multiple-selection control is unselected, turn on the single-selection mode of the attribute of the target product; the adding module is further configured to: in response to receiving the current user's selection operation on multiple candidate attribute information, add the target attribute information corresponding to the selection operation to the shopping cart interface; the presentation module is further configured to: present the addition prompt information corresponding to the selection operation and the recommendation interface associated with the target product to the current user.
[0014] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by one or more processors, the one or more processors implement the shopping cart adding method described in any embodiment of the first aspect.
[0015] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the shopping cart adding method as described in any embodiment of the first aspect.
[0016] The shopping cart adding method provided by the embodiment of the present disclosure, the above-mentioned execution subject first responds to receiving the current user's selection operation on the target product, presents the current user with a first attribute interface of the target product, the first attribute interface includes multiple candidate attribute information of the target product and a multi-select control presenting an unselected state, and then responds to receiving the current user's selection operation on the multi-select control, starts the attribute multi-select mode of the target product, in the attribute multi-select mode of the target product, responds to receiving the current user's selection operation on multiple candidate attribute information in the first attribute interface, adds the target attribute information corresponding to the selection operation to the shopping cart interface, and presents the current user with a second attribute interface of the target product and the adding prompt information corresponding to the selection operation, so as to continue to receive the current user's selection operation on the second attribute interface A new selection operation for multiple candidate attribute information is performed on the interface, and the target attribute information corresponding to the new selection operation is added to the shopping cart interface. The second attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control that presents a selected state. The multiple-selection control is pre-set in the attribute information selection interface of the target product. After the user selects the multiple-selection control, the attribute multiple-selection mode can be turned on for the target product. The user can receive repeated multiple-selection operations on the attribute information of the target product, and the same operation interface can be implemented for the same target product. The user can continuously add the same product with different attribute information to the shopping cart, and the link of adding to the shopping cart is significantly shortened. Therefore, the diversity of products at the time of checkout will also stimulate the user's desire to buy and stimulate consumption, especially for products with high cost performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0018] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
[0019] Figure 2 is a flow chart of an embodiment of a method for adding to a shopping cart according to the present disclosure;
[0020] Figure 3 is a flow chart of another embodiment of a method for adding to a shopping cart according to the present disclosure;
[0021] Figure 4 is a flowchart of another embodiment of a shopping cart adding method according to the present disclosure;
[0022] Figure 5 is a structural schematic diagram of an embodiment of a shopping cart adding device according to the present disclosure;
[0023] Figure 6 It is a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION
[0024] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant disclosure, rather than to limit the disclosure. It is also necessary to explain that, for ease of description, only the parts related to the relevant disclosure are shown in the accompanying drawings.
[0025] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0026] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of a method or apparatus for adding to a shopping cart of the present application can be applied.
[0027] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0028] The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc. The terminal devices 101, 102, 103 can be user terminal devices, on which various client applications can be installed, such as e-commerce platform applications, image applications, video applications, search applications, financial applications, etc.
[0029] The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting receiving server messages, including but not limited to smart phones, tablet computers, e-book readers, electronic players, laptop computers, desktop computers, and the like.
[0030] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, multiple software modules for providing distributed services), or they can be implemented as a single software or software module. No specific limitation is made here.
[0031] Terminal devices 101, 102, and 103 can receive a selection operation of a target product by the current user, and present a first attribute interface of the target product to the current user, the first attribute interface including multiple candidate attribute information of the target product and a multiple-selection control in an unselected state, and then in response to receiving a selection operation of the multiple-selection control by the current user, start the attribute multiple-selection mode of the target product. In the attribute multiple-selection mode of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, add the target attribute information corresponding to the selection operation to the shopping cart interface, and present a second attribute interface of the target product and addition prompt information corresponding to the selection operation to the current user, so as to continue to receive new selection operations of the current user on multiple candidate attribute information in the second attribute interface, add the target attribute information corresponding to the new selection operation to the shopping cart interface, the second attribute interface including multiple candidate attribute information of the target product and a multiple-selection control in a selected state.
[0032] The server 105 may be a server providing various services, such as a backend server that receives a request sent by a terminal device that establishes a communication connection with the server 105. The backend server may receive and analyze the request sent by the terminal device and generate a processing result.
[0033] It should be noted that the server can be hardware or software. When the server is hardware, it can be various electronic devices that provide various services to the terminal device. When the server is software, it can be implemented as multiple software or software modules that provide various services to the terminal device, or it can be implemented as a single software or software module that provides various services to the terminal device. No specific limitation is made here.
[0034] It should be noted that the shopping cart adding method provided in the embodiment of the present disclosure can be executed by the terminal devices 101 , 102 , 103 , and accordingly, the shopping cart adding device can be set in the terminal devices 101 , 102 , 103 .
[0035] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0036] refer to Figure 2 , a flowchart 200 of an embodiment of a method for adding to a shopping cart according to the present disclosure is shown. The method for adding to a shopping cart comprises the following steps:
[0037] Step 210 , in response to receiving a selection operation of the current user on the target product, presenting a first attribute interface of the target product to the current user.
[0038] In this step, the execution entity on which the shopping cart add method runs (for example Figure 1 The terminal devices 101, 102, 103) in the example can display a variety of candidate commodities to the user through the screen according to the current search conditions of the user.
[0039] The current user can select from a variety of candidate products and perform a selection operation on a target product.
[0040] The above-mentioned execution entity can receive the current user's selection operation on the target product, and obtain the first attribute interface corresponding to the target product. The first attribute interface can include multiple candidate attribute information of the target product and a multi-select control presenting an unselected state, wherein the multi-select control can indicate whether the target product has enabled the attribute multi-select mode. When presented for the first time, the multi-select control can be displayed in an unselected state. The display state of the multi-select control can be presented in different display colors. For example, the unselected state can be presented in gray, and the selected state can be presented in green.
[0041] Step 220 , in response to receiving a selection operation of the current user on the multi-select control, opening a multi-select mode for attributes of the target product.
[0042] In this step, after the execution subject presents the first attribute interface of the target product to the current user, the current user can select the multiple-selection control in the first attribute interface. Thus, after the execution subject receives the selection operation of the multiple-selection control by the current user, it is determined that the current user has the intention to add multiple products to the target product, and then the attribute multiple-selection mode of the target product is turned on, and the attribute multiple-selection mode can indicate that the current user can repeatedly select the attribute information of the target product.
[0043] Step 230 , in the attribute multiple selection mode of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, adding the target attribute information corresponding to the selection operation to the shopping cart interface.
[0044] In this step, in the multiple selection mode of the attributes of the target product, the above-mentioned execution entity can receive the current user's selection operation on multiple candidate attribute information in the first attribute interface, and determine the target attribute information corresponding to the selection operation, and then the above-mentioned execution entity can add the product corresponding to the target attribute information to the shopping cart interface.
[0045] Step 240, presenting the second attribute interface of the target product and the adding prompt information corresponding to the selection operation to the current user, so as to continue to receive the current user's new selection operation on multiple candidate attribute information in the second attribute interface, and add the target attribute information corresponding to the new selection operation to the shopping cart interface.
[0046] In this step, after the above-mentioned execution entity adds the target attribute information corresponding to the selection operation to the shopping cart interface, it can obtain the second attribute interface corresponding to the target product, which can include multiple candidate attribute information of the target product and a multi-select control showing a selected state, and generate addition prompt information corresponding to the selection operation, which indicates that the product corresponding to the selection operation has been added to the shopping cart.
[0047] The execution subject may present the second attribute interface of the target product and the additional prompt information corresponding to the selection operation to the current user through the screen, so that the current user can continue to select from a plurality of candidate attribute information in the second attribute interface.
[0048] Thus, the above-mentioned execution entity can continue to receive the current user's new selection operations on multiple candidate attribute information in the second attribute interface, and add the target attribute information corresponding to the new selection operation to the shopping cart interface. In addition, the above-mentioned execution entity can also present the second attribute interface of the target product and the addition prompt information corresponding to the new selection operation to the current user.
[0049] The shopping cart adding method provided by the embodiment of the present disclosure, the above-mentioned execution subject first responds to receiving the current user's selection operation on the target product, presents the current user with a first attribute interface of the target product, the first attribute interface includes multiple candidate attribute information of the target product and a multi-select control presenting an unselected state, and then responds to receiving the current user's selection operation on the multi-select control, starts the attribute multi-select mode of the target product, in the attribute multi-select mode of the target product, responds to receiving the current user's selection operation on multiple candidate attribute information in the first attribute interface, adds the target attribute information corresponding to the selection operation to the shopping cart interface, and presents the current user with a second attribute interface of the target product and the adding prompt information corresponding to the selection operation, so as to continue to receive the current user's selection operation on the second attribute interface A new selection operation for multiple candidate attribute information is performed on the interface, and the target attribute information corresponding to the new selection operation is added to the shopping cart interface. The second attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control that presents a selected state. The multiple-selection control is pre-set in the attribute information selection interface of the target product. After the user selects the multiple-selection control, the attribute multiple-selection mode can be turned on for the target product. The user can receive repeated multiple-selection operations on the attribute information of the target product, and the same operation interface can be implemented for the same target product. The user can continuously add the same product with different attribute information to the shopping cart, and the link of adding to the shopping cart is significantly shortened. Therefore, the diversity of products at the time of checkout will also stimulate the user's desire to buy and stimulate consumption, especially for products with high cost performance.
[0050] As an optional implementation, the second attribute interface further includes a settlement control; and the shopping cart adding method may further include the following steps:
[0051] The first step is to present a shopping cart interface in response to receiving a selection operation of a settlement control by the current user.
[0052] Specifically, when presenting the second attribute interface to the current user, the execution subject may receive a selection operation of the current user on a settlement control in the second attribute interface, and determine that the current user has a willingness to purchase and pay for the items in the shopping cart. After receiving the selection operation of the settlement control by the current user, the execution subject may present a shopping cart interface to the current user, and display the items that have been added to the shopping cart to the current user.
[0053] In the second step, in response to receiving a settlement operation of the current user on the target product in the shopping cart interface, a payment interface for the target product is presented.
[0054] Specifically, after presenting the shopping cart interface to the current user, the execution entity may receive a settlement operation of the current user on the target product in the shopping cart interface, generate a payment interface corresponding to the target product, and present the payment interface to the current user.
[0055] The second step is to generate and present payment prompt information in response to receiving the payment operation of the current user in the payment interface.
[0056] Specifically, after the execution entity presents the payment interface of the target product to the current user, it can receive the payment operation of the current user in the payment interface and generate payment prompt information corresponding to the payment operation, and the payment prompt information can indicate that the current user has successfully paid for the target product. The execution entity can present the generated payment prompt information to the current user.
[0057] In this implementation, by setting a settlement control in the second attribute interface, the attribute selection interface can be directly jumped to the shopping cart interface, shortening the jump link, improving user settlement efficiency, and improving user experience.
[0058] See also Figure 3 , Figure 3 A flowchart 300 is shown of another embodiment of a method for adding to a shopping cart. The method for adding to a shopping cart may include the following steps:
[0059] Step 310 : in response to receiving a selection operation of the current user on the target product, presenting a first attribute interface of the target product to the current user.
[0060] In this step, step 310 and Figure 2 Step 210 in the illustrated embodiment is the same and will not be described in detail here.
[0061] Step 320 , in response to receiving a selection operation of the current user on the multi-select control, opening a multi-select mode for the attributes of the target product.
[0062] In this step, step 320 and Figure 2 Step 220 in the illustrated embodiment is the same and will not be described in detail here.
[0063] Step 330 , in the attribute multiple selection mode of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, adding the target attribute information corresponding to the selection operation to the shopping cart interface.
[0064] In this step, step 330 and Figure 2 Step 230 in the illustrated embodiment is the same and will not be described in detail here.
[0065] Step 340, presenting the second attribute interface of the target product and the adding prompt information corresponding to the selection operation to the current user, so as to continue to receive the current user's new selection operation on multiple candidate attribute information in the second attribute interface, and add the target attribute information corresponding to the new selection operation to the shopping cart interface.
[0066] In this step, step 340 and Figure 2 Step 240 in the illustrated embodiment is the same and will not be described in detail here.
[0067] Step 350: Obtain the statistical number of selection operations of the current user on multiple candidate attribute information.
[0068] In this step, after the above-mentioned execution entity turns on the multiple selection mode of the attributes of the target product, it can receive the current user's repeated selections of multiple attribute information of the target product. The above-mentioned execution entity can count the number of selection operations of the current user while adding to the shopping cart, and obtain the statistical number of selection operations of the current user on multiple candidate attribute information.
[0069] Step 360: In response to determining that the statistical number exceeds the preset number, presenting a shopping cart interface.
[0070] In this step, after the above-mentioned execution entity obtains the statistical number of selection operations of the current user on multiple candidate attribute information, it can judge the statistical number to determine whether the statistical number exceeds the preset number. The preset number can be a threshold pre-set by the staff based on experience or terminal computing resources, which can represent the maximum number of times the target product can be repeatedly added to the shopping cart, etc. The preset number can be 5, 6, etc.
[0071] The above-mentioned execution subject can directly jump from the second attribute interface to the shopping cart interface after determining that the statistical number exceeds the preset number, that is, present the shopping cart interface to the current user through the screen.
[0072] Step 370, in response to receiving a settlement operation of the current user on the target product in the shopping cart interface, presenting a payment interface for the target product.
[0073] In this step, after the execution entity presents the shopping cart interface to the current user, it can receive the current user's settlement operation on the target product in the shopping cart interface, generate a payment interface corresponding to the target product, and present the payment interface to the current user.
[0074] Step 380, in response to receiving a payment operation of the current user in the payment interface, generating and presenting payment prompt information.
[0075] In this step, after the execution subject presents the payment interface of the target product to the current user, it can receive the payment operation of the current user in the payment interface and generate payment prompt information corresponding to the payment operation, which can indicate that the current user has successfully paid for the target product. The execution subject can present the generated payment prompt information to the current user.
[0076] In this embodiment, by counting the number of selection operations of the current user and using the statistical number of selection operations of the current user on multiple candidate attribute information to determine whether to jump from the second attribute interface to the shopping cart interface, the flexibility of adding to the shopping cart can be improved, and the attribute selection interface can be directly jumped to the shopping cart interface, shortening the jump link, improving user settlement efficiency, and improving user experience.
[0077] refer to Figure 4 , Figure 4 A flowchart 400 of another embodiment of a method for adding to a shopping cart is shown. The method for adding to a shopping cart may include the following steps:
[0078] Step 410 , in response to receiving a selection operation of the current user on the target product, presenting a first attribute interface of the target product to the current user.
[0079] In this step, step 410 and Figure 2 Step 210 in the illustrated embodiment is the same and will not be described in detail here.
[0080] Step 420, obtaining the display status of the multi-select control.
[0081] In this step, the execution subject may perform a state detection on the multi-select control to obtain a display state of the multi-select control, and the display state may include an unselected state and a selected state.
[0082] Step 430 , in response to determining that the display state of the multi-select control is an unselected state, enabling a single-select mode for the attribute of the target product.
[0083] In this step, the above-mentioned execution entity determines through detection that the display state of the multi-select control is unselected, and can determine that the current user has no intention of adding multiple products for the target product. Then, the single-select mode of the attribute of the target product can be turned on. This single-select mode of the attribute can represent the current user's single selection of the attribute information of the target product.
[0084] Step 440 , in response to receiving a selection operation of the current user on multiple candidate attribute information, adding the target attribute information corresponding to the selection operation to the shopping cart interface.
[0085] In this step, the current user can select multiple candidate attribute information in the first attribute interface. After the above-mentioned execution entity receives the current user's selection operation on multiple candidate attribute information, it can determine the target attribute information corresponding to the selection operation, and then add the product corresponding to the target attribute information to the shopping cart interface.
[0086] Step 450: Presenting the adding prompt information corresponding to the selection operation and the recommendation interface associated with the target product to the current user.
[0087] In this step, after the execution subject adds the target attribute information corresponding to the selection operation to the shopping cart interface, it can generate the addition prompt information corresponding to the selection operation, and the addition prompt information indicates that the product corresponding to the selection operation has been added to the shopping cart. The execution subject can also obtain the recommendation interface associated with the target product, and the recommendation interface can include other candidate products associated with the target product.
[0088] The execution subject may present the adding prompt information corresponding to the selection operation and the recommendation interface associated with the target product to the current user through the screen.
[0089] In this embodiment, the selection mode of the target product is determined by judging the display state of the multi-select control. In the attribute single-select mode, only a single selection operation of the current user is received, and the addition prompt information and the recommendation interface associated with the target product are directly presented. Different modes can be selected according to the current user needs, thereby improving the flexibility of adding to the shopping cart.
[0090] refer to Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a shopping cart adding device. Figure 2 The method embodiments shown correspond.
[0091] like Figure 5 As shown, the shopping cart adding device 500 of this embodiment may include: a presenting module 510 , an opening module 520 and an adding module 530 .
[0092] The presenting module 510 is configured to present a first attribute interface of the target product to the current user in response to receiving a selection operation of the target product by the current user, wherein the first attribute interface includes multiple candidate attribute information of the target product and a multi-select control presenting an unselected state;
[0093] The opening module 520 is configured to, in response to receiving a selection operation of the current user on the multi-select control, open a multi-select mode for the attributes of the target product;
[0094] The adding module 530 is configured to, in the attribute multiple selection mode of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, add the target attribute information corresponding to the selection operation to the shopping cart interface;
[0095] The presentation module 510 is further configured to present the second attribute interface of the target product and the adding prompt information corresponding to the selection operation to the current user, so as to continue to receive the current user's new selection operation on multiple candidate attribute information in the second attribute interface, and add the target attribute information corresponding to the new selection operation to the shopping cart interface, wherein the second attribute interface includes multiple candidate attribute information of the target product and a multi-select control presenting a selected state.
[0096] In some optional implementations of the present embodiment, the second attribute interface also includes a settlement control; and the presentation module 510 is further configured to: in response to receiving a selection operation of the settlement control by the current user, present a shopping cart interface; in response to receiving a settlement operation of the target product in the shopping cart interface by the current user, present a payment interface for the target product; in response to receiving a payment operation of the current user in the payment interface, generate and present payment prompt information.
[0097] In some optional implementations of the present embodiment, the device also includes an acquisition module; the acquisition module is configured to: obtain the statistical number of selection operations of the current user on multiple candidate attribute information; the presentation module 510 is further configured to: in response to determining that the statistical number exceeds a preset number, present a shopping cart interface; in response to receiving the current user's settlement operation on the target product in the shopping cart interface, present the payment interface of the target product; in response to receiving the current user's payment operation in the payment interface, generate and present payment prompt information.
[0098] In some optional implementations of the present embodiment, the device also includes an acquisition module; the acquisition module is configured to: acquire the display status of the multiple-selection control; the opening module 520 is further configured to: in response to determining that the display status of the multiple-selection control is unselected, turn on the single-selection mode of the attribute of the target product; the adding module 530 is further configured to: in response to receiving the current user's selection operation on multiple candidate attribute information, add the target attribute information corresponding to the selection operation to the shopping cart interface; the presentation module 510 is further configured to: present the addition prompt information corresponding to the selection operation and the recommendation interface associated with the target product to the current user.
[0099] The shopping cart adding device provided by the above-mentioned embodiment of the present disclosure, the above-mentioned execution body first responds to receiving the current user's selection operation on the target product, presents the current user with a first attribute interface of the target product, the first attribute interface includes multiple candidate attribute information of the target product and a multi-select control presenting an unselected state, and then responds to receiving the current user's selection operation on the multi-select control, turns on the attribute multi-select mode of the target product, in the attribute multi-select mode of the target product, responds to receiving the current user's selection operation on multiple candidate attribute information in the first attribute interface, adds the target attribute information corresponding to the selection operation to the shopping cart interface, and presents the current user with a second attribute interface of the target product and the adding prompt information corresponding to the selection operation, so as to continue to receive the current user's selection operation on the second attribute A new selection operation for multiple candidate attribute information in the interface, adds the target attribute information corresponding to the new selection operation to the shopping cart interface, the second attribute interface includes multiple candidate attribute information of the target product and a multi-select control showing a selected state, and pre-sets the multi-select control in the attribute information selection interface of the target product. After the user selects the multi-select control, the attribute multi-select mode can be turned on for the target product, and the user can receive repeated multi-select operations on the attribute information of the target product. The same operation interface can be implemented for the same target product, and the user can continuously add the same product with different attribute information to the shopping cart. The link of adding to the shopping cart is significantly shortened, so that the diversity of products at checkout will also stimulate users to want to buy and stimulate consumption, especially for products with high cost performance.
[0100] Those skilled in the art will appreciate that the above-mentioned device also includes some other well-known structures, such as a processor, a memory, etc. In order to unnecessarily obscure the embodiments of the present disclosure, these well-known structures are described in detail. Figure 5 Not shown in FIG.
[0101] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0102] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as smart screens, notebook computers, PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0103] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0104] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0105] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium of the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device. In an embodiment of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus, or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
[0106] Computer program code for performing the operations of the embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).
[0107] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0108] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a presentation module, an opening module and an adding module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases.
[0109] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device; or may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: in response to receiving a selection operation of the current user on the target product, presents the first attribute interface of the target product to the current user, wherein the first attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control in an unselected state; in response to receiving a selection operation of the current user on the multiple-selection control, turns on the attribute multiple-selection mode of the target product; in the attribute multiple-selection mode of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, adds the target attribute information corresponding to the selection operation to the shopping cart interface; presents the second attribute interface of the target product and the adding prompt information corresponding to the selection operation to the current user, so as to continue to receive the current user's new selection operation on multiple candidate attribute information in the second attribute interface, and adds the target attribute information corresponding to the new selection operation to the shopping cart interface, wherein the second attribute interface includes multiple candidate attribute information of the target product and a multiple-selection control in a selected state.
[0110] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.
Claims
1. A method for adding items to a shopping cart, the method comprising: In response to receiving a selection operation of a target product by a current user, presenting a first attribute interface of the target product to the current user, wherein the first attribute interface includes a plurality of candidate attribute information of the target product and a multi-select control in an unselected state; In response to receiving a selection operation of the multi-select control by the current user, opening a multi-select mode for attributes of the target product; In the attribute multiple selection mode of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, adding the target attribute information corresponding to the selection operation to the shopping cart interface; A second attribute interface of the target product and adding prompt information corresponding to the selection operation are presented to the current user to continue receiving new selection operations of the current user on multiple candidate attribute information in the second attribute interface, and the target attribute information corresponding to the new selection operation is added to the shopping cart interface, wherein the second attribute interface includes multiple candidate attribute information of the target product and a multi-select control presenting a selected state.
2. The method according to claim 1, wherein: The second attribute interface further includes a settlement control; and the method further includes: In response to receiving a selection operation of the settlement control by the current user, presenting the shopping cart interface; In response to receiving a settlement operation of the current user on the target product in the shopping cart interface, presenting a payment interface for the target product; In response to receiving a payment operation of the current user in the payment interface, payment prompt information is generated and presented.
3. The method according to claim 1, further comprising: Obtaining a statistical number of selection operations of the current user on the plurality of candidate attribute information; In response to determining that the statistical number exceeds a preset number, presenting the shopping cart interface; In response to receiving a settlement operation of the current user on the target product in the shopping cart interface, presenting a payment interface for the target product; In response to receiving a payment operation of the current user in the payment interface, payment prompt information is generated and presented.
4. The method according to claim 1, further comprising: Get the display status of the multi-select control; In response to determining that the display state of the multi-select control is an unselected state, opening a single-select mode for the attribute of the target product; In response to receiving a selection operation of the current user on the plurality of candidate attribute information, adding target attribute information corresponding to the selection operation to a shopping cart interface; The adding prompt information corresponding to the selection operation and the recommendation interface associated with the target product are presented to the current user.
5. A shopping cart adding device, the device comprising: a presentation module configured to present a first attribute interface of the target product to the current user in response to receiving a selection operation of the target product by the current user, wherein the first attribute interface includes a plurality of candidate attribute information of the target product and a multi-select control presenting an unselected state; an enabling module, configured to enable a multiple-selection mode of attributes of the target product in response to receiving a selection operation of the multiple-selection control by the current user; An adding module is configured to, in the attribute multiple selection mode of the target product, in response to receiving a selection operation of the current user on multiple candidate attribute information in the first attribute interface, add the target attribute information corresponding to the selection operation to the shopping cart interface; The presentation module is further configured to present a second attribute interface of the target product and the adding prompt information corresponding to the selection operation to the current user, so as to continue to receive new selection operations of the current user on multiple candidate attribute information in the second attribute interface, and add the target attribute information corresponding to the new selection operation to the shopping cart interface, wherein the second attribute interface includes multiple candidate attribute information of the target product and a multi-select control presenting a selected state.
6. The device according to claim 5, wherein: The second attribute interface also includes a settlement control; and the presentation module is further configured to: In response to receiving a selection operation of the settlement control by the current user, presenting the shopping cart interface; In response to receiving a settlement operation of the current user on the target product in the shopping cart interface, presenting a payment interface for the target product; In response to receiving a payment operation of the current user in the payment interface, payment prompt information is generated and presented.
7. The device according to claim 5, further comprising an acquisition module; The acquisition module is configured to: acquire the statistical number of selection operations of the current user on the plurality of candidate attribute information; The presentation module is further configured to: present the shopping cart interface in response to determining that the statistical number of times exceeds a preset number of times; present the payment interface of the target product in response to receiving a settlement operation of the current user on the target product in the shopping cart interface; generate and present payment prompt information in response to receiving a payment operation of the current user in the payment interface.
8. The device according to claim 5, further comprising an acquisition module; The acquisition module is configured to: acquire the display status of the multi-select control; The opening module is further configured to: in response to determining that the display state of the multi-select control is an unselected state, open the single-select mode of the attribute of the target product; The adding module is further configured to: in response to receiving a selection operation of the current user on the plurality of candidate attribute information, add the target attribute information corresponding to the selection operation to the shopping cart interface; The presentation module is further configured to present the adding prompt information corresponding to the selection operation and a recommendation interface associated with the target product to the current user.
9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 4.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
