E-Commerce Cart Code Testing via Shadow Session Cloning
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Applying coupon codes during the checkout process on e-commerce websites can cause delays due to the need for manual entry and testing, which disrupts the checkout process and may not allow for timely application of valid codes.
Innovation Solution
A system and method that monitor a shopping cart, clone it in a shadow session, and automatically test coupon codes in the background to determine valid codes, allowing for their automatic application without user intervention, enabling code testing at any time, including before adding items to the cart.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If codes are tested during the checkout process, then code validation can be performed, but the checkout process is delayed
Solution Approach 1:
The system performs code testing in advance during the shopping phase rather than during checkout. Cart listeners continuously monitor the shopping cart and automatically test applicable codes when items are added, so that by the time checkout is reached, the best codes are already identified and ready for application, eliminating checkout delays.
Solution Approach 2:
The system automatically tests and identifies applicable codes without requiring user intervention. The cart listeners autonomously monitor cart changes, retrieve and test codes, and determine the best applicable codes, freeing the user from manual code entry and testing while ensuring reliable code validation.
2Reliability
If codes are tested manually one at a time, then code validity can be determined, but the process becomes complex and time-consuming
Solution Approach 1:
The system automatically performs code testing without user intervention. Cart listeners continuously monitor the shopping cart and automatically retrieve, test, and evaluate multiple codes based on cart changes, eliminating the need for users to manually enter and test codes one at a time while ensuring accurate validity determination.
Solution Approach 2:
The cart listeners continuously monitor and test codes in real-time as items are added to the cart, rather than performing discrete manual tests. This continuous automated process efficiently evaluates multiple codes simultaneously and identifies the best applicable codes, reducing both complexity and time.
3Ease of operation
If code testing is performed at the checkout step, then codes can be applied, but the entire checkout process is delayed by the testing time
Solution Approach 1:
The system performs code testing and identification during the shopping phase before checkout begins. Cart listeners continuously test applicable codes as items are added to the cart, so that by the time the user reaches checkout, the best codes are already identified and can be applied immediately without delaying the checkout process.
4Extent of automation
If automatic code testing is implemented, then user intervention is reduced, but a shadow session and cloned cart are required
Solution Approach 1:
The system separates code testing operations from the user's main shopping session by creating a shadow session. This segmentation allows automatic code testing to occur in a separate cloned cart without interfering with the user's actual shopping experience, enabling high automation while managing complexity through isolation.
Solution Approach 2:
The system creates a cloned shopping cart in a shadow session to perform automatic code testing. This copy allows the system to test codes and evaluate results without affecting the user's actual cart or shopping experience, enabling automatic testing while maintaining system simplicity through non-intrusive duplication.
Data Source
AI summary
Disclosed are methods, systems, and non-transitory computer-readable medium for testing and applying codes to electronic shopping carts. For instance, the method may include monitoring a shopping cart associated with an e-commerce website and with a user; in response to detecting a change to the shopping cart, testing codes with respect to a present content of the shopping cart to determine valid codes; selecting at least one of the valid codes; determining a status of the session; and performing an action based on the status and the at least one selected code. The testing the codes with respect to the present content of the shopping cart may include: cloning the shopping cart to form a cloned shopping cart in a shadow session; and/or obtaining the codes; and testing the codes on the cloned shopping cart in the shadow session to determine the valid codes.


